| Package | Description |
|---|---|
| de.intarsys.pdf.cos |
This package implements the low level document and its datatypes according to
the pdf specification.
|
| de.intarsys.pdf.parser |
Everything related to reading PDF and COS data from data streams.
|
| de.intarsys.pdf.pd |
The higher level building blocks of a PDF document.
|
| de.intarsys.pdf.st |
The storage level semantics of a PDF document.
|
| Modifier and Type | Method and Description |
|---|---|
COSDocument |
StandardDocumentFactory.createDocument(de.intarsys.tools.locator.ILocator locator,
Map options) |
COSDocument |
ICOSDocumentFactory.createDocument(de.intarsys.tools.locator.ILocator locator,
Map options)
Create a COSDocument instance representing the object structure of the
PDF file designated by locator.
|
static COSDocument |
COSDocument.createFromLocator(de.intarsys.tools.locator.ILocator locator) |
static COSDocument |
COSDocument.createFromLocator(de.intarsys.tools.locator.ILocator locator,
Map options)
Create a COSDocument based on a Locator.
|
static COSDocument |
COSDocument.createFromST(STDocument doc)
Create a COSDocument based on a STDocument.
|
static List<COSTools.Revision> |
COSTools.getRevisions(COSDocument doc) |
static List<COSTools.Revision> |
COSTools.getSubsequentRevisions(COSDocument doc,
STXRefSection base) |
static List<de.intarsys.tools.locator.ILocator> |
COSTools.getVersions(COSDocument doc)
A collection of
ILocator instances, representing the versions
created when writing incrementally. |
void |
COSDocument.restore(de.intarsys.tools.locator.ILocator locator)
Restore this from a locator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
COSLoadError |
class |
COSLoadWarning |
| Modifier and Type | Method and Description |
|---|---|
void |
IPDFParserExceptionHandler.error(COSLoadError error) |
void |
PDFParser.handleError(COSLoadError error)
Handle an error if an exceptionHandler is set.
|
void |
PDFParser.handleWarning(COSLoadWarning warning)
Handle a warning if an exceptionHandler is set.
|
Object |
PDFParser.parseElement(de.intarsys.tools.randomaccess.IRandomAccess input)
parse the basic elements from the current stream position.
|
STDocType |
PDFParser.parseHeader(de.intarsys.tools.randomaccess.IRandomAccess input)
pdf header see PDF Reference v1.4, chapter 3.4.1 Header COSHEader ::=
"%PDF-" version.
|
COSObject |
COSDocumentParser.parseIndirectObject(de.intarsys.tools.randomaccess.IRandomAccess input,
ISystemSecurityHandler securityHandler)
read a pdf style object from the input. see PDF Reference v1.4, chapter
3.2.9 Indirect Objects COSIndirectObject ::= ObjNum GenNum "obj" Object
"endobj"
|
int |
COSDocumentParser.parseStartXRef(de.intarsys.tools.randomaccess.IRandomAccess input)
the startxref value.
|
CSContent |
CSContentParser.parseStream(byte[] data)
parse a content stream.
|
CSContent |
CSContentParser.parseStream(de.intarsys.tools.randomaccess.IRandomAccess input)
parse a content stream.
|
COSDictionary |
COSDocumentParser.parseTrailer(de.intarsys.tools.randomaccess.IRandomAccess input)
parse the trailer section from the current stream position. see PDF
Reference v1.4, chapter 3.4.4 File Trailer DocumentTrailer ::= "trailer"
COSDict "startxref" COSNumber
|
int |
COSDocumentParser.searchLastStartXRef(de.intarsys.tools.randomaccess.IRandomAccess input)
Searches the offset to the first trailer in the last SEARCH_BUFFER_SIZE
bytes of the document.
|
int |
COSDocumentParser.searchLinearized(de.intarsys.tools.randomaccess.IRandomAccess input)
Deprecated.
Don't use this anymore
Returns the offset of the dictionary with linearization
parameters if any. Returns -1 otherwise.
|
static COSObject |
PDFParser.toCOSObject(byte[] data)
parse the given byte array to a valid COSObject.
|
void |
IPDFParserExceptionHandler.warning(COSLoadWarning warning) |
| Modifier and Type | Method and Description |
|---|---|
static PDDocument |
PDDocument.createFromLocator(de.intarsys.tools.locator.ILocator locator) |
static PDDocument |
PDDocument.createFromLocator(de.intarsys.tools.locator.ILocator locator,
Map options) |
void |
PDDocument.restore(de.intarsys.tools.locator.ILocator locator) |
| Modifier and Type | Method and Description |
|---|---|
static STDocument |
STDocument.createFromLocator(de.intarsys.tools.locator.ILocator locator)
Create a new document representing the data referenced by locator.
|
static STDocument |
STDocument.createFromLocator(de.intarsys.tools.locator.ILocator locator,
Map options)
Create a new document representing the data referenced by locator using
options to fine tune creation. |
COSObject |
STDocument.load(COSIndirectObject ref)
Load a COSObject from the documents data.
|
COSObject |
STXRefSection.load(int objectNumber,
ISystemSecurityHandler securityHandler) |
COSObject |
STTrailerXRefSection.load(int objectNumber,
ISystemSecurityHandler securityHandler) |
COSObject |
STXRefEntryOccupied.load(STDocument doc,
ISystemSecurityHandler securityHandler) |
COSObject |
STXRefEntryCompressed.load(STDocument doc,
ISystemSecurityHandler securityHandler) |
abstract COSObject |
STXRefEntry.load(STDocument doc,
ISystemSecurityHandler securityHandler) |
void |
STDocument.loadAll() |
COSObject |
COSObjectStream.loadObject(int index,
COSDocumentParser parser) |
void |
COSObjectStream.parse(int index,
COSDocumentParser parser) |
STXRefSection |
XRefTrailerParser.parse(de.intarsys.tools.randomaccess.IRandomAccess randomAcces) |
STXRefSection |
XRefStreamParser.parse(de.intarsys.tools.randomaccess.IRandomAccess randomAcces) |
STXRefSection |
XRefFallbackParser.parse(de.intarsys.tools.randomaccess.IRandomAccess input) |
abstract STXRefSection |
AbstractXRefParser.parse(de.intarsys.tools.randomaccess.IRandomAccess randomAcces)
Parser the
STXRefSection from the randomAccess. |
void |
STDocument.reparseFromLocator()
Reparses the XREF sections without actually instantiating.
|
void |
STDocument.restore(de.intarsys.tools.locator.ILocator newLocator) |
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.