Package com.openhtmltopdf.pdfboxout
Class BookmarkElement
- java.lang.Object
-
- com.openhtmltopdf.pdfboxout.BookmarkElement
-
- All Implemented Interfaces:
com.openhtmltopdf.extend.ReplacedElement
,PdfBoxReplacedElement
public class BookmarkElement extends Object implements PdfBoxReplacedElement
-
-
Constructor Summary
Constructors Constructor Description BookmarkElement()
-
Method Summary
Modifier and Type Method Description void
detach(com.openhtmltopdf.layout.LayoutContext c)
String
getAnchorName()
int
getBaseline()
int
getIntrinsicHeight()
int
getIntrinsicWidth()
Point
getLocation()
boolean
hasBaseline()
boolean
isRequiresInteractivePaint()
void
paint(com.openhtmltopdf.render.RenderingContext c, PdfBoxOutputDevice outputDevice, com.openhtmltopdf.render.BlockBox box)
void
setAnchorName(String anchorName)
void
setLocation(int x, int y)
-
-
-
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
-
getAnchorName
public String getAnchorName()
-
setAnchorName
public void setAnchorName(String anchorName)
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()
- Specified by:
isRequiresInteractivePaint
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
-
getBaseline
public int getBaseline()
- Specified by:
getBaseline
in interfacecom.openhtmltopdf.extend.ReplacedElement
-
hasBaseline
public boolean hasBaseline()
- Specified by:
hasBaseline
in interfacecom.openhtmltopdf.extend.ReplacedElement
-
-