Deprecated
Use fast link manager instead.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | PdfBoxLinkManager.
All Elements which can have a shaped image map implement this |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final float | |
| private final List | |
| private final Map | |
| private final PdfBoxOutputDevice | |
| 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 String | |
| public static Rectangle2D | createTargetArea(RenderingContext c, Box box, float pageHeight, AffineTransform transform, Box _root, PdfBoxOutputDevice _od)
|
| private static boolean | |
| private boolean | placeAnnotation(AffineTransform transform, Shape linkShape, Rectangle2D targetArea, PDAnnotationLink 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 | |
| _links | back to summary |
|---|---|
| private final List<PdfBoxLinkManager. | |
| _linkTargetAreas | back to summary |
|---|---|
| private final Map<PDPage, Set<String>> _linkTargetAreas | |
| _od | back to summary |
|---|---|
| private final PdfBoxOutputDevice _od | |
| _root | back to summary |
|---|---|
| private final Box _root | |
| _sharedContext | back to summary |
|---|---|
| private final SharedContext _sharedContext | |
| PdfBoxLinkManager | back to summary |
|---|---|
| public PdfBoxLinkManager(SharedContext ctx, float dotsPerPoint, Box root, PdfBoxOutputDevice od) | |
| add | back to summary |
|---|---|
| private Rectangle2D add(Rectangle2D r1, Rectangle2D r2) | |
| addLinkToPage | back to summary |
|---|---|
| private void addLinkToPage(PDPage page, PDAnnotationLink annot) | |
| 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) | |
| 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. | |
| placeAnnotation | back to summary |
|---|---|
private boolean placeAnnotation(AffineTransform transform, Shape linkShape, Rectangle2D targetArea, PDAnnotationLink 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() | |
| removeDoublicatePoints | back to summary |
|---|---|
| private static void removeDoublicatePoints(List<Point2D. | |
| getLinkMap | back to summary |
|---|---|
| public Map | |
| 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 |
|---|---|
| public |
| 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 |
|---|---|
| public LinkDetails() | |