| Package | Description |
|---|---|
| de.intarsys.pdf.app.action |
Some application level framework to handle the event mechanics in a PDF document.
|
| de.intarsys.pdf.cds |
CDS (Common Data Structure) defines higher level data structures or types on top
of COS types that are used all over the PDF spec.
|
| de.intarsys.pdf.content |
The "content" package contains functionality to work on PDF content streams.
|
| de.intarsys.pdf.content.common |
Some common implementations on PDF content stream.
|
| de.intarsys.pdf.cos |
This package implements the low level document and its datatypes according to
the pdf specification.
|
| de.intarsys.pdf.encoding |
This package implements the encodings of the PDF spec.
|
| de.intarsys.pdf.fd |
A basic implementation of the FDF part of the PDF spec.
|
| de.intarsys.pdf.filter |
The filter relevant parts of the PDF spec.
|
| de.intarsys.pdf.font |
The font part of the PDF is quite large for itself, so it is extracted to a
package of its own.
|
| 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.
|
| de.intarsys.pdf.writer |
Serializing a PDF document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StandardActionProcessor.process(TriggerEvent event,
COSName actionType,
COSObject actionDefinition) |
void |
IActionProcessor.process(TriggerEvent event,
COSName actionType,
COSObject actionDefinition)
Process an
actionDefinition of type
actionType caused by event. |
void |
IActionHandler.process(TriggerEvent event,
COSObject actionDefinition)
Perform the
actionDefinition in the context of
event. |
| Modifier and Type | Method and Description |
|---|---|
COSObject |
CDSNameTreeNode.get(COSString name)
Answer the value associated with the key
name. |
abstract COSObject |
CDSTreeEntry.getKey() |
COSObject |
CDSNumberTreeEntry.getKey() |
COSObject |
CDSNameTreeEntry.getKey() |
COSObject |
CDSTreeEntry.getValue()
The value of the entry.
|
COSObject |
CDSNameTreeNode.put(COSString name,
COSObject value)
Store
value under the key given in name. |
COSObject |
CDSNameTreeNode.remove(COSString name)
Remove the mapping for key given in
name. |
COSObject |
CDSTreeEntry.setValue(COSObject object)
Set the value for entry.
|
| Modifier and Type | Method and Description |
|---|---|
COSObject |
CDSNameTreeNode.put(COSString name,
COSObject value)
Store
value under the key given in name. |
COSObject |
CDSTreeEntry.setValue(COSObject object)
Set the value for entry.
|
| Constructor and Description |
|---|
CDSNameTreeEntry(COSString name,
COSObject value)
Create an an entry for a name tree
|
CDSNumberTreeEntry(COSInteger number,
COSObject value)
Create an an entry for a number tree
|
CDSTreeEntry(COSObject value) |
CDSTreeNode(COSObject object) |
| Modifier and Type | Method and Description |
|---|---|
COSObject |
CSOperation.getOperand(int i)
The operand at index
i. |
COSObject |
CSOperation.setOperand(int i,
COSObject object)
Set operand at index
i to objec. |
| Modifier and Type | Method and Description |
|---|---|
void |
CSOperation.addOperand(COSObject object)
Add an operand at the end of the current operand list.
|
COSObject |
CSOperation.setOperand(int i,
COSObject object)
Set operand at index
i to objec. |
| Constructor and Description |
|---|
CSOperation(byte[] operatorToken,
COSObject[] operands) |
CSOperation(CSOperator operator,
COSObject[] operands) |
| Modifier and Type | Method and Description |
|---|---|
void |
CSCreator.perform(byte[] bytes,
COSObject... operand) |
void |
CSCreator.perform(CSOperator operator,
COSObject... operand) |
void |
CSCreator.perform(String string,
COSObject... operand) |
| Modifier and Type | Class and Description |
|---|---|
class |
COSArray
A COSArray represents an indexed collection of
COSDocumentElement
instances. |
class |
COSBoolean
Abstract class for the representation of boolean values
|
class |
COSCompositeObject
A superclass implementation for all containers of other
COSObject
instances. |
class |
COSDictionary
Represents a collection of associations (Map).
|
class |
COSFalse
Represents the boolean value "false".
|
class |
COSFixed
Represents floating point numbers in pdf.
|
class |
COSInteger
This class represents integer numbers in pdf
|
class |
COSName
A name object.
|
class |
COSNull
The null object
|
class |
COSNumber
Abstract superclass for numeric objects in a pdf document
|
class |
COSObjectProxy
A "proxy object" used to intercept the visitor callback from the serializer.
|
class |
COSPrimitiveObject
Primitive COS datatypes.
|
class |
COSStream
An object representing stream data in a PDF document.
|
class |
COSString
The string representation for a pdf document
|
class |
COSTrue
Represents the boolean value "true"
|
| Modifier and Type | Method and Description |
|---|---|
COSObject |
COSObject.beConstant()
Declare this to be a constant.
|
COSObject |
COSPrimitiveObject.copyDeep() |
abstract COSObject |
COSObject.copyDeep()
Make a deep copy of the receiver within the same document.
|
COSObject |
COSCompositeObject.copyDeep() |
COSObject |
COSStream.copyDeep(Map copied) |
COSObject |
COSPrimitiveObject.copyDeep(Map copied) |
COSObject |
COSObjectProxy.copyDeep(Map copied) |
abstract COSObject |
COSObject.copyDeep(Map copied)
Make a deep copy of the receiver within the same document.
|
COSObject |
COSDictionary.copyDeep(Map copied) |
COSObject |
COSCompositeObject.copyDeep(Map copied) |
COSObject |
COSArray.copyDeep(Map copied) |
COSObject |
COSObject.copyOptional()
Make a copy of the receiver within the same document.
|
COSObject |
COSStream.copyShallow() |
COSObject |
COSObjectProxy.copyShallow() |
COSObject |
COSObject.copyShallow()
Make a copy of the receiver.
|
COSObject |
COSDictionary.copyShallow() |
COSObject |
COSArray.copyShallow() |
COSObject |
COSObject.copySubGraph()
Make a copy of the receiver within the same document.
|
COSObject |
COSBasedObject.cosGetField(COSName name)
|
COSObject |
COSObjectProxy.cosGetObject()
The wrapped
COSObject, according to COS level semantics. |
COSObject |
COSBasedObject.cosGetObject()
The base
COSObject for this. |
COSObject |
COSCatalog.cosGetOpenAction()
The object defining the open action for the document.
|
COSObject |
COSBasedObject.cosRemoveField(COSName name)
Remove a field in this.
|
COSObject |
COSBasedObject.cosSetField(COSName name,
COSObject cosObj)
Set a field value in this.
|
static COSObject |
COSTools.createObject(Object javaObject)
Deprecated.
use
COSConverter |
COSObject |
COSObjectProxy.dereference() |
COSObject |
COSObject.dereference()
return the real object. this is needed for polymorphic handling of
document elements. at application programming level only
COSObject, never COSIndirectObject is seen. |
COSObject |
COSIndirectObject.dereference() |
abstract COSObject |
COSDocumentElement.dereference()
Return the real object.
|
COSObject |
COSDictionary.get(COSName key)
The
COSObject associated with key. |
COSObject |
COSArray.get(int index)
The
COSObject at the given index. |
COSObject |
COSStream.getDecodeParams()
The options or an array of options for filtering.
|
static COSObject |
COSStream.getDecodeParams(COSDictionary dict)
The options or an array of options for filtering.
|
COSObject |
COSStream.getFilters()
Return the filter or the collection of filters for the stream.
|
static COSObject |
COSStream.getFilters(COSDictionary dict)
Return the filter or the collection of filters for the stream.
|
COSObject |
COSObjectProxy.getObject()
The object represented by the proxy.
|
COSObject |
COSDictionary.keyOf(COSObject obj)
The key of obj when it is contained in this or
COSNull. |
COSObject |
COSDictionary.put(COSName key,
COSObject object)
Add an association to the collection.
|
COSObject |
COSDictionary.remove(COSName key)
Remove the element from the collection associated with
key. |
COSObject |
COSArray.remove(int index)
Remove the object at
index from the collection. |
COSObject |
COSArray.set(int i,
COSObject object)
Replace the object at index
i with object. |
COSObject |
COSBasedObject.setFieldBoolean(COSName name,
boolean value)
Set the value of field
namewithin this. |
COSObject |
COSBasedObject.setFieldFixed(COSName name,
float value)
Set the value of field
namewithin this. |
COSObject |
COSBasedObject.setFieldInt(COSName name,
int value)
Set the value of field
namewithin this. |
COSObject |
COSBasedObject.setFieldMLString(COSName name,
String value)
Set the value of field
namewithin this. |
COSObject |
COSBasedObject.setFieldName(COSName name,
String value)
Set the value of field
namewithin this. |
COSObject |
COSBasedObject.setFieldObject(COSName name,
COSBasedObject value)
Set the value of field
namewithin this. |
COSObject |
COSBasedObject.setFieldString(COSName name,
String value)
Set the value of field
namewithin this. |
static COSObject |
COSConverter.toCos(Object javaObject)
Try the best in marshalling java objects directly to
COSObject. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<COSObject> |
COSStream.iterator() |
Iterator<COSObject> |
COSPrimitiveObject.iterator() |
Iterator<COSObject> |
COSObjectProxy.iterator() |
abstract Iterator<COSObject> |
COSObject.iterator()
An iterator over contained objects.
|
Iterator<COSObject> |
COSDictionary.iterator() |
Iterator<COSObject> |
COSArray.iterator() |
Iterator<COSObject> |
COSDocument.objects()
An iterator on all COSObject instances of this that are managed as
indirect objects in the storage layer.
|
| Modifier and Type | Method and Description |
|---|---|
COSArray |
COSArray.add(COSObject object)
Add a
COSObject to the collection. |
COSArray |
COSArray.add(int index,
COSObject object)
Add a
COSObject to the collection. |
ICOSContainer |
ICOSContainer.associate(ICOSContainer newContainer,
COSObject object)
It is the responsibility of the current container to create the
association with the new one.
|
ICOSContainer |
COSIndirectObject.associate(ICOSContainer newContainer,
COSObject pObject) |
ICOSContainer |
COSDocument.associate(ICOSContainer newContainer,
COSObject object)
This method should not be used by the application programmer.
|
ICOSContainer |
COSCompositeObject.associate(ICOSContainer newContainer,
COSObject object) |
void |
ICOSObjectListener.changed(COSObject object,
Object slot,
Object oldValue,
Object newValue)
A COSObject has changed its internal state.
|
void |
COSBasedObject.changed(COSObject pObject,
Object slot,
Object oldValue,
Object newValue) |
COSDocumentElement |
ICOSContainer.containable(COSObject object)
The stand-in to be used when object should be contained in a container.
|
COSDocumentElement |
COSIndirectObject.containable(COSObject pObject) |
COSDocumentElement |
COSDocument.containable(COSObject object)
This method should not be used by the application programmer.
|
COSDocumentElement |
COSCompositeObject.containable(COSObject object) |
boolean |
COSDictionary.containsValue(COSObject obj)
Answer
true if obj is contained in the
collection |
COSObject |
COSBasedObject.cosSetField(COSName name,
COSObject cosObj)
Set a field value in this.
|
static COSIndirectObject |
COSIndirectObject.create(COSObject object)
Create an indirection for object.
|
COSBasedObject |
COSBasedObject.MetaClass.createFromCos(COSObject object) |
ICOSContainer |
ICOSContainer.disassociate(ICOSContainer oldContainer,
COSObject object)
It is the responsibility of the current container to remove the
association from the old one.
|
ICOSContainer |
COSIndirectObject.disassociate(ICOSContainer oldContainer,
COSObject pObject) |
ICOSContainer |
COSDocument.disassociate(ICOSContainer oldContainer,
COSObject object)
This method should not be used by the application programmer.
|
ICOSContainer |
COSCompositeObject.disassociate(ICOSContainer oldContainer,
COSObject object) |
void |
ICOSContainer.harden(COSObject object)
"Harden" the reference to
object, keeping it from being
garbage collected even if (temporarily) not accessed. |
void |
COSIndirectObject.harden(COSObject pObject) |
void |
COSDocument.harden(COSObject object) |
void |
COSCompositeObject.harden(COSObject object)
Propagate up the containment hierarchy
|
int |
COSArray.indexOf(COSObject object)
The index of
object within this or -1 if not found. |
COSObject |
COSDictionary.keyOf(COSObject obj)
The key of obj when it is contained in this or
COSNull. |
COSObject |
COSDictionary.put(COSName key,
COSObject object)
Add an association to the collection.
|
COSIndirectObject |
ICOSContainer.referenceIndirect(COSObject object)
Switch a contained object to an indirect one.
|
COSIndirectObject |
COSIndirectObject.referenceIndirect(COSObject pObject) |
COSIndirectObject |
COSDocument.referenceIndirect(COSObject object)
This method should not be used by the application programmer.
|
COSIndirectObject |
COSDictionary.referenceIndirect(COSObject object) |
COSIndirectObject |
COSCompositeObject.referenceIndirect(COSObject object)
Change the reference to the object contained in this to an indirect one
via reference.
|
COSIndirectObject |
COSArray.referenceIndirect(COSObject object) |
boolean |
COSArray.remove(COSObject object)
Remove
object from this. |
COSObject |
COSArray.set(int i,
COSObject object)
Replace the object at index
i with object. |
void |
ICOSContainer.soften(COSObject object)
"Soften" the reference to
object, making it accessible
for swapping out / garbage collection if the counter for hardening is
zero. |
void |
COSIndirectObject.soften(COSObject pObject) |
void |
COSDocument.soften(COSObject object) |
void |
COSCompositeObject.soften(COSObject object)
Propagate up the containment hierarchy
|
static COSDictionary |
COSTools.toDictionary(COSObject object)
Tries to force a dictionary out of the COSObject.
|
static Object |
COSConverter.toJava(COSObject object) |
static Object |
COSConverter.toJava(COSObject object,
Map visited) |
void |
ICOSContainer.willChange(COSObject object)
Propagate a change from a COSObject down in the hierarchy.
|
void |
COSIndirectObject.willChange(COSObject change) |
void |
COSDocument.willChange(COSObject change)
This method should not be used by the application programmer.
|
void |
COSCompositeObject.willChange(COSObject change) |
| Modifier and Type | Method and Description |
|---|---|
COSObject |
WinAnsiEncoding.cosGetObject() |
COSObject |
SymbolEncoding.cosGetObject() |
COSObject |
StandardEncoding.cosGetObject() |
COSObject |
PDFDocEncoding.cosGetObject() |
COSObject |
MappedEncoding.cosGetObject() |
COSObject |
MacRomanEncoding.cosGetObject() |
COSObject |
MacOSRomanEncoding.cosGetObject() |
abstract COSObject |
Encoding.cosGetObject()
Get an object that can be used as a representation of the receiver
encoding within
doc. |
COSObject |
CMapEncoding.cosGetObject() |
| Modifier and Type | Method and Description |
|---|---|
COSObject |
FDField.cosGetValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
FDField.cosSetValue(COSObject value) |
| Modifier and Type | Method and Description |
|---|---|
COSObject |
Filter.getOption(COSName name)
The decode option declared for the key
name or
COSNull. |
| Modifier and Type | Method and Description |
|---|---|
COSObject |
CIDFontType2.cosGetCIDToGIDMap() |
COSObject |
DifferenceEncoding.cosGetObject() |
COSObject |
AFMEncoding.cosGetObject() |
COSObject |
StreamBasedCMap.getDefinition(COSName key) |
| Constructor and Description |
|---|
CIDFontType0(COSObject object) |
CIDFontType2(COSObject object) |
PDFontType0(COSObject object) |
PDFontType3(COSObject object) |
PDSingleByteFont(COSObject object) |
| Modifier and Type | Method and Description |
|---|---|
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"
|
static COSObject |
PDFParser.toCOSObject(byte[] data)
parse the given byte array to a valid COSObject.
|
| Modifier and Type | Method and Description |
|---|---|
COSObject |
PDImage.cosGetColorSpace() |
COSObject |
PDPage.cosGetContents()
The /Contents entry
|
COSObject |
PDSignatureReference.cosGetData() |
COSObject |
PDApplicationData.cosGetData()
The private data entry or
COSNull |
COSObject |
PDAcroFormField.cosGetDefaultValue()
Tries to return a valid /DV entry:
returns its own /DV entry, if it is not null
returns the /DV entry of its logical root, if it is not null
returns the first /DV entry found of the logical roots kids
null if nothing was found
|
COSObject |
PDObject.cosGetFieldDescendant(COSName name)
Convenience method to access fields in
COSDictionary based
PDObject instances. |
COSObject |
PDObject.cosGetFieldInheritable(COSName name)
Convenience method to access fields in
COSDictionary based
PDObject instances. |
COSObject |
PDObject.cosGetFieldInherited(COSName name)
Convenience method to access inherited fields in
COSDictionary
based PDObject instances. |
COSObject |
PDImage.cosGetMask() |
COSObject |
PDResources.cosGetResource(COSName resourceType,
COSName resourceName) |
COSObject |
PDAcroFormField.cosGetValue()
Tries to return a valid /V entry:
returns its own /V entry, if it is not null
returns the /V entry of its logical root, if it is not null
returns the first /V entry found of the logical roots kids
null if nothing was found
|
COSObject |
PDAcroForm.cosGetXfa()
The /XFA entry of this.
|
COSObject |
PDObject.cosRemoveFieldInheritable(COSName name)
Convenience method to access fields in
COSDictionary based
PDObject instances. |
COSObject |
PDPage.cosSetContents(COSObject content)
Set the /Contents for the page
|
COSObject |
PDApplicationData.cosSetData(COSObject data)
Assign the private data.
|
COSObject |
PDMarkupAnnotation.cosSetField(COSName name,
COSObject cosObj) |
COSObject |
PDObject.cosSetFieldInheritable(COSName name,
COSObject cosObj)
Convenience method to access fields in
COSDictionary based
PDObject instances. |
COSObject |
PDAFSignatureField.cosSetValue(COSObject newValue) |
COSObject |
PDAFButtonField.cosSetValue(COSObject state) |
COSObject |
PDAcroFormField.cosSetValue(COSObject newValue)
Sets the /V entry in this node and removes all /V entries in child nodes.
|
COSObject |
PDDocument.lookupDestination(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
PDDocument.addDestination(String name,
COSObject destination) |
void |
PDResources.cosAddResource(COSName resourceType,
COSName resourceName,
COSObject resource) |
COSName |
PDResources.cosCreateResource(COSName resourceType,
COSObject resource) |
COSObject |
PDPage.cosSetContents(COSObject content)
Set the /Contents for the page
|
void |
PDSignatureReference.cosSetData(COSObject data) |
COSObject |
PDApplicationData.cosSetData(COSObject data)
Assign the private data.
|
COSObject |
PDMarkupAnnotation.cosSetField(COSName name,
COSObject cosObj) |
COSObject |
PDObject.cosSetFieldInheritable(COSName name,
COSObject cosObj)
Convenience method to access fields in
COSDictionary based
PDObject instances. |
COSObject |
PDAFSignatureField.cosSetValue(COSObject newValue) |
COSObject |
PDAFButtonField.cosSetValue(COSObject state) |
COSObject |
PDAcroFormField.cosSetValue(COSObject newValue)
Sets the /V entry in this node and removes all /V entries in child nodes.
|
static String |
PDActionJavaScript.decodeSource(COSObject cosSource) |
COSBasedObject |
PDCSSeparation.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
COSBasedObject |
PDCSPattern.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
COSBasedObject |
PDCSLab.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
COSBasedObject |
PDCSIndexed.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
COSBasedObject |
PDCSICCBased.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
COSBasedObject |
PDCSDeviceRGB.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
COSBasedObject |
PDCSDeviceN.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
COSBasedObject |
PDCSDeviceGray.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
COSBasedObject |
PDCSDeviceCMYK.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
COSBasedObject |
PDCSCalRGB.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
COSBasedObject |
PDCSCalGray.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
COSBasedObject |
PDColorSpace.MetaClass.doCreateCOSBasedObjectBasic(COSObject object) |
| Constructor and Description |
|---|
PDAFIntermediateNode(COSObject object) |
PDCircleAnnotation(COSObject object) |
PDDocumentTimeStamp(COSObject object) |
PDFileAttachmentAnnotation(COSObject object) |
PDInkAnnotation(COSObject object) |
PDLineAnnotation(COSObject object) |
PDPolygonAnnotation(COSObject object) |
PDPolylineAnnotation(COSObject object) |
PDSignatureLock(COSObject object) |
PDSignatureSeedValue(COSObject object) |
PDSquareAnnotation(COSObject object) |
PDStampAnnotation(COSObject object) |
| Modifier and Type | Method and Description |
|---|---|
abstract COSObject |
STXRefSection.cosGetObject() |
COSObject |
STTrailerXRefSection.cosGetObject() |
COSObject |
STStreamXRefSection.cosGetObject() |
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 |
STXRefEntryFree.load(STDocument doc,
ISystemSecurityHandler securityHandler) |
COSObject |
STXRefEntryCompressed.load(STDocument doc,
ISystemSecurityHandler securityHandler) |
abstract COSObject |
STXRefEntry.load(STDocument doc,
ISystemSecurityHandler securityHandler) |
COSObject |
COSObjectStream.loadObject(int index,
COSDocumentParser parser) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
COSWriter.toByteArray(COSObject object)
Create a byte array representation from a COSObject.
|
void |
COSWriter.writeObject(COSObject object)
This will write a cos object to the stream
|
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.