Class JmixHtmlFormatter.ResourcesITextUserAgentCallback

java.lang.Object
org.xhtmlrenderer.swing.NaiveUserAgent
org.xhtmlrenderer.pdf.ITextUserAgent
io.jmix.reports.libintegration.JmixHtmlFormatter.ResourcesITextUserAgentCallback
All Implemented Interfaces:
org.xhtmlrenderer.event.DocumentListener, org.xhtmlrenderer.extend.UserAgentCallback
Enclosing class:
JmixHtmlFormatter

protected class JmixHtmlFormatter.ResourcesITextUserAgentCallback extends org.xhtmlrenderer.pdf.ITextUserAgent
  • Constructor Details

    • ResourcesITextUserAgentCallback

      public ResourcesITextUserAgentCallback(org.xhtmlrenderer.pdf.ITextOutputDevice outputDevice)
  • Method Details

    • getImageResource

      public org.xhtmlrenderer.resource.ImageResource getImageResource(String uri)
      Specified by:
      getImageResource in interface org.xhtmlrenderer.extend.UserAgentCallback
      Overrides:
      getImageResource in class org.xhtmlrenderer.pdf.ITextUserAgent
    • createImageResource

      @Nullable protected org.xhtmlrenderer.resource.ImageResource createImageResource(String uri)
    • scaleToOutputResolution

      protected void scaleToOutputResolution(com.itextpdf.text.Image image)
    • resolveAndOpenStream

      @Nullable protected InputStream resolveAndOpenStream(String uri)
      Overrides:
      resolveAndOpenStream in class org.xhtmlrenderer.swing.NaiveUserAgent
    • getFileRef

      @Nullable protected FileRef getFileRef(String uri)
    • getInputStream

      protected InputStream getInputStream(String uri)