Class ExcelPrintSetupFactory

  • public final class ExcelPrintSetupFactory
    extends Object
    Performs all steps to setup the printer page of an excel sheet.

    This list is based on the specifications found in the OpenOffice documentation.

    • Method Detail

      • performPageSetup

        public static void performPageSetup​( printSetup,
                                            PhysicalPageBox pageformat,
                                            String paperdef,
                                            String paperOrientation)
        Performs the page setup and searches a matching page format for the report.
        printSetup - the print setup object of the current sheet.
        pageformat - the pageformat defined for the report.
        paperdef - the excel paper size property (may be null).
        paperOrientation - the paper orientation, either "Landscape" or "Portrait"