Class PrintHelperFactoryImpl

    • Method Detail

      • createPrintHelper

        public PrintHelper createPrintHelper​(Container container,
                                             PageTree pageTree,
                                             float userRotation,
                                             DocAttributeSet docAttributeSet,
                                             PrintRequestAttributeSet printRequestAttributeSet)
        Description copied from interface: PrintHelperFactory
        Creates a new PrintHelper instance using the specified doc and print attribute sets. This constructor offers the most flexibility as it allows the attributes sets to be pre configured. This method should only be used by advanced users.
        Specified by:
        createPrintHelper in interface PrintHelperFactory
        Parameters:
        container - parent container uses to center print dialog.
        pageTree - document page tree.
        userRotation - rotation of view
        docAttributeSet - MediaSizeName constant of paper size to print to.
        printRequestAttributeSet - quality of the print job, draft, quality etc.