Package com.openhtmltopdf.pdfboxout
Class PdfBoxBookmarkManager
- java.lang.Object
-
- com.openhtmltopdf.pdfboxout.PdfBoxBookmarkManager
-
public class PdfBoxBookmarkManager extends Object
-
-
Constructor Summary
Constructors Constructor Description PdfBoxBookmarkManager(Document xml, org.apache.pdfbox.pdmodel.PDDocument doc, SharedContext sharedContext, float dotsPerPoint, PdfBoxFastOutputDevice od)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageXYZDestination
createBoxDestination(RenderingContext c, org.apache.pdfbox.pdmodel.PDDocument writer, PdfBoxFastOutputDevice od, float dotsPerPoint, Box root, Box box)
Creates aPDPageXYZDestination
with the Y set to the min Y of the border box and the X and Z set to null.void
loadBookmarks()
void
writeOutline(RenderingContext c, Box root)
-
-
-
Constructor Detail
-
PdfBoxBookmarkManager
public PdfBoxBookmarkManager(Document xml, org.apache.pdfbox.pdmodel.PDDocument doc, SharedContext sharedContext, float dotsPerPoint, PdfBoxFastOutputDevice od)
-
-
Method Detail
-
writeOutline
public void writeOutline(RenderingContext c, Box root)
-
createBoxDestination
public static org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageXYZDestination createBoxDestination(RenderingContext c, org.apache.pdfbox.pdmodel.PDDocument writer, PdfBoxFastOutputDevice od, float dotsPerPoint, Box root, Box box)
Creates aPDPageXYZDestination
with the Y set to the min Y of the border box and the X and Z set to null. Takes into account any transforms set for the box as well as inserted overflow pages.
-
loadBookmarks
public void loadBookmarks()
-
-