| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final float | |
| private PDAppearanceDictionary | _embeddedFileAppearance
The lazily created appearance dict for emedded files. |
| private final Map | _embeddedFiles
A map from uri to embedded file, so we don't embed files twice in case of a split link (example, two link boxes are formed when a link breaks in the middle). |
| private final List | |
| private final Map | |
| private final PdfBoxFastOutputDevice | |
| private PdfBoxAccessibilityHelper | |
| private final Box | |
| private final SharedContext |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Rectangle2D | |
| private void | |
| private void | addUriAsLink(RenderingContext c, Box box, PDPage page, float pageHeight, AffineTransform transform, Element elem, NamespaceHandler handler, String uri, Shape linkShape)
|
| private Rectangle2D | |
| private Rectangle2D | checkLinkArea(PDPage page, RenderingContext c, Box box, float pageHeight, AffineTransform transform, Shape linkShape)
|
| private PDPageXYZDestination | |
| private AnnotationContainer | createFileEmbedLinkAnnotation(Element elem, String uri)
Create a file attachment link, being careful not to embed the same file (as specified by uri) more than once. |
| private PDAppearanceDictionary | createFileEmbedLinkAppearance()
Create an empty appearance stream to hide the pin icon used by various pdf reader for signaling an embedded file |
| private String | |
| public static Rectangle2D | createTargetArea(RenderingContext c, Box box, float pageHeight, AffineTransform transform, Box _root, PdfBoxOutputDevice _od)
|
| private static boolean | |
| private static boolean | |
| pack-priv static PdfBoxFastLinkManager. | |
| private boolean | placeAnnotation(AffineTransform transform, Shape linkShape, Rectangle2D targetArea, AnnotationContainer annot)
|
| private void | |
| public void | processLinkLater(RenderingContext c, Box box, PDPage page, float pageHeight, AffineTransform transform)
|
| public void | |
| private static void |
| _dotsPerPoint | back to summary |
|---|---|
| private final float _dotsPerPoint | |
| _embeddedFileAppearance | back to summary |
|---|---|
| private PDAppearanceDictionary _embeddedFileAppearance The lazily created appearance dict for emedded files. | |
| _embeddedFiles | back to summary |
|---|---|
| private final Map<String, PDComplexFileSpecification> _embeddedFiles A map from uri to embedded file, so we don't embed files twice in case of a split link (example, two link boxes are formed when a link breaks in the middle). | |
| _links | back to summary |
|---|---|
| private final List<PdfBoxFastLinkManager. | |
| _linkTargetAreas | back to summary |
|---|---|
| private final Map<PDPage, Set<String>> _linkTargetAreas | |
| _od | back to summary |
|---|---|
| private final PdfBoxFastOutputDevice _od | |
| _pdfUa | back to summary |
|---|---|
| private PdfBoxAccessibilityHelper _pdfUa | |
| _root | back to summary |
|---|---|
| private final Box _root | |
| _sharedContext | back to summary |
|---|---|
| private final SharedContext _sharedContext | |
| PdfBoxFastLinkManager | back to summary |
|---|---|
| public PdfBoxFastLinkManager(SharedContext ctx, float dotsPerPoint, Box root, PdfBoxFastOutputDevice od) | |
| add | back to summary |
|---|---|
| private Rectangle2D add(Rectangle2D r1, Rectangle2D r2) | |
| addLinkToPage | back to summary |
|---|---|
| private void addLinkToPage(PDPage page, AnnotationContainer annot, Box anchor, Box target) | |
| addUriAsLink | back to summary |
|---|---|
| private void addUriAsLink(RenderingContext c, Box box, PDPage page, float pageHeight, AffineTransform transform, Element elem, NamespaceHandler handler, String uri, Shape linkShape) | |
| calcTotalLinkArea | back to summary |
|---|---|
| private Rectangle2D calcTotalLinkArea(RenderingContext c, Box box, float pageHeight, AffineTransform transform) | |
| checkLinkArea | back to summary |
|---|---|
| private Rectangle2D checkLinkArea(PDPage page, RenderingContext c, Box box, float pageHeight, AffineTransform transform, Shape linkShape) | |
| createDestination | back to summary |
|---|---|
| private PDPageXYZDestination createDestination(RenderingContext c, Box box) | |
| createFileEmbedLinkAnnotation | back to summary |
|---|---|
| private AnnotationContainer createFileEmbedLinkAnnotation(Element elem, String uri) Create a file attachment link, being careful not to embed the same file (as specified by uri) more than once. The element should have the following attributes: download="embedded-filename.ext", data-content-type="file-mime-type" which defaults to "application/octet-stream", relationship (required for PDF/A3), one of: "Source", "Supplement", "Data", "Alternative", "Unspecified", title="file description" (recommended for PDF/A3). | |
| createFileEmbedLinkAppearance | back to summary |
|---|---|
| private PDAppearanceDictionary createFileEmbedLinkAppearance() Create an empty appearance stream to hide the pin icon used by various pdf reader for signaling an embedded file | |
| createRectKey | back to summary |
|---|---|
| private String createRectKey(Rectangle2D rect, Shape linkShape, AffineTransform transform) | |
| createTargetArea | back to summary |
|---|---|
| public static Rectangle2D createTargetArea(RenderingContext c, Box box, float pageHeight, AffineTransform transform, Box _root, PdfBoxOutputDevice _od) | |
| isPointEqual | back to summary |
|---|---|
| private static boolean isPointEqual(Point2D. | |
| isURI | back to summary |
|---|---|
| private static boolean isURI(String uri) | |
| mapShapeToQuadPoints | back to summary |
|---|---|
| pack-priv static PdfBoxFastLinkManager. | |
| placeAnnotation | back to summary |
|---|---|
private boolean placeAnnotation(AffineTransform transform, Shape linkShape, Rectangle2D targetArea, AnnotationContainer annot)
| |
| processLink | back to summary |
|---|---|
| private void processLink(RenderingContext c, Box box, PDPage page, float pageHeight, AffineTransform transform) | |
| processLinkLater | back to summary |
|---|---|
| public void processLinkLater(RenderingContext c, Box box, PDPage page, float pageHeight, AffineTransform transform) | |
| processLinks | back to summary |
|---|---|
| public void processLinks(PdfBoxAccessibilityHelper pdfUa) | |
| removeDoublicatePoints | back to summary |
|---|---|
| private static void removeDoublicatePoints(List<Point2D. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Box | |
| pack-priv RenderingContext | |
| pack-priv PDPage | |
| pack-priv float | |
| pack-priv AffineTransform |
| Access | Constructor and Description |
|---|---|
| private |
| box | back to summary |
|---|---|
| pack-priv Box box | |
| c | back to summary |
|---|---|
| pack-priv RenderingContext c | |
| page | back to summary |
|---|---|
| pack-priv PDPage page | |
| pageHeight | back to summary |
|---|---|
| pack-priv float pageHeight | |
| transform | back to summary |
|---|---|
| pack-priv AffineTransform transform | |
| LinkDetails | back to summary |
|---|---|
| private LinkDetails() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Rectangle2D | |
| pack-priv float[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| boundingBox | back to summary |
|---|---|
| pack-priv Rectangle2D boundingBox | |
| quadPoints | back to summary |
|---|---|
| pack-priv float[] quadPoints | |
| QuadPointShape | back to summary |
|---|---|
| pack-priv QuadPointShape() | |