Uses of Interface
com.openhtmltopdf.extend.ReplacedElement
| Package | Description |
|---|---|
| com.openhtmltopdf.extend | |
| com.openhtmltopdf.render | |
| com.openhtmltopdf.simple.extend | |
| com.openhtmltopdf.swing | |
| com.openhtmltopdf.test |
-
Uses of ReplacedElement in com.openhtmltopdf.extend
Methods in com.openhtmltopdf.extend that return ReplacedElement Modifier and Type Method Description ReplacedElementReplacedElementFactory. createReplacedElement(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)NOTE: Only block equivalent elements can be replaced. -
Uses of ReplacedElement in com.openhtmltopdf.render
Methods in com.openhtmltopdf.render that return ReplacedElement Modifier and Type Method Description ReplacedElementBlockBox. getReplacedElement()Methods in com.openhtmltopdf.render with parameters of type ReplacedElement Modifier and Type Method Description voidBlockBox. setReplacedElement(ReplacedElement replacedElement) -
Uses of ReplacedElement in com.openhtmltopdf.simple.extend
Methods in com.openhtmltopdf.simple.extend that return ReplacedElement Modifier and Type Method Description ReplacedElementNoReplacedElementFactory. createReplacedElement(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) -
Uses of ReplacedElement in com.openhtmltopdf.swing
Classes in com.openhtmltopdf.swing that implement ReplacedElement Modifier and Type Class Description classDeferredImageReplacedElementAn DeferredImageReplacedElement is aReplacedElementthat contains aImagewhich by default is simply a transparent image scaled to the size provided to the constructor.classEmptyReplacedElementclassImageReplacedElementAn ImageReplacedElement is aReplacedElementthat contains aImage.classSwingReplacedElementMethods in com.openhtmltopdf.swing that return ReplacedElement Modifier and Type Method Description ReplacedElementSwingReplacedElementFactory. createReplacedElement(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)Deprecated.NOTE: Only block equivalent elements can be replaced.protected ReplacedElementSwingReplacedElementFactory. lookupImageReplacedElement(Element e, String uri)Deprecated.Retrieves a ReplacedElement for an image from cache, or null if not found.protected ReplacedElementSwingReplacedElementFactory. newIrreplaceableImageElement(int cssWidth, int cssHeight)Deprecated.Returns a ReplacedElement for some element in the stream which should be replaceable, but is not.protected ReplacedElementSwingReplacedElementFactory. replaceImage(UserAgentCallback uac, LayoutContext context, Element elem, int cssWidth, int cssHeight)Deprecated.Handles replacement of image elements in the document.Methods in com.openhtmltopdf.swing with parameters of type ReplacedElement Modifier and Type Method Description protected voidSwingReplacedElementFactory. storeImageReplacedElement(Element e, ReplacedElement cc, String uri, int cssWidth, int cssHeight)Deprecated.Adds a ReplacedElement containing an image to a cache of images for quick lookup. -
Uses of ReplacedElement in com.openhtmltopdf.test
Methods in com.openhtmltopdf.test that return ReplacedElement Modifier and Type Method Description protected ReplacedElementSwingImageReplacer. lookupImageReplacedElement(Element e)Retrieves a ReplacedElement for an image from cache, or null if not found.protected ReplacedElementSwingImageReplacer. newIrreplaceableImageElement(int cssWidth, int cssHeight)Returns a ReplacedElement for some element in the stream which should be replaceable, but is not.abstract ReplacedElementElementReplacer. replace(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)ReplacedElementSwingImageReplacer. replace(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)protected ReplacedElementSwingImageReplacer. replaceImage(UserAgentCallback uac, LayoutContext context, Element elem, int cssWidth, int cssHeight)Handles replacement of image elements in the document.Methods in com.openhtmltopdf.test with parameters of type ReplacedElement Modifier and Type Method Description protected voidSwingImageReplacer. storeImageReplacedElement(Element e, ReplacedElement cc)Adds a ReplacedElement containing an image to a cache of images for quick lookup.