Class Proclets

    • Field Detail

      • m_PageSize

        protected PageSize m_PageSize
        the page size.
      • m_PageOrientation

        protected PageOrientation m_PageOrientation
        the page orientation.
      • m_Proclets

        protected PdfProclet[] m_Proclets
        the PDF processors.
    • Constructor Detail

      • Proclets

        public Proclets()
    • Method Detail

      • outputFileTipText

        public String outputFileTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPageSize

        public void setPageSize​(PageSize value)
        Sets the page size.
        Parameters:
        value - the size
      • getPageSize

        public PageSize getPageSize()
        Returns the page size.
        Returns:
        the size
      • pageSizeTipText

        public String pageSizeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPageOrientation

        public void setPageOrientation​(PageOrientation value)
        Sets the page orientation.
        Parameters:
        value - the orientation
      • getPageOrientation

        public PageOrientation getPageOrientation()
        Returns the page orientation.
        Returns:
        the orientation
      • pageOrientationTipText

        public String pageOrientationTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setProclets

        public void setProclets​(PdfProclet[] value)
        Sets the processors for processing the files.
        Parameters:
        value - the processors to use
      • getProclets

        public PdfProclet[] getProclets()
        Returns the processors in use.
        Returns:
        the processors in use
      • procletsTipText

        public String procletsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • check

        protected String check​(Object[] objects)
        Hook method for checking the objects before processing them.
        Overrides:
        check in class AbstractPDFGenerator
        Parameters:
        objects - the objects to check
        Returns:
        null if successful, otherwise error message
      • doProcess

        protected String doProcess​(Object[] objects,
                                   File outputFile)
        Processes the objects to generate the PDF.
        Specified by:
        doProcess in class AbstractPDFGenerator
        Parameters:
        objects - the objects to process
        outputFile - the output file to generate
        Returns:
        null if successful, otherwise error message