Package com.openhtmltopdf.pdfboxout
Class PdfBoxUserAgent
java.lang.Object
com.openhtmltopdf.swing.NaiveUserAgent
com.openhtmltopdf.pdfboxout.PdfBoxUserAgent
- All Implemented Interfaces:
com.openhtmltopdf.event.DocumentListener,com.openhtmltopdf.extend.UserAgentCallback
public class PdfBoxUserAgent
extends com.openhtmltopdf.swing.NaiveUserAgent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openhtmltopdf.swing.NaiveUserAgent
com.openhtmltopdf.swing.NaiveUserAgent.DataUriFactory, com.openhtmltopdf.swing.NaiveUserAgent.DefaultHttpStream, com.openhtmltopdf.swing.NaiveUserAgent.DefaultHttpStreamFactory, com.openhtmltopdf.swing.NaiveUserAgent.DefaultUriResolver -
Field Summary
Fields inherited from class com.openhtmltopdf.swing.NaiveUserAgent
_baseUri, _imageCache, _protocolsStreamFactory, _resolver, DEFAULT_URI_RESOLVER -
Constructor Summary
Constructors Constructor Description PdfBoxUserAgent(PdfBoxOutputDevice outputDevice) -
Method Summary
Modifier and Type Method Description com.openhtmltopdf.resource.ImageResourcegetImageResource(String uriStr)com.openhtmltopdf.layout.SharedContextgetSharedContext()voidsetSharedContext(com.openhtmltopdf.layout.SharedContext sharedContext)Methods inherited from class com.openhtmltopdf.swing.NaiveUserAgent
clearImageCache, documentLoaded, documentStarted, extractProtocol, getBaseURL, getBinaryResource, getCSSResource, getDefaultUriResolver, getProtocolFactory, getXMLResource, hasProtocolFactory, isVisited, onLayoutException, onRenderException, openReader, openStream, readAll, resolveUri, resolveURI, setBaseURL, setProtocolsStreamFactory, setUriResolver
-
Constructor Details
-
PdfBoxUserAgent
-
-
Method Details
-
getImageResource
- Specified by:
getImageResourcein interfacecom.openhtmltopdf.extend.UserAgentCallback- Overrides:
getImageResourcein classcom.openhtmltopdf.swing.NaiveUserAgent
-