Package com.openhtmltopdf.pdfboxout
Class PdfBoxObjectDrawerReplacedElement
- java.lang.Object
-
- com.openhtmltopdf.pdfboxout.PdfBoxObjectDrawerReplacedElement
-
- All Implemented Interfaces:
ReplacedElement,PdfBoxLinkManager.IPdfBoxElementWithShapedLinks,PdfBoxReplacedElement
public class PdfBoxObjectDrawerReplacedElement extends Object implements PdfBoxReplacedElement, PdfBoxLinkManager.IPdfBoxElementWithShapedLinks
FSObjectDrawer Element for PDFBox
-
-
Constructor Summary
Constructors Constructor Description PdfBoxObjectDrawerReplacedElement(Element e, FSObjectDrawer drawer, int cssWidth, int cssHeight, SharedContext c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetach(LayoutContext c)intgetBaseline()intgetIntrinsicHeight()intgetIntrinsicWidth()Map<Shape,String>getLinkMap()PointgetLocation()booleanhasBaseline()booleanisRequiresInteractivePaint()voidpaint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box)voidsetLocation(int x, int y)
-
-
-
Constructor Detail
-
PdfBoxObjectDrawerReplacedElement
public PdfBoxObjectDrawerReplacedElement(Element e, FSObjectDrawer drawer, int cssWidth, int cssHeight, SharedContext c)
-
-
Method Detail
-
getIntrinsicWidth
public int getIntrinsicWidth()
- Specified by:
getIntrinsicWidthin interfaceReplacedElement
-
getIntrinsicHeight
public int getIntrinsicHeight()
- Specified by:
getIntrinsicHeightin interfaceReplacedElement
-
getLocation
public Point getLocation()
- Specified by:
getLocationin interfaceReplacedElement
-
setLocation
public void setLocation(int x, int y)- Specified by:
setLocationin interfaceReplacedElement
-
detach
public void detach(LayoutContext c)
- Specified by:
detachin interfaceReplacedElement
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()
- Specified by:
isRequiresInteractivePaintin interfaceReplacedElement
-
hasBaseline
public boolean hasBaseline()
- Specified by:
hasBaselinein interfaceReplacedElement
-
getBaseline
public int getBaseline()
- Specified by:
getBaselinein interfaceReplacedElement
-
paint
public void paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box)
- Specified by:
paintin interfacePdfBoxReplacedElement
-
getLinkMap
public Map<Shape,String> getLinkMap()
- Specified by:
getLinkMapin interfacePdfBoxLinkManager.IPdfBoxElementWithShapedLinks
-
-