code: func (document *Document) GetPartPageRectangles() []image.Rectangle {
  	var rectangles []image.Rectangle
  	rawRectangles := C.GoString(C.get_part_page_rectangles(document.handle))
  	pageRectangles := strings.Split(rawRectangles, ";")
  	for _, points := range pageRectangles {
  		var intPoints []int
  		strPoints := strings.Split(points, ",")
  		for _, point := range strPoints {
  			point = strings.Trim(point, " ")
  			i, _ := strconv.Atoi(point)
  			intPoints = append(intPoints, i)
  		}
  		x0, y0 := intPoints[0], intPoints[1]
  		x1, y1 := x0+intPoints[2], y0+intPoints[3]
  		rectangles = append(rectangles, image.Rect(x0, y0, x1, y1))
  	}
  	return rectangles
  }
docs: // GetPartPageRectangles array of image.Rectangle, with actually TextDocument page
  // rectangles. Useful, when rendering text document page-by-page.