Class FORendererDummy

java.lang.Object
org.docx4j.convert.out.fo.renderers.AbstractFORenderer
org.docx4j.convert.out.fo.renderers.FORendererDummy
All Implemented Interfaces:
FORenderer

public class FORendererDummy extends AbstractFORenderer
The Dummy FO Renderer doesn't render anything, it just outputs the fo document to the OutputStream.
  • Field Details

    • log

      protected static org.slf4j.Logger log
    • INSTANCE

      protected static final FORenderer INSTANCE
  • Constructor Details

    • FORendererDummy

      public FORendererDummy()
  • Method Details

    • getInstance

      public static FORenderer getInstance()
    • render

      public void render(String foDocument, FOSettings settings, boolean twoPass, List<FORenderer.SectionPageInformation> pageNumberInformation, OutputStream outputStream) throws Docx4JException
      Description copied from interface: FORenderer
      Render the foDocument to the requested format, if needed do a 2 pass conversion.
      Parameters:
      foDocument - the fo document to be rendered.
      settings - the conversion settings passed to the conversion process
      twoPass - a two pass rendering might be needed, i.e. the body of some tags contain placeholder How the renderer calculates the corresponding values and replaces them is its responsability
      pageNumberInformation - This list contains an entry for each section in the document. It defines the IDs of the corresponding placeholders and the number format (as a fo format).
      This List is only available if twoPass = true.
      outputStream - The output stream on which the output should be rendered
      Throws:
      Docx4JException