| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private float | |
| private float | |
| private final List | |
| private Area | |
| private FSColor | |
| private PdfContentStreamAdapter | |
| private PDDestination | |
| private float | |
| private FSColor | |
| private PdfBoxFSFont | |
| private PdfBoxGraphics2DFontTextDrawer | |
| private final PdfBoxPerDocumentFormState | |
| private PdfBoxLinkManager | _linkManager
References Deprecated
PdfBoxLinkManager is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private final List | |
| private Stroke | |
| private Stroke | |
| private PDPage | |
| private float | |
| private RenderingContext | |
| private BidiReorderer | |
| private Box | |
| private SharedContext | |
| private int | |
| private Stroke | |
| private FSColor | |
| private final boolean | |
| private AffineTransform | |
| private PDDocument | |
| private static final int | |
| private int | |
| private static final int | |
| private static final AffineTransform | |
| private static final boolean | |
| private static final int | |
| private static final BasicStroke | |
| private final Deque |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addMetadata(String
the name of the metadata element to add. name, String value)Implements com. Appends a name/content metadata pair to this output device. |
| private PagePosition | |
| private void | |
| public void | |
| public void | close()
Implements com. Perform any internal cleanup needed |
| public void | |
| public void | drawBorderLine(Shape bounds, int side, int lineWidth, boolean solid)
Implements com.
|
| public void | drawImage(FSImage fsImage, int x, int y, boolean interpolate)
Implements com.
|
| protected void | drawLine(int x1, int y1, int x2, int y2)
Implements abstract com.
|
| public void | drawOval(int x, int y, int width, int height)
Implements com.
|
| public void | drawPdfAsImage(PDFormXObject _src, Rectangle contentBounds, float intrinsicWidth, float intrinsicHeight)
Implements com.
|
| public void | drawRect(int x, int y, int width, int height)
Implements com.
|
| public void | |
| public void | drawString(String s, float x, float y, JustificationInfo info)
Implements com.
|
| public void | drawStringFast(String s, float x, float y, JustificationInfo info, PdfBoxFontResolver.
Implements com.
|
| public void | drawWithGraphics(float x, float y, float width, float height, OutputDeviceGraphicsDrawer renderer)
Implements com. Draw something using a Graphics2D at the given rectangle. |
| public void | |
| private void | |
| private void | |
| public void | |
| public void | fillOval(int x, int y, int width, int height)
Implements com.
|
| public void | fillRect(int x, int y, int width, int height)
Implements com.
|
| public List | |
| public void | finish(RenderingContext c, Box root)
Implements com.
|
| public void | |
| private void | |
| public float | |
| public float | |
| public Shape | |
| public PdfContentStreamAdapter | |
| public float | getDeviceLength(float length)
Implements com. Given a value in dots units, converts to PDF points. |
| public float | |
| public List | Returns: All metadata entriesImplements com.
|
| public String | Returns: the content value of the first found metadata element; otherwise null.the metadata element name to locate. name)Implements com. Searches the metadata name/content pairs of the current document and returns the content value from the first pair with a matching name. |
| public List | Returns: an ArrayList with matching content values; otherwise an empty list.the metadata element name to locate. name)Implements com. Searches the metadata name/content pairs of the current document and returns any content values with a matching name in an ArrayList. |
| public PDPage | |
| public int | |
| public Object | |
| public SharedContext | |
| public int | |
| public Stroke | |
| private AffineTransform | |
| public PDDocument | |
| private void | |
| public void | initializePage(PDPageContentStream currentPage, PDPage page, float height)
Implements com. Start a page. |
| public boolean | isFastRenderer()
Implements com. The new (2018) fast renderer is in use. |
| public boolean | |
| public boolean | |
| public boolean | |
| private void | |
| private void | |
| private void | loadMetadata(Document
the Document level node of the parsed xhtml file. doc)Locates and stores all metadata values in the document head that contain name/content pairs. |
| private Object[] | |
| private AffineTransform | normalizeMatrix(AffineTransform current)
This returns a matrix that will convert y values to bottom up coordinate space (as used by PDFs). |
| private AffineTransform | |
| private float | |
| public float | normalizeY(float y, float pageHeight)
Implements com. Converts a top down unit to a bottom up PDF unit for the specified page height. |
| private void | |
| public void | paintBackground(RenderingContext c, Box box)
Overrides com. Implements com. We use paintBackground to do extra stuff such as processing links, forms and form controls. |
| public void | |
| public void | popClip()
Implements com. Reverts the last clip on the stack. |
| public void | popTransformLayer()
Implements com. Reverts the transform on the stack. |
| public void | |
| private void | |
| public void | pushClip(Shape s)
Implements com. Applies a clip on the output device. |
| public void | pushTransformLayer(AffineTransform transform)
Implements com. Applies a transform on the output device. |
| public List | pushTransforms(List<AffineTransform> transforms)
Implements com. Apply the given transform on top of the current one in the PDF graphics stream. |
| public void | |
| private void | |
| public void | setBidiReorderer(BidiReorderer reorderer)
Implements com.
|
| public void | |
| public void | |
| public void | |
| public void | setMetadata(String
the metadata element name to locate. name, String value)Implements com. Replaces all copies of the named metadata with a single value. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setSharedContext(SharedContext sharedContext)
Implements com.
|
| public void | setStartPageNo(int startPageNo)
Implements com.
|
| public void | |
| private void | |
| public void | |
| public void | |
| public Object | startStructure(StructureType type, Box box)
Implements com. Propagate the structure heirachy to allow for PDF/UA compliance. |
| private Stroke | |
| public void | translate(double tx, double ty)
Implements com.
|
| private void | writeBookmark(RenderingContext c, Box root, PDOutlineNode parent, PdfBoxSlowOutputDevice.
|
| private void | writeBookmarks(RenderingContext c, Box root, PDOutlineNode parent, List<PdfBoxSlowOutputDevice.
|
| private void |