Class HtmlPrinter

    • Field Detail

      • CORRECTION_FACTOR_PX_TO_POINT

        public static final float CORRECTION_FACTOR_PX_TO_POINT
        See Also:
        Constant Field Values
      • CORRECTION_FACTOR_POINT_TO_PX

        public static final float CORRECTION_FACTOR_POINT_TO_PX
        See Also:
        Constant Field Values
    • Constructor Detail

      • HtmlPrinter

        public HtmlPrinter()
    • Method Detail

      • setUrlRewriter

        public void setUrlRewriter​(URLRewriter urlRewriter)
      • getDataNameGenerator

        public org.pentaho.reporting.libraries.repository.NameGenerator getDataNameGenerator()
      • getDataLocation

        public org.pentaho.reporting.libraries.repository.ContentLocation getDataLocation()
      • getContentNameGenerator

        public org.pentaho.reporting.libraries.repository.NameGenerator getContentNameGenerator()
      • getContentLocation

        public org.pentaho.reporting.libraries.repository.ContentLocation getContentLocation()
      • getEncoding

        public java.lang.String getEncoding()
      • setEncoding

        public void setEncoding​(java.lang.String encoding)
      • generate

        public void generate​(LogicalPageBox box,
                             DocumentContext documentContext)
                      throws java.io.IOException,
                             org.pentaho.reporting.libraries.repository.ContentIOException
        Throws:
        java.io.IOException
        org.pentaho.reporting.libraries.repository.ContentIOException
      • isGenerateFragment

        public boolean isGenerateFragment()
      • setGenerateFragment

        public void setGenerateFragment​(boolean generateFragment)
      • startMarkerContents

        protected boolean startMarkerContents​(RenderBox box,
                                              StyleBuilder builder)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • startPageBox

        protected boolean startPageBox​(RenderBox box,
                                       StyleBuilder builder)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • finishPageBox

        protected void finishPageBox​(RenderBox box)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • startOtherBlockBox

        protected boolean startOtherBlockBox​(BlockRenderBox box,
                                             StyleBuilder builder)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • finishOtherBlockBox

        protected void finishOtherBlockBox​(BlockRenderBox tableRenderBox)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • startParagraph

        protected boolean startParagraph​(ParagraphRenderBox box,
                                         StyleBuilder builder)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • finishParagraph

        protected void finishParagraph​(ParagraphRenderBox tableRenderBox)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • startTableCell

        protected boolean startTableCell​(TableCellRenderBox box,
                                         StyleBuilder builder)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • finishTableCell

        protected void finishTableCell​(TableCellRenderBox tableRenderBox)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • startTableRow

        protected boolean startTableRow​(TableRowRenderBox box,
                                        StyleBuilder builder)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • finishTableRow

        protected void finishTableRow​(TableRowRenderBox tableRenderBox)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • finishTableHeader

        protected void finishTableHeader​(TableSectionRenderBox tableRenderBox)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • finishTableBody

        protected void finishTableBody​(TableSectionRenderBox tableRenderBox)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • finishTableFooter

        protected void finishTableFooter​(TableSectionRenderBox tableRenderBox)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • startTable

        protected boolean startTable​(TableRenderBox box,
                                     StyleBuilder builder)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • finishTable

        protected void finishTable​(TableRenderBox tableRenderBox)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • setDataWriter

        public void setDataWriter​(org.pentaho.reporting.libraries.repository.ContentLocation dataLocation,
                                  org.pentaho.reporting.libraries.repository.NameGenerator dataNameGenerator)
      • setContentWriter

        public void setContentWriter​(org.pentaho.reporting.libraries.repository.ContentLocation contentLocation,
                                     org.pentaho.reporting.libraries.repository.NameGenerator contentNameGenerator)