Document Solutions for Excel, Java Edition | Document Solutions
File Operations / Export to PDF / Control Pagination
In This Topic
    Control Pagination
    In This Topic

    DsExcel Java enables users to manage pagination while exporting to a PDF file.

    The pagination settings are used to control how the data lying in the worksheets breaks across the pages in the PDF file. The PrintManager class contains the methods that help users in handling custom pagination requirements and preferences.

    The custom pagination process works in four basic steps as described below.

    While configuring the pagination options for a workbook containing multiple worksheets, users have complete control over the flow of content (both textual and graphic) across the pages in the PDF file. Further, users can customize the PDF file by adjusting the automatic page breaks while adding or deleting the pages, and modifying the print information on each page of the PDF file. Also, users can keep some rows together in a page; save the content from more than one worksheet to a single PDF; display custom cell ranges inside the exported PDF file; configure custom page settings (like page number, page count, page content, row headers, column headers, title columns, tail columns, page margins, page header, page footer, paper width, paper height etc.); save different header information on different pages; save the last page of the PDF file without any headers, export custom page information and export only some specific pages (or worksheets) in the PDF file.

    For more information on handling pagination while working with spreadsheets, refer to the following topics: