Class AbstractHtmlPrinter

    • Field Detail

      • XHTML_HEADER

        protected static final String[] XHTML_HEADER
      • EMPTY_CELL_ATTRVALS

        protected static final String[] EMPTY_CELL_ATTRVALS
    • Constructor Detail

      • AbstractHtmlPrinter

        public AbstractHtmlPrinter​(org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
    • Method Detail

      • initialize

        protected void initialize​(org.pentaho.reporting.libraries.base.config.Configuration configuration)
      • isAllowRawLinkTargets

        public boolean isAllowRawLinkTargets()
      • setStyleManager

        public void setStyleManager​(StyleManager styleManager)
      • getConfiguration

        public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
      • setDataWriter

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

        protected org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
      • isProportionalColumnWidths

        protected boolean isProportionalColumnWidths()
      • writeColumnDeclaration

        protected void writeColumnDeclaration​(SlimSheetLayout sheetLayout,
                                              org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
                                       throws IOException
        Throws:
        IOException
      • createStyleManager

        protected StyleManager createStyleManager()
      • isCreateBodyFragment

        protected boolean isCreateBodyFragment()
      • isInlineStylesRequested

        protected boolean isInlineStylesRequested()
      • generateExternalStylePlaceHolder

        protected void generateExternalStylePlaceHolder()
                                                 throws org.pentaho.reporting.libraries.repository.ContentIOException,
                                                        URLRewriteException
        Throws:
        org.pentaho.reporting.libraries.repository.ContentIOException
        URLRewriteException
      • getStyleFile

        public org.pentaho.reporting.libraries.repository.ContentItem getStyleFile()
      • getStyleFileUrl

        public String getStyleFileUrl()
      • isForceBufferedWriting

        protected boolean isForceBufferedWriting()
      • isExternalStyleSheetRequested

        protected boolean isExternalStyleSheetRequested()
      • performCloseFile

        protected void performCloseFile​(String sheetName,
                                        ReportAttributeMap logicalPageBox,
                                        WriterService writer)
                                 throws IOException,
                                        org.pentaho.reporting.libraries.repository.ContentIOException
        Throws:
        IOException
        org.pentaho.reporting.libraries.repository.ContentIOException
      • writeBackgroundCell

        protected void writeBackgroundCell​(CellBackground background,
                                           org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter)
                                    throws IOException
        Throws:
        IOException