Class FitImageBoundsProcessor

    • Constructor Detail

      • FitImageBoundsProcessor

        public FitImageBoundsProcessor()
      • FitImageBoundsProcessor

        public FitImageBoundsProcessor​(String jobId)
    • Method Detail

      • postLayout

        public boolean postLayout​(ProcessingContext context,
                                  com.levigo.jadice.server.html2fop.internal.HtmlLayoutResult layoutResult)
        Rescales images in the dom tree that would overflow the desired page with.
        Specified by:
        postLayout in interface HTMLPostLayoutProcessor
        Parameters:
        context - contains the general processing context that is needed to process HTML documents.
        layoutResult - the layout result of the previous layout run.
        Returns:
        true if a relayout process is necessary otherwise false.
      • getFittedImageKeys

        public Set<String> getFittedImageKeys()