Package com.openhtmltopdf.pdfboxout
Class BookmarkElement
- java.lang.Object
-
- com.openhtmltopdf.pdfboxout.BookmarkElement
-
- All Implemented Interfaces:
ReplacedElement,PdfBoxReplacedElement
public class BookmarkElement extends Object implements PdfBoxReplacedElement
-
-
Constructor Summary
Constructors Constructor Description BookmarkElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetach(LayoutContext c)StringgetAnchorName()intgetBaseline()intgetIntrinsicHeight()intgetIntrinsicWidth()PointgetLocation()booleanhasBaseline()booleanisRequiresInteractivePaint()voidpaint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box)voidsetAnchorName(String anchorName)voidsetLocation(int x, int y)
-
-
-
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
-
getAnchorName
public String getAnchorName()
-
setAnchorName
public void setAnchorName(String anchorName)
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()
- Specified by:
isRequiresInteractivePaintin interfaceReplacedElement
-
paint
public void paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box)
- Specified by:
paintin interfacePdfBoxReplacedElement
-
getBaseline
public int getBaseline()
- Specified by:
getBaselinein interfaceReplacedElement
-
hasBaseline
public boolean hasBaseline()
- Specified by:
hasBaselinein interfaceReplacedElement
-
-