Package com.openhtmltopdf.pdfboxout
Class PdfBoxObjectDrawerReplacedElement
- java.lang.Object
-
- com.openhtmltopdf.pdfboxout.PdfBoxObjectDrawerReplacedElement
-
- All Implemented Interfaces:
com.openhtmltopdf.extend.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, com.openhtmltopdf.extend.FSObjectDrawer drawer, int cssWidth, int cssHeight, com.openhtmltopdf.layout.SharedContext c)
-
Method Summary
Modifier and Type Method Description void
detach(com.openhtmltopdf.layout.LayoutContext c)
int
getBaseline()
int
getIntrinsicHeight()
int
getIntrinsicWidth()
Map<Shape,String>
getLinkMap()
Point
getLocation()
boolean
hasBaseline()
boolean
isRequiresInteractivePaint()
void
paint(com.openhtmltopdf.render.RenderingContext c, PdfBoxOutputDevice outputDevice, com.openhtmltopdf.render.BlockBox box)
void
setLocation(int x, int y)
-
-
-
Constructor Detail
-
PdfBoxObjectDrawerReplacedElement
public PdfBoxObjectDrawerReplacedElement(Element e, com.openhtmltopdf.extend.FSObjectDrawer drawer, int cssWidth, int cssHeight, com.openhtmltopdf.layout.SharedContext c)
-
-
Method Detail
-
getIntrinsicWidth
public int getIntrinsicWidth()
- Specified by:
getIntrinsicWidth
in interfacecom.openhtmltopdf.extend.ReplacedElement
-
getIntrinsicHeight
public int getIntrinsicHeight()
- Specified by:
getIntrinsicHeight
in interfacecom.openhtmltopdf.extend.ReplacedElement
-
getLocation
public Point getLocation()
- Specified by:
getLocation
in interfacecom.openhtmltopdf.extend.ReplacedElement
-
setLocation
public void setLocation(int x, int y)
- Specified by:
setLocation
in interfacecom.openhtmltopdf.extend.ReplacedElement
-
detach
public void detach(com.openhtmltopdf.layout.LayoutContext c)
- Specified by:
detach
in interfacecom.openhtmltopdf.extend.ReplacedElement
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()
- Specified by:
isRequiresInteractivePaint
in interfacecom.openhtmltopdf.extend.ReplacedElement
-
hasBaseline
public boolean hasBaseline()
- Specified by:
hasBaseline
in interfacecom.openhtmltopdf.extend.ReplacedElement
-
getBaseline
public int getBaseline()
- Specified by:
getBaseline
in interfacecom.openhtmltopdf.extend.ReplacedElement
-
paint
public void paint(com.openhtmltopdf.render.RenderingContext c, PdfBoxOutputDevice outputDevice, com.openhtmltopdf.render.BlockBox box)
- Specified by:
paint
in interfacePdfBoxReplacedElement
-
getLinkMap
public Map<Shape,String> getLinkMap()
- Specified by:
getLinkMap
in interfacePdfBoxLinkManager.IPdfBoxElementWithShapedLinks
-
-