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 void
detach(LayoutContext c)
String
getAnchorName()
int
getBaseline()
int
getIntrinsicHeight()
int
getIntrinsicWidth()
Point
getLocation()
boolean
hasBaseline()
boolean
isRequiresInteractivePaint()
void
paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box)
void
setAnchorName(String anchorName)
void
setLocation(int x, int y)
-
-
-
Method Detail
-
getIntrinsicWidth
public int getIntrinsicWidth()
- Specified by:
getIntrinsicWidth
in interfaceReplacedElement
-
getIntrinsicHeight
public int getIntrinsicHeight()
- Specified by:
getIntrinsicHeight
in interfaceReplacedElement
-
getLocation
public Point getLocation()
- Specified by:
getLocation
in interfaceReplacedElement
-
setLocation
public void setLocation(int x, int y)
- Specified by:
setLocation
in interfaceReplacedElement
-
detach
public void detach(LayoutContext c)
- Specified by:
detach
in interfaceReplacedElement
-
getAnchorName
public String getAnchorName()
-
setAnchorName
public void setAnchorName(String anchorName)
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()
- Specified by:
isRequiresInteractivePaint
in interfaceReplacedElement
-
paint
public void paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box)
- Specified by:
paint
in interfacePdfBoxReplacedElement
-
getBaseline
public int getBaseline()
- Specified by:
getBaseline
in interfaceReplacedElement
-
hasBaseline
public boolean hasBaseline()
- Specified by:
hasBaseline
in interfaceReplacedElement
-
-