Package io.jmix.reports.libintegration
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
-
Field Summary
Fields inherited from class org.xhtmlrenderer.swing.NaiveUserAgent
_imageCache
-
Constructor Summary
ConstructorDescriptionResourcesITextUserAgentCallback
(org.xhtmlrenderer.pdf.ITextOutputDevice outputDevice) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.xhtmlrenderer.resource.ImageResource
protected FileRef
getFileRef
(String uri) org.xhtmlrenderer.resource.ImageResource
getImageResource
(String uri) protected InputStream
getInputStream
(String uri) protected InputStream
protected void
scaleToOutputResolution
(com.lowagie.text.Image image) Methods inherited from class org.xhtmlrenderer.pdf.ITextUserAgent
getSharedContext, setSharedContext
Methods inherited from class org.xhtmlrenderer.swing.NaiveUserAgent
clearImageCache, createImageResource, documentLoaded, documentStarted, getBaseURL, getBinaryResource, getCSSResource, getXMLResource, isVisited, needsRedirect, onHttpConnection, onLayoutException, onRenderException, openConnection, openStream, resolveURI, setBaseURL, shrinkImageCache
-
Constructor Details
-
ResourcesITextUserAgentCallback
public ResourcesITextUserAgentCallback(org.xhtmlrenderer.pdf.ITextOutputDevice outputDevice)
-
-
Method Details
-
getImageResource
- Specified by:
getImageResource
in interfaceorg.xhtmlrenderer.extend.UserAgentCallback
- Overrides:
getImageResource
in classorg.xhtmlrenderer.pdf.ITextUserAgent
-
createImageResource
-
scaleToOutputResolution
protected void scaleToOutputResolution(com.lowagie.text.Image image) -
resolveAndOpenStream
- Overrides:
resolveAndOpenStream
in classorg.xhtmlrenderer.swing.NaiveUserAgent
-
getFileRef
-
getInputStream
-