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 Details

    • BookmarkElement

      public BookmarkElement()
  • Method Details

    • getIntrinsicWidth

      public int getIntrinsicWidth()
      Specified by:
      getIntrinsicWidth in interface com.openhtmltopdf.extend.ReplacedElement
    • getIntrinsicHeight

      public int getIntrinsicHeight()
      Specified by:
      getIntrinsicHeight in interface com.openhtmltopdf.extend.ReplacedElement
    • getLocation

      public Point getLocation()
      Specified by:
      getLocation in interface com.openhtmltopdf.extend.ReplacedElement
    • setLocation

      public void setLocation​(int x, int y)
      Specified by:
      setLocation in interface com.openhtmltopdf.extend.ReplacedElement
    • detach

      public void detach​(com.openhtmltopdf.layout.LayoutContext c)
      Specified by:
      detach in interface com.openhtmltopdf.extend.ReplacedElement
    • getAnchorName

      public String getAnchorName()
    • setAnchorName

      public void setAnchorName​(String anchorName)
    • isRequiresInteractivePaint

      public boolean isRequiresInteractivePaint()
      Specified by:
      isRequiresInteractivePaint in interface com.openhtmltopdf.extend.ReplacedElement
    • paint

      public void paint​(com.openhtmltopdf.render.RenderingContext c, PdfBoxOutputDevice outputDevice, com.openhtmltopdf.render.BlockBox box)
      Specified by:
      paint in interface PdfBoxReplacedElement
    • getBaseline

      public int getBaseline()
      Specified by:
      getBaseline in interface com.openhtmltopdf.extend.ReplacedElement
    • hasBaseline

      public boolean hasBaseline()
      Specified by:
      hasBaseline in interface com.openhtmltopdf.extend.ReplacedElement