Package com.openhtmltopdf.pdfboxout
Class PdfBoxPDFReplacedElement
java.lang.Object
com.openhtmltopdf.pdfboxout.PdfBoxPDFReplacedElement
- All Implemented Interfaces:
com.openhtmltopdf.extend.ReplacedElement,PdfBoxLinkManager.IPdfBoxElementWithShapedLinks,PdfBoxReplacedElement
public class PdfBoxPDFReplacedElement extends Object implements PdfBoxReplacedElement, PdfBoxLinkManager.IPdfBoxElementWithShapedLinks
-
Method Summary
Modifier and Type Method Description static PdfBoxPDFReplacedElementcreate(org.apache.pdfbox.pdmodel.PDDocument target, byte[] pdfBytes, Element e, com.openhtmltopdf.render.Box box, com.openhtmltopdf.css.style.CssContext ctx, com.openhtmltopdf.layout.SharedContext shared)voiddetach(com.openhtmltopdf.layout.LayoutContext c)intgetBaseline()intgetIntrinsicHeight()intgetIntrinsicWidth()Map<Shape,String>getLinkMap()PointgetLocation()booleanhasBaseline()booleanisRequiresInteractivePaint()voidpaint(com.openhtmltopdf.render.RenderingContext c, PdfBoxOutputDevice outputDevice, com.openhtmltopdf.render.BlockBox box)voidsetLocation(int x, int y)
-
Method Details
-
getIntrinsicWidth
public int getIntrinsicWidth()- Specified by:
getIntrinsicWidthin interfacecom.openhtmltopdf.extend.ReplacedElement
-
getIntrinsicHeight
public int getIntrinsicHeight()- Specified by:
getIntrinsicHeightin interfacecom.openhtmltopdf.extend.ReplacedElement
-
getLocation
- Specified by:
getLocationin interfacecom.openhtmltopdf.extend.ReplacedElement
-
setLocation
public void setLocation(int x, int y)- Specified by:
setLocationin interfacecom.openhtmltopdf.extend.ReplacedElement
-
getLinkMap
- Specified by:
getLinkMapin interfacePdfBoxLinkManager.IPdfBoxElementWithShapedLinks
-
detach
public void detach(com.openhtmltopdf.layout.LayoutContext c)- Specified by:
detachin interfacecom.openhtmltopdf.extend.ReplacedElement
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()- Specified by:
isRequiresInteractivePaintin interfacecom.openhtmltopdf.extend.ReplacedElement
-
paint
public void paint(com.openhtmltopdf.render.RenderingContext c, PdfBoxOutputDevice outputDevice, com.openhtmltopdf.render.BlockBox box)- Specified by:
paintin interfacePdfBoxReplacedElement
-
getBaseline
public int getBaseline()- Specified by:
getBaselinein interfacecom.openhtmltopdf.extend.ReplacedElement
-
hasBaseline
public boolean hasBaseline()- Specified by:
hasBaselinein interfacecom.openhtmltopdf.extend.ReplacedElement