Class AbstractOutputProcessor

    • Constructor Detail

      • AbstractOutputProcessor

        public AbstractOutputProcessor​(org.pentaho.reporting.libraries.base.config.Configuration configuration)
    • Method Detail

      • isPaginationFinished

        public boolean isPaginationFinished()
        Checks, whether the 'processingFinished' event had been received at least once.
        Specified by:
        isPaginationFinished in interface OutputProcessor
        Returns:
      • processingFinished

        public void processingFinished()
        Notifies the output processor, that the processing has been finished and that the input-feed received the last event.
        Specified by:
        processingFinished in interface OutputProcessor
      • processingContentFinished

        protected void processingContentFinished()
      • processingPagesFinished

        protected void processingPagesFinished()
      • processingGlobalContentFinished

        protected void processingGlobalContentFinished()
      • getConfiguration

        public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
        Specified by:
        getConfiguration in interface OutputProcessor
      • createNormalizer

        public Normalizer createNormalizer​(LayoutProcess layoutProcess)
        Returns the content normalizer implementation for this OP. The content normalizer is responsible for resolving the styles and for initiating the DOM building.
        Specified by:
        createNormalizer in interface OutputProcessor
        Parameters:
        layoutProcess - the layout process that governs all.
        Returns:
      • createModelBuilder

        public ModelBuilder createModelBuilder​(LayoutProcess layoutProcess)
        The model builder normalizes the input and builds the Display-Model. The DisplayModel enriches and normalizes the logical document model so that it is better suited for rendering.
        Specified by:
        createModelBuilder in interface OutputProcessor
        Parameters:
        layoutProcess - the layout process that governs all.
        Returns:
      • createLogicalPage

        protected LogicalPageKey createLogicalPage​(int width,
                                                   int height)
      • isGlobalStateComputed

        public boolean isGlobalStateComputed()
        This flag indicates, whether the global content has been computed. Global content consists of global counters (except the pages counter) and derived information like table of contents, the global directory of images or tables etc.

        The global state must be computed before paginating can be attempted (if the output target is paginating at all).

        Specified by:
        isGlobalStateComputed in interface OutputProcessor
        Returns:
        true, if the global state has been computed, false otherwise.
      • getProcessingState

        protected int getProcessingState()
      • isContentGeneratable

        public boolean isContentGeneratable()
        This flag indicates, whether the output processor has collected enough information to start the content generation.
        Specified by:
        isContentGeneratable in interface OutputProcessor
        Returns: