| Name | Description |
![Method](template/packages/core-java/images/Method.png) | customPaperSize | Sets the custom paper size, in unit of inches. |
![Method](template/packages/core-java/images/Method.png) | fromJson | Generate the page setup from the json. |
![Method](template/packages/core-java/images/Method.png) | getAlignMarginsHeaderFooter | Gets True to align the header and the footer with the margins set in the page setup options. |
![Method](template/packages/core-java/images/Method.png) | getBestFitColumns | Gets whether column widths are adjusted to fit the longest text width for printing. |
![Method](template/packages/core-java/images/Method.png) | getBestFitRows | Gets whether row heights are adjusted to fit the tallest text height for printing. |
![Method](template/packages/core-java/images/Method.png) | getBlackAndWhite | True if elements of the document will be printed in black and white. |
![Method](template/packages/core-java/images/Method.png) | getBottomMargin | Gets the size of the bottom margin, in points. |
![Method](template/packages/core-java/images/Method.png) | getCenterFooter | Center aligns the footer information in the PageSetup object. |
![Method](template/packages/core-java/images/Method.png) | getCenterFooterPicture | Gets a IGraphic object that represents the picture for the centersection of the footer. Used to set attributes about the picture. |
![Method](template/packages/core-java/images/Method.png) | getCenterHeader | Center aligns the header information in the PageSetup object. |
![Method](template/packages/core-java/images/Method.png) | getCenterHeaderPicture | Gets a IGraphic object that represents the picture for the centersection of the header. Used to set attributes about the picture. |
![Method](template/packages/core-java/images/Method.png) | getCenterHorizontally | True if the sheet is centered horizontally on the page when it's printed. |
![Method](template/packages/core-java/images/Method.png) | getCenterVertically | True if the sheet is centered vertically on the page when it's printed. |
![Method](template/packages/core-java/images/Method.png) | getDifferentFirstPageHeaderFooter | True if a different header or footer is used on the first page. |
![Method](template/packages/core-java/images/Method.png) | getDraft | True if the sheet will be printed without graphics. |
![Method](template/packages/core-java/images/Method.png) | getEvenPage | Gets the alignment of text on the even IPage of a workbook orsection. |
![Method](template/packages/core-java/images/Method.png) | getFirstPage | Gets the alignment of text on the first IPage of a workbook orsection. |
![Method](template/packages/core-java/images/Method.png) | getFirstPageNumber | Gets the first page number that will be used when this sheet is printed. If Automatic, Document Solutions for Excel chooses the first page number. The default is Automatic. |
![Method](template/packages/core-java/images/Method.png) | getFitToPagesTall | Gets the number of pages tall the worksheet will be scaled to when it's printed. Applies only to worksheets. |
![Method](template/packages/core-java/images/Method.png) | getFitToPagesWide | Gets the number of pages wide the worksheet will be scaled to when it's printed. Applies only to worksheets. |
![Method](template/packages/core-java/images/Method.png) | getFooterMargin | Gets the size of the footer margin, in points. |
![Method](template/packages/core-java/images/Method.png) | getHeaderMargin | Gets the size of the header margin, in points. |
![Method](template/packages/core-java/images/Method.png) | getIsAutoFirstPageNumber | Gets whether the first page number is automatically assigned. The default is true. When the first page number is specified, it returns false. |
![Method](template/packages/core-java/images/Method.png) | getIsPercentScale | If this property is False, the FitToPagesWide and FitToPagesTall properties control how the worksheet is scaled. |
![Method](template/packages/core-java/images/Method.png) | getLeftFooter | Gets the alignment of text on the left footer of a workbook or section. |
![Method](template/packages/core-java/images/Method.png) | getLeftFooterPicture | Gets a IGraphic object that represents the picture for the leftsection of the footer. Used to set attributes about the picture. |
![Method](template/packages/core-java/images/Method.png) | getLeftHeader | Gets the alignment of text on the left header of a workbook or section. |
![Method](template/packages/core-java/images/Method.png) | getLeftHeaderPicture | Gets a IGraphic object that represents the picture for the leftsection of the header. Used to set attributes about the picture. |
![Method](template/packages/core-java/images/Method.png) | getLeftMargin | Gets the size of the left margin, in points. |
![Method](template/packages/core-java/images/Method.png) | getOddAndEvenPagesHeaderFooter | True if the specified PageSetup object has different headers and footers for odd-numbered and even-numbered pages. |
![Method](template/packages/core-java/images/Method.png) | getOrder | Gets a Order value that represents the orderuses to number pages when printing a large worksheet. |
![Method](template/packages/core-java/images/Method.png) | getOrientation | Gets a PageOrientation value that represents the portrait orlandscape printing mode. |
![Method](template/packages/core-java/images/Method.png) | getPaperHeight | Represents the height in inches of the paper, considered page orientation. |
![Method](template/packages/core-java/images/Method.png) | getPaperSize | Gets the size of the paper. |
![Method](template/packages/core-java/images/Method.png) | getPaperWidth | Represents the width in inches of the paper, considered page orientation. |
![Method](template/packages/core-java/images/Method.png) | getPrintArea | Gets the range to be printed, as a string using A1-style references in the language of the macro. |
![Method](template/packages/core-java/images/Method.png) | getPrintComments | Gets the way comments are printed with the sheet. |
![Method](template/packages/core-java/images/Method.png) | getPrintCopies | Gets number of copies to print. |
![Method](template/packages/core-java/images/Method.png) | getPrintErrors | Gets an PrintErrors contstant specifying the type of print error displayed. This feature allows users to suppress the display of error values when printing a worksheet. |
![Method](template/packages/core-java/images/Method.png) | getPrintGridlines | True if cell gridlines are printed on the page. Applies only to worksheets. |
![Method](template/packages/core-java/images/Method.png) | getPrintHeadings | True if row and column headings are printed with this page. Applies only to worksheets. |
![Method](template/packages/core-java/images/Method.png) | getPrintNotes | True if cell notes are printed as end notes with the sheet. Applies only to worksheets. |
![Method](template/packages/core-java/images/Method.png) | getPrintPageRange | Gets range of pages to print, the numbers or page ranges are separated by commas counting from the beginning of the document. For example, type "1,3,5-12". |
![Method](template/packages/core-java/images/Method.png) | getPrintQuality | Gets a PrintQuality value that represents the print quality ofthis page. Default is 600 dpi. |
![Method](template/packages/core-java/images/Method.png) | getPrintTailColumns | Gets the columns that contain the cells to be repeated on the right side of each page, as a string in A1-style notation in the language of the macro. |
![Method](template/packages/core-java/images/Method.png) | getPrintTailRows | Gets the rows that contain the cells to be repeated on the bottom of each page, as a string in A1-style notation in the language of the macro. |
![Method](template/packages/core-java/images/Method.png) | getPrintTitleColumns | Gets the columns that contain the cells to be repeated on the left side of each page, as a string in A1-style notation in the language of the macro. |
![Method](template/packages/core-java/images/Method.png) | getPrintTitleRows | Gets the rows that contain the cells to be repeated at the top of each page, as a string in A1-style notation in the language of the macro. |
![Method](template/packages/core-java/images/Method.png) | getRightFooter | Gets the distance (in points) between the right edge of the page and the right boundary of the footer. |
![Method](template/packages/core-java/images/Method.png) | getRightFooterPicture | Gets a IGraphic object that represents the picture for the rightsection of the footer. Used to set attributes of the picture. |
![Method](template/packages/core-java/images/Method.png) | getRightHeader | Gets the right part of the header. |
![Method](template/packages/core-java/images/Method.png) | getRightHeaderPicture | Gets a IGraphic object that represents the picture for the rightsection of the header. Used to set attributes of the picture. |
![Method](template/packages/core-java/images/Method.png) | getRightMargin | Gets the size of the right margin, in points. |
![Method](template/packages/core-java/images/Method.png) | getScaleWithDocHeaderFooter | Gets if the header and footer should be scaled with the document when the size of the document changes. |
![Method](template/packages/core-java/images/Method.png) | getTopMargin | Gets the size of the top margin, in points. |
![Method](template/packages/core-java/images/Method.png) | getZoom | Gets a Variant value that represents a percentage (between 10 and 400 percent) by which Document Solutions for Excel will scale the worksheet for printing. |
![Method](template/packages/core-java/images/Method.png) | setAlignMarginsHeaderFooter | Gets True to align the header and the footer with the margins set in the page setup options. |
![Method](template/packages/core-java/images/Method.png) | setBestFitColumns | Sets whether column widths are adjusted to fit the longest text width for printing. May cause some efficiency problems if the file contains large amounts of data. |
![Method](template/packages/core-java/images/Method.png) | setBestFitRows | Sets whether row heights are adjusted to fit the tallest text height for printing. May cause some efficiency problems if the file contains large amounts of data. |
![Method](template/packages/core-java/images/Method.png) | setBlackAndWhite | True if elements of the document will be printed in black and white. |
![Method](template/packages/core-java/images/Method.png) | setBottomMargin | Sets the size of the bottom margin, in points. |
![Method](template/packages/core-java/images/Method.png) | setCenterFooter | Center aligns the footer information in the PageSetup object. |
![Method](template/packages/core-java/images/Method.png) | setCenterHeader | Center aligns the header information in the PageSetup object. |
![Method](template/packages/core-java/images/Method.png) | setCenterHorizontally | True if the sheet is centered horizontally on the page when it's printed. |
![Method](template/packages/core-java/images/Method.png) | setCenterVertically | True if the sheet is centered vertically on the page when it's printed. |
![Method](template/packages/core-java/images/Method.png) | setDifferentFirstPageHeaderFooter | True if a different header or footer is used on the first page. |
![Method](template/packages/core-java/images/Method.png) | setDraft | True if the sheet will be printed without graphics. |
![Method](template/packages/core-java/images/Method.png) | setFirstPageNumber | Sets the first page number that will be used when this sheet is printed. If Automatic, Document Solutions for Excel chooses the first page number. The default is Automatic. |
![Method](template/packages/core-java/images/Method.png) | setFitToPagesTall | Sets the number of pages tall the worksheet will be scaled to when it's printed. Applies only to worksheets. |
![Method](template/packages/core-java/images/Method.png) | setFitToPagesWide | Sets the number of pages wide the worksheet will be scaled to when it's printed. Applies only to worksheets. |
![Method](template/packages/core-java/images/Method.png) | setFooterMargin | Sets the size of the footer margin, in points. |
![Method](template/packages/core-java/images/Method.png) | setHeaderMargin | Sets the size of the header margin, in points. |
![Method](template/packages/core-java/images/Method.png) | setIsAutoFirstPageNumber | Sets whether the first page number is automatically assigned. The default is true. |
![Method](template/packages/core-java/images/Method.png) | setIsPercentScale | If this property is False, the FitToPagesWide and FitToPagesTall properties control how the worksheet is scaled. |
![Method](template/packages/core-java/images/Method.png) | setLeftFooter | Sets the alignment of text on the left footer of a workbook or section. |
![Method](template/packages/core-java/images/Method.png) | setLeftHeader | Sets the alignment of text on the left header of a workbook or section. |
![Method](template/packages/core-java/images/Method.png) | setLeftMargin | Sets the size of the left margin, in points. |
![Method](template/packages/core-java/images/Method.png) | setOddAndEvenPagesHeaderFooter | True if the specified PageSetup object has different headers and footers for odd-numbered and even-numbered pages. |
![Method](template/packages/core-java/images/Method.png) | setOrder | Sets a Order value that represents the orderuses to number pages when printing a large worksheet. |
![Method](template/packages/core-java/images/Method.png) | setOrientation | Sets a PageOrientation value that represents the portrait orlandscape printing mode. |
![Method](template/packages/core-java/images/Method.png) | setPaperSize | Sets the size of the paper. |
![Method](template/packages/core-java/images/Method.png) | setPrintArea | Sets the range to be printed, as a string using A1-style references in the language of the macro. |
![Method](template/packages/core-java/images/Method.png) | setPrintComments | Sets the way comments are printed with the sheet. |
![Method](template/packages/core-java/images/Method.png) | setPrintCopies | Sets number of copies to print. |
![Method](template/packages/core-java/images/Method.png) | setPrintErrors | Sets an PrintErrors contstant specifying the type of print error displayed. This feature allows users to suppress the display of error values when printing a worksheet. |
![Method](template/packages/core-java/images/Method.png) | setPrintGridlines | True if cell gridlines are printed on the page. Applies only to worksheets. |
![Method](template/packages/core-java/images/Method.png) | setPrintHeadings | True if row and column headings are printed with this page. Applies only to worksheets. |
![Method](template/packages/core-java/images/Method.png) | setPrintNotes | True if cell notes are printed as end notes with the sheet. Applies only to worksheets. |
![Method](template/packages/core-java/images/Method.png) | setPrintPageRange | Sets range of pages to print, the numbers or page ranges are separated by commas counting from the beginning of the document. For example, type "1,3,5-12". |
![Method](template/packages/core-java/images/Method.png) | setPrintQuality | Sets a PrintQuality value that represents the print quality of thispage. Default is 600 dpi. |
![Method](template/packages/core-java/images/Method.png) | setPrintTailColumns | Sets the columns that contain the cells to be repeated on the right side of each page, as a string in A1-style notation in the language of the macro. |
![Method](template/packages/core-java/images/Method.png) | setPrintTailRows | Sets the rows that contain the cells to be repeated on the bottom of each page, as a string in A1-style notation in the language of the macro. |
![Method](template/packages/core-java/images/Method.png) | setPrintTitleColumns | Sets the columns that contain the cells to be repeated on the left side of each page, as a string in A1-style notation in the language of the macro. |
![Method](template/packages/core-java/images/Method.png) | setPrintTitleRows | Sets the rows that contain the cells to be repeated at the top of each page, as a string in A1-style notation in the language of the macro. |
![Method](template/packages/core-java/images/Method.png) | setRightFooter | Sets the distance (in points) between the right edge of the page and the right boundary of the footer. |
![Method](template/packages/core-java/images/Method.png) | setRightHeader | Sets the right part of the header. |
![Method](template/packages/core-java/images/Method.png) | setRightMargin | Sets the size of the right margin, in points. |
![Method](template/packages/core-java/images/Method.png) | setScaleWithDocHeaderFooter | Sets if the header and footer should be scaled with the document when the size of the document changes. |
![Method](template/packages/core-java/images/Method.png) | setTopMargin | Sets the size of the top margin, in points. |
![Method](template/packages/core-java/images/Method.png) | setZoom | Sets a Variant value that represents a percentage (between 10 and 400 percent) by which Document Solutions for Excel will scale the worksheet for printing. |
![Method](template/packages/core-java/images/Method.png) | toJson | Generate the json from page setup. |