| Package | Description |
|---|---|
| org.sejda.sambox.input | |
| org.sejda.sambox.output | |
| org.sejda.sambox.pdmodel | |
| org.sejda.sambox.pdmodel.common | |
| org.sejda.sambox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
| org.sejda.sambox.pdmodel.graphics.color | |
| org.sejda.sambox.pdmodel.interactive.documentnavigation.outline |
The outline package allows for a PDF outline(bookmarks) to be created.
|
| org.sejda.sambox.pdmodel.interactive.form |
The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".
|
| org.sejda.sambox.printing | |
| org.sejda.sambox.rendering | |
| org.sejda.sambox.text |
| Modifier and Type | Method and Description |
|---|---|
PDDocument |
IncrementablePDDocument.incremented() |
static PDDocument |
PDFParser.parse(org.sejda.io.SeekableSource source)
Parses the given
SeekableSource returning the corresponding PDDocument. |
static PDDocument |
PDFParser.parse(org.sejda.io.SeekableSource source,
DecryptionMaterial decryptionMaterial)
Parses the given
SeekableSource using the given DecryptionMaterial, returning the corresponding
decrypted PDDocument. |
static PDDocument |
PDFParser.parse(org.sejda.io.SeekableSource source,
String password)
Parses the given
SeekableSource using the given password, returning the corresponding decrypted
PDDocument. |
| Modifier and Type | Method and Description |
|---|---|
void |
PDDocumentWriter.write(PDDocument document)
Writes the
PDDocument. |
| Modifier and Type | Method and Description |
|---|---|
static PDDocument |
PDDocument.load(File file) |
| Constructor and Description |
|---|
PDDocumentCatalog(PDDocument doc)
Constructor.
|
PDDocumentCatalog(PDDocument doc,
COSDictionary rootDictionary)
Constructor.
|
PDPageContentStream(PDDocument doc,
PDFormXObject appearance)
Create a new appearance stream.
|
PDPageContentStream(PDDocument doc,
PDFormXObject appearance,
ContentStreamWriter writer)
Create a new appearance stream.
|
PDPageContentStream(PDDocument document,
PDPage sourcePage)
Create a new PDPage content stream.
|
PDPageContentStream(PDDocument document,
PDPage sourcePage,
PDPageContentStream.AppendMode appendContent,
boolean compress)
Create a new PDPage content stream.
|
PDPageContentStream(PDDocument document,
PDPage sourcePage,
PDPageContentStream.AppendMode appendContent,
boolean compress,
boolean resetContext)
Create a new PDPage content stream.
|
PDPageContentStream(PDDocument doc,
PDTilingPattern pattern,
ContentStreamWriter writer)
Create a new appearance stream.
|
| Modifier and Type | Method and Description |
|---|---|
static PDObjectStream |
PDObjectStream.createStream(PDDocument document)
This will create a new PDObjectStream object.
|
| Modifier and Type | Method and Description |
|---|---|
static PDType0Font |
PDType0Font.load(PDDocument doc,
File file)
Loads a TTF to be embedded into a document as a Type 0 font.
|
static PDType0Font |
PDType0Font.load(PDDocument doc,
InputStream input)
Loads a TTF to be embedded into a document as a Type 0 font.
|
static PDType0Font |
PDType0Font.load(PDDocument doc,
InputStream input,
boolean embedSubset)
Loads a TTF to be embedded into a document as a Type 0 font.
|
static PDType0Font |
PDType0Font.load(PDDocument doc,
org.apache.fontbox.ttf.TrueTypeFont ttf,
boolean embedSubset)
Loads a TTF to be embedded into a document as a Type 0 font.
|
static PDTrueTypeFont |
PDTrueTypeFont.load(PDDocument doc,
org.apache.fontbox.ttf.TrueTypeFont ttf,
Encoding encoding)
Loads a TTF to be embedded into a document as a simple font.
|
static PDType0Font |
PDType0Font.loadVertical(PDDocument doc,
File file)
Loads a TTF to be embedded into a document as a vertical Type 0 font.
|
static PDType0Font |
PDType0Font.loadVertical(PDDocument doc,
InputStream input)
Loads a TTF to be embedded into a document as a vertical Type 0 font.
|
static PDType0Font |
PDType0Font.loadVertical(PDDocument doc,
InputStream input,
boolean embedSubset)
Loads a TTF to be embedded into a document as a vertical Type 0 font.
|
static PDType0Font |
PDType0Font.loadVertical(PDDocument doc,
org.apache.fontbox.ttf.TrueTypeFont ttf,
boolean embedSubset)
Loads a TTF to be embedded into a document as a vertical Type 0 font.
|
| Constructor and Description |
|---|
PDType1Font(PDDocument doc,
InputStream pfbIn)
Creates a new Type 1 font for embedding.
|
PDType1Font(PDDocument doc,
InputStream pfbIn,
Encoding encoding)
Creates a new Type 1 font for embedding.
|
| Constructor and Description |
|---|
PDOutputIntent(PDDocument doc,
InputStream colorProfile) |
| Modifier and Type | Method and Description |
|---|---|
PDPage |
PDOutlineItem.findDestinationPage(PDDocument doc)
This method will attempt to find the page in this PDF document that this outline points to.
|
| Modifier and Type | Method and Description |
|---|---|
PDDocument |
PDAcroForm.getDocument()
This will get the document associated with this form.
|
| Constructor and Description |
|---|
PDAcroForm(PDDocument document) |
PDAcroForm(PDDocument document,
COSDictionary form) |
| Constructor and Description |
|---|
PDFPageable(PDDocument document)
Creates a new PDFPageable.
|
PDFPageable(PDDocument document,
Orientation orientation)
Creates a new PDFPageable with the given page orientation.
|
PDFPageable(PDDocument document,
Orientation orientation,
boolean showPageBorder)
Creates a new PDFPageable with the given page orientation and with optional page borders shown.
|
PDFPageable(PDDocument document,
Orientation orientation,
boolean showPageBorder,
float dpi)
Creates a new PDFPageable with the given page orientation and with optional page borders shown.
|
PDFPrintable(PDDocument document)
Creates a new PDFPrintable.
|
PDFPrintable(PDDocument document,
Scaling scaling)
Creates a new PDFPrintable with the given page scaling.
|
PDFPrintable(PDDocument document,
Scaling scaling,
boolean showPageBorder)
Creates a new PDFPrintable with the given page scaling and with optional page borders shown.
|
PDFPrintable(PDDocument document,
Scaling scaling,
boolean showPageBorder,
float dpi)
Creates a new PDFPrintable with the given page scaling and with optional page borders shown.
|
PDFPrintable(PDDocument document,
Scaling scaling,
boolean showPageBorder,
float dpi,
boolean center)
Creates a new PDFPrintable with the given page scaling and with optional page borders shown.
|
| Modifier and Type | Field and Description |
|---|---|
protected PDDocument |
PDFRenderer.document |
| Constructor and Description |
|---|
PDFRenderer(PDDocument document)
Creates a new PDFRenderer.
|
| Modifier and Type | Field and Description |
|---|---|
protected PDDocument |
PDFTextStripper.document |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PDFTextStripper.endDocument(PDDocument document)
This method is available for subclasses of this class.
|
String |
PDFTextStripper.getText(PDDocument doc)
This will return the text of a document.
|
protected void |
PDFTextStripper.startDocument(PDDocument document)
This method is available for subclasses of this class.
|
void |
PDFTextStripper.writeText(PDDocument doc,
Writer outputStream)
This will take a PDDocument and write the text of that document to the print writer.
|
Copyright © 2019 sejda. All rights reserved.