Package | Description |
---|---|
org.apache.pdfbox.contentstream |
This package contains provides classes for working with content streams.
|
org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
org.apache.pdfbox.pdmodel.interactive.annotation |
The annotation package contains classes that work with PDF annotation elements.
|
org.apache.pdfbox.pdmodel.interactive.annotation.handlers | |
org.apache.pdfbox.pdmodel.interactive.form |
The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".
|
Modifier and Type | Method and Description |
---|---|
PDAppearanceStream |
PDFStreamEngine.getAppearance(PDAnnotation annotation)
Returns the appearance stream to process for the given annotation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PDFStreamEngine.processAnnotation(PDAnnotation annotation,
PDAppearanceStream appearance)
Process the given annotation with the specified appearance stream.
|
Constructor and Description |
---|
PDAppearanceContentStream(PDAppearanceStream appearance)
Create a new appearance stream.
|
PDAppearanceContentStream(PDAppearanceStream appearance,
boolean compress)
Create a new appearance stream.
|
PDAppearanceContentStream(PDAppearanceStream appearance,
java.io.OutputStream outputStream)
Create a new appearance stream.
|
PDPageContentStream(PDDocument doc,
PDAppearanceStream appearance)
Create a new appearance stream.
|
PDPageContentStream(PDDocument doc,
PDAppearanceStream appearance,
java.io.OutputStream outputStream)
Create a new appearance stream.
|
Modifier and Type | Method and Description |
---|---|
PDAppearanceStream |
PDAppearanceEntry.getAppearanceStream()
Returns the entry as an appearance stream.
|
PDAppearanceStream |
PDAnnotation.getNormalAppearanceStream()
Returns the appearance stream for this annotation, if any.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<COSName,PDAppearanceStream> |
PDAppearanceEntry.getSubDictionary()
Returns the entry as an appearance subdictionary.
|
Modifier and Type | Method and Description |
---|---|
void |
PDAppearanceDictionary.setDownAppearance(PDAppearanceStream ap)
This will set the down appearance when there is down appearance to be shown.
|
void |
PDAppearanceDictionary.setNormalAppearance(PDAppearanceStream ap)
This will set the normal appearance when there is only one appearance to be shown.
|
void |
PDAppearanceDictionary.setRolloverAppearance(PDAppearanceStream ap)
This will set the rollover appearance when there is rollover appearance to be shown.
|
Modifier and Type | Method and Description |
---|---|
private void |
PDAbstractAppearanceHandler.setTransformationMatrix(PDAppearanceStream appearanceStream) |
Modifier and Type | Method and Description |
---|---|
private PDAppearanceStream |
AppearanceGeneratorHelper.prepareNormalAppearanceStream(PDAnnotationWidget widget) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
PDDefaultAppearanceString.copyNeededResourcesTo(PDAppearanceStream appearanceStream)
Copies any needed resources from the document’s DR dictionary into the stream’s Resources
dictionary.
|
private void |
AppearanceGeneratorHelper.initializeAppearanceContent(PDAnnotationWidget widget,
PDAppearanceStream appearanceStream)
Initialize the content of the appearance stream.
|
private void |
AppearanceGeneratorHelper.insertGeneratedAppearance(PDAnnotationWidget widget,
PDAppearanceStream appearanceStream,
java.io.OutputStream output)
Generate and insert text content and clipping around it.
|
private void |
AppearanceGeneratorHelper.insertGeneratedCombAppearance(PDPageContentStream contents,
PDAppearanceStream appearanceStream,
PDFont font,
float fontSize)
Generate the appearance for comb fields.
|
private void |
AppearanceGeneratorHelper.insertGeneratedListboxAppearance(PDPageContentStream contents,
PDAppearanceStream appearanceStream,
PDRectangle contentRect,
PDFont font,
float fontSize) |
private void |
AppearanceGeneratorHelper.insertGeneratedListboxSelectionHighlight(PDPageContentStream contents,
PDAppearanceStream appearanceStream,
PDFont font,
float fontSize) |
private PDRectangle |
AppearanceGeneratorHelper.resolveBoundingBox(PDAnnotationWidget fieldWidget,
PDAppearanceStream appearanceStream)
Resolve the bounding box.
|
private boolean |
PDAcroForm.resolveNeedsTranslation(PDAppearanceStream appearanceStream)
Check if there is a translation needed to place the annotations content.
|
private void |
AppearanceGeneratorHelper.setAppearanceContent(PDAnnotationWidget widget,
PDAppearanceStream appearanceStream)
Constructs and sets new contents for given appearance stream.
|
private java.util.List<java.lang.Object> |
AppearanceGeneratorHelper.tokenize(PDAppearanceStream appearanceStream)
Parses an appearance stream into tokens.
|
private void |
AppearanceGeneratorHelper.writeToStream(byte[] data,
PDAppearanceStream appearanceStream)
Writes the stream to the actual stream in the COSStream.
|