Package | Description |
---|---|
org.apache.pdfbox.contentstream |
This package contains provides classes for working with content streams.
|
org.apache.pdfbox.contentstream.operator |
This package contains implementations of all of the PDF operators.
|
org.apache.pdfbox.contentstream.operator.color | |
org.apache.pdfbox.contentstream.operator.graphics |
This package contains implementations of all of the PDF graphics operators.
|
org.apache.pdfbox.contentstream.operator.markedcontent | |
org.apache.pdfbox.contentstream.operator.state | |
org.apache.pdfbox.contentstream.operator.text | |
org.apache.pdfbox.cos |
These are the low level objects that make up a PDF document.
|
org.apache.pdfbox.debugger.ui | |
org.apache.pdfbox.examples.util |
The packages in this package will show how to use the PDFBox util API.
|
org.apache.pdfbox.multipdf | |
org.apache.pdfbox.pdfparser |
The pdfparser package contains classes to parse PDF documents and objects within the document.
|
org.apache.pdfbox.pdfwriter |
This is the persistence layer used to write the PDFBox documents to a stream.
|
org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
org.apache.pdfbox.pdmodel.common |
High level PD classes that are used throughout several packages are placed in the PDModel common package.
|
org.apache.pdfbox.pdmodel.common.filespecification |
The file specification package defines classes that are used for the PDF File Specification logic.
|
org.apache.pdfbox.pdmodel.common.function |
This package contains functions that are available in the PDF specification.
|
org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure |
The logical structure package provides a mechanism for incorporating
structural information about a document's content into a PDF file.
|
org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf |
The tagged PDF package provides a mechanism for incorporating "tags" (standard
structure types and attributes) into a PDF file.
|
org.apache.pdfbox.pdmodel.encryption |
The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers.
|
org.apache.pdfbox.pdmodel.fdf |
The fdf package will handle all of the logic used for FDF objects inside of the PDF/FDF document.
|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
org.apache.pdfbox.pdmodel.font.encoding | |
org.apache.pdfbox.pdmodel.graphics |
The PDModel graphics package deals with graphics states, operations, and parameters within the PDF document.
|
org.apache.pdfbox.pdmodel.graphics.blend | |
org.apache.pdfbox.pdmodel.graphics.color |
This package deals with colors that are stored in a PDF document.
|
org.apache.pdfbox.pdmodel.graphics.image |
This package deals with images that are stored in a PDF document.
|
org.apache.pdfbox.pdmodel.graphics.optionalcontent | |
org.apache.pdfbox.pdmodel.graphics.state |
This package deals with graphics states within the PDF document.
|
org.apache.pdfbox.pdmodel.interactive.action |
This package represents actions that can be performed in a PDF document.
|
org.apache.pdfbox.pdmodel.interactive.annotation |
The annotation package contains classes that work with PDF annotation elements.
|
org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination |
The destination package allows destinations into a pdf document to be specified.
|
org.apache.pdfbox.pdmodel.interactive.form |
The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".
|
org.apache.pdfbox.pdmodel.interactive.pagenavigation |
A package to allow provide access to PDF page navigation functionality.
|
org.apache.pdfbox.preflight | |
org.apache.pdfbox.preflight.content | |
org.apache.pdfbox.preflight.font | |
org.apache.pdfbox.preflight.font.util | |
org.apache.pdfbox.preflight.parser | |
org.apache.pdfbox.preflight.process | |
org.apache.pdfbox.preflight.utils |
Modifier and Type | Method and Description |
---|---|
protected void |
PDFStreamEngine.operatorException(Operator operator,
List<COSBase> operands,
IOException e)
Called when an exception is thrown by an operator.
|
protected void |
PDFStreamEngine.processOperator(Operator operator,
List<COSBase> operands)
This is used to handle an operation.
|
void |
PDFStreamEngine.processOperator(String operation,
List<COSBase> arguments)
This is used to handle an operation.
|
protected void |
PDFStreamEngine.unsupportedOperator(Operator operator,
List<COSBase> operands)
Called when an unsupported operator is encountered.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OperatorProcessor.checkArrayTypesClass(List<COSBase> operands,
Class clazz)
Check whether all operands list elements are an instance of a specific class.
|
abstract void |
OperatorProcessor.process(Operator operator,
List<COSBase> operands)
Process the operator.
|
void |
DrawObject.process(Operator operator,
List<COSBase> arguments) |
Constructor and Description |
---|
MissingOperandException(Operator operator,
List<COSBase> operands) |
Modifier and Type | Method and Description |
---|---|
void |
SetStrokingDeviceRGBColor.process(Operator operator,
List<COSBase> arguments)
RG Set the stroking colour space to DeviceRGB and set the colour to
use for stroking operations.
|
void |
SetStrokingDeviceGrayColor.process(Operator operator,
List<COSBase> arguments) |
void |
SetStrokingDeviceCMYKColor.process(Operator operator,
List<COSBase> arguments) |
void |
SetStrokingColorSpace.process(Operator operator,
List<COSBase> arguments) |
void |
SetNonStrokingDeviceRGBColor.process(Operator operator,
List<COSBase> arguments) |
void |
SetNonStrokingDeviceGrayColor.process(Operator operator,
List<COSBase> arguments) |
void |
SetNonStrokingDeviceCMYKColor.process(Operator operator,
List<COSBase> arguments) |
void |
SetNonStrokingColorSpace.process(Operator operator,
List<COSBase> arguments) |
void |
SetColor.process(Operator operator,
List<COSBase> arguments) |
Modifier and Type | Method and Description |
---|---|
void |
StrokePath.process(Operator operator,
List<COSBase> operands) |
void |
ShadingFill.process(Operator operator,
List<COSBase> operands) |
void |
MoveTo.process(Operator operator,
List<COSBase> operands) |
void |
LineTo.process(Operator operator,
List<COSBase> operands) |
void |
FillNonZeroRule.process(Operator operator,
List<COSBase> operands) |
void |
FillNonZeroAndStrokePath.process(Operator operator,
List<COSBase> operands) |
void |
FillEvenOddRule.process(Operator operator,
List<COSBase> operands) |
void |
FillEvenOddAndStrokePath.process(Operator operator,
List<COSBase> operands) |
void |
EndPath.process(Operator operator,
List<COSBase> operands) |
void |
DrawObject.process(Operator operator,
List<COSBase> operands) |
void |
CurveToReplicateInitialPoint.process(Operator operator,
List<COSBase> operands) |
void |
CurveToReplicateFinalPoint.process(Operator operator,
List<COSBase> operands) |
void |
CurveTo.process(Operator operator,
List<COSBase> operands) |
void |
ClosePath.process(Operator operator,
List<COSBase> operands) |
void |
CloseFillNonZeroAndStrokePath.process(Operator operator,
List<COSBase> operands) |
void |
CloseFillEvenOddAndStrokePath.process(Operator operator,
List<COSBase> operands) |
void |
CloseAndStrokePath.process(Operator operator,
List<COSBase> arguments) |
void |
ClipNonZeroRule.process(Operator operator,
List<COSBase> operands) |
void |
ClipEvenOddRule.process(Operator operator,
List<COSBase> operands) |
void |
BeginInlineImage.process(Operator operator,
List<COSBase> operands) |
void |
AppendRectangleToPath.process(Operator operator,
List<COSBase> operands) |
Modifier and Type | Method and Description |
---|---|
void |
EndMarkedContentSequence.process(Operator operator,
List<COSBase> arguments) |
void |
DrawObject.process(Operator operator,
List<COSBase> arguments) |
void |
BeginMarkedContentSequenceWithProperties.process(Operator operator,
List<COSBase> arguments) |
void |
BeginMarkedContentSequence.process(Operator operator,
List<COSBase> arguments) |
Modifier and Type | Method and Description |
---|---|
void |
SetRenderingIntent.process(Operator operator,
List<COSBase> operands) |
void |
SetMatrix.process(Operator operator,
List<COSBase> arguments) |
void |
SetLineWidth.process(Operator operator,
List<COSBase> arguments) |
void |
SetLineMiterLimit.process(Operator operator,
List<COSBase> arguments) |
void |
SetLineJoinStyle.process(Operator operator,
List<COSBase> arguments) |
void |
SetLineDashPattern.process(Operator operator,
List<COSBase> arguments) |
void |
SetLineCapStyle.process(Operator operator,
List<COSBase> arguments) |
void |
SetGraphicsStateParameters.process(Operator operator,
List<COSBase> arguments) |
void |
SetFlatness.process(Operator operator,
List<COSBase> operands) |
void |
Save.process(Operator operator,
List<COSBase> arguments) |
void |
Restore.process(Operator operator,
List<COSBase> arguments) |
void |
Concatenate.process(Operator operator,
List<COSBase> arguments) |
Modifier and Type | Method and Description |
---|---|
void |
ShowTextLineAndSpace.process(Operator operator,
List<COSBase> arguments) |
void |
ShowTextLine.process(Operator operator,
List<COSBase> arguments) |
void |
ShowTextAdjusted.process(Operator operator,
List<COSBase> arguments) |
void |
ShowText.process(Operator operator,
List<COSBase> arguments) |
void |
SetWordSpacing.process(Operator operator,
List<COSBase> arguments) |
void |
SetTextRise.process(Operator operator,
List<COSBase> arguments) |
void |
SetTextRenderingMode.process(Operator operator,
List<COSBase> arguments) |
void |
SetTextLeading.process(Operator operator,
List<COSBase> arguments) |
void |
SetTextHorizontalScaling.process(Operator operator,
List<COSBase> arguments) |
void |
SetFontAndSize.process(Operator operator,
List<COSBase> arguments) |
void |
SetCharSpacing.process(Operator operator,
List<COSBase> arguments) |
void |
NextLine.process(Operator operator,
List<COSBase> arguments) |
void |
MoveTextSetLeading.process(Operator operator,
List<COSBase> arguments) |
void |
MoveText.process(Operator operator,
List<COSBase> arguments) |
void |
EndText.process(Operator operator,
List<COSBase> arguments) |
void |
BeginText.process(Operator operator,
List<COSBase> arguments) |
Modifier and Type | Class and Description |
---|---|
class |
COSArray
An array of PDFBase objects as part of the PDF document.
|
class |
COSBoolean
This class represents a boolean value in the PDF document.
|
class |
COSDictionary
This class represents a dictionary where name/value pairs reside.
|
class |
COSDocument
This is the in-memory representation of the PDF document.
|
class |
COSFloat
This class represents a floating point number in a PDF document.
|
class |
COSInteger
This class represents an integer number in a PDF document.
|
class |
COSName
A PDF Name object.
|
class |
COSNull
This class represents a null PDF object.
|
class |
COSNumber
This class represents an abstract number in a PDF document.
|
class |
COSObject
This class represents a PDF object.
|
class |
COSStream
This class represents a stream object in a PDF document.
|
class |
COSString
A string object, which may be a text string, a PDFDocEncoded string, ASCII string, or byte string.
|
Modifier and Type | Field and Description |
---|---|
protected Map<COSName,COSBase> |
COSDictionary.items
The name-value pairs of this dictionary.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
COSArray.get(int index)
This will get an object from the array.
|
COSBase |
COSBase.getCOSObject()
Convert this standard java object to a COS object.
|
COSBase |
COSObject.getDictionaryObject(COSName key)
This will get the dictionary object in this object that has the name key and
if it is a pdfobjref then it will dereference that and return it.
|
COSBase |
COSDictionary.getDictionaryObject(COSName key)
This will get an object from this dictionary.
|
COSBase |
COSDictionary.getDictionaryObject(COSName firstKey,
COSName secondKey)
This is a special case of getDictionaryObject that takes multiple keys, it will handle the situation where
multiple keys could get the same value, ie if either CS or ColorSpace is used to get the colorspace.
|
COSBase |
COSDictionary.getDictionaryObject(String key)
This will get an object from this dictionary.
|
COSBase |
COSDictionary.getDictionaryObject(String[] keyList)
This is a special case of getDictionaryObject that takes multiple keys, it will handle the situation where
multiple keys could get the same value, ie if either CS or ColorSpace is used to get the colorspace.
|
COSBase |
COSStream.getFilters()
This will return the filters to apply to the byte stream.
|
COSBase |
COSObject.getItem(COSName key)
This will get the dictionary object in this object that has the name key.
|
COSBase |
COSDictionary.getItem(COSName key)
This will do a lookup into the dictionary.
|
COSBase |
COSDictionary.getItem(String key)
This will do a lookup into the dictionary.
|
COSBase |
COSObject.getObject()
This will get the object that this object encapsulates.
|
COSBase |
COSArray.getObject(int index)
This will get an object from the array.
|
COSBase |
COSDictionary.getObjectFromPath(String objPath)
Nice method, gives you every object you want Arrays works properly too.
|
COSBase |
COSArray.remove(int i)
This will remove an element from the array.
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<COSName,COSBase>> |
COSDictionary.entrySet()
Returns the name-value entries in this dictionary.
|
Collection<COSBase> |
COSDictionary.getValues()
This will get all of the values for the dictionary.
|
Iterator<COSBase> |
COSArray.iterator()
Get access to the list.
|
List<? extends COSBase> |
COSArray.toList()
Return contents of COSArray as a Java List.
|
Modifier and Type | Method and Description |
---|---|
void |
COSArray.add(COSBase object)
This will add an object to the array.
|
void |
COSArray.add(int i,
COSBase object)
Add the specified object at the ith location and push the rest to the
right.
|
OutputStream |
COSStream.createOutputStream(COSBase filters)
Returns a new OutputStream for writing stream data, using and the given filters.
|
COSObjectKey |
COSDocument.getKey(COSBase object)
Returns the COSObjectKey for a given COS object, or null if there is none.
|
void |
COSArray.growToSize(int size,
COSBase object)
This will add the object until the size of the array is at least
as large as the parameter.
|
int |
COSArray.indexOf(COSBase object)
This will return the index of the entry or -1 if it is not found.
|
int |
COSArray.indexOfObject(COSBase object)
This will return the index of the entry or -1 if it is not found.
|
boolean |
COSArray.remove(COSBase o)
This will remove an element from the array.
|
boolean |
COSArray.removeObject(COSBase o)
This will remove an element from the array.
|
void |
COSArray.set(int index,
COSBase object)
This will set an object at a specific index.
|
void |
COSStream.setFilters(COSBase filters)
Deprecated.
Use
COSStream.createOutputStream(COSBase) instead. |
void |
COSDictionary.setItem(COSName key,
COSBase value)
This will set an item in the dictionary.
|
void |
COSDictionary.setItem(String key,
COSBase value)
This will set an item in the dictionary.
|
void |
COSObject.setObject(COSBase object)
This will set the object that this object encapsulates.
|
Modifier and Type | Method and Description |
---|---|
void |
COSArray.addAll(Collection<COSBase> objectsList)
This will add an object to the array.
|
void |
COSArray.addAll(int i,
Collection<COSBase> objectList)
Add the specified object at the ith location and push the rest to the
right.
|
void |
COSArray.removeAll(Collection<COSBase> objectsList)
This will remove all of the objects in the collection.
|
void |
COSArray.retainAll(Collection<COSBase> objectsList)
This will retain all of the objects in the collection.
|
Constructor and Description |
---|
COSObject(COSBase object)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
MapEntry.getItem()
This will get the value for this entry.
|
COSBase |
ArrayEntry.getItem()
This will get the value for this entry.
|
COSBase |
MapEntry.getValue()
This will get the value for this entry.
|
COSBase |
ArrayEntry.getValue()
This will get the value for this entry.
|
Modifier and Type | Method and Description |
---|---|
void |
MapEntry.setItem(COSBase val)
This will set the value for this entry.
|
void |
ArrayEntry.setItem(COSBase val)
This will set the value for this entry.
|
void |
MapEntry.setValue(COSBase val)
This will set the value for this entry.
|
void |
ArrayEntry.setValue(COSBase val)
This will set the value for this entry.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PrintImageLocations.processOperator(Operator operator,
List<COSBase> operands)
This is used to handle an operation.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDFCloneUtility.cloneForNewDocument(Object base)
Deep-clones the given object for inclusion into a different PDF document identified by
the destination parameter.
|
Modifier and Type | Method and Description |
---|---|
protected COSBase |
BaseParser.parseDirObject()
This will parse a directory object from the stream.
|
protected COSBase |
COSParser.parseObjectDynamically(COSObject obj,
boolean requireExistingNotCompressedObj)
This will parse the next object from the stream and add it to the local state.
|
protected COSBase |
COSParser.parseObjectDynamically(long objNr,
int objGenNr,
boolean requireExistingNotCompressedObj)
This will parse the next object from the stream and add it to the local state.
|
protected COSBase |
COSParser.parseTrailerValuesDynamically(COSDictionary trailer)
Parse the values of the trailer dictionary and return the root object.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
COSWriterXRefEntry.getObject()
This will get the object.
|
Modifier and Type | Method and Description |
---|---|
Map<COSBase,COSObjectKey> |
COSWriter.getObjectKeys()
This will get all available object keys.
|
Modifier and Type | Method and Description |
---|---|
void |
COSWriter.doWriteObject(COSBase obj)
This will write a COS object.
|
void |
COSWriter.writeReference(COSBase obj)
visitFromObjRef method comment.
|
void |
ContentStreamWriter.writeToken(COSBase base)
Writes a single operand token.
|
Constructor and Description |
---|
COSWriterXRefEntry(long start,
COSBase obj,
COSObjectKey keyValue)
COSWriterXRefEntry constructor comment.
|
Modifier and Type | Method and Description |
---|---|
static COSBase |
PDPageTree.getInheritableAttribute(COSDictionary node,
COSName key)
Returns the given attribute, inheriting from parent tree nodes if necessary.
|
Modifier and Type | Method and Description |
---|---|
protected PDStructureElement |
PDStructureElementNameTreeNode.convertCOSToPD(COSBase base) |
protected PDActionJavaScript |
PDJavascriptNameTreeNode.convertCOSToPD(COSBase base) |
protected PDComplexFileSpecification |
PDEmbeddedFilesNameTreeNode.convertCOSToPD(COSBase base) |
protected PDPageDestination |
PDDestinationNameTreeNode.convertCOSToPD(COSBase base) |
Modifier and Type | Method and Description |
---|---|
COSBase |
PDRectangle.getCOSObject()
Convert this standard java object to a COS object.
|
COSBase |
PDRange.getCOSObject()
Convert this standard java object to a COS object.
|
COSBase |
PDPageLabels.getCOSObject()
Convert this standard java object to a COS object.
|
COSBase |
COSObjectable.getCOSObject()
Convert this standard java object to a COS object.
|
Modifier and Type | Method and Description |
---|---|
protected COSObjectable |
PDNumberTreeNode.convertCOSToPD(COSBase base)
Method to convert the COS value in the name tree to the PD Model object.
|
protected abstract T |
PDNameTreeNode.convertCOSToPD(COSBase base)
Method to convert the COS value in the name tree to the PD Model object.
|
Constructor and Description |
---|
COSArrayList(E actualObject,
COSBase item,
COSDictionary dictionary,
COSName dictionaryKey)
This is a really special constructor.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDSimpleFileSpecification.getCOSObject()
Convert this standard java object to a COS object.
|
Modifier and Type | Method and Description |
---|---|
static PDFileSpecification |
PDFileSpecification.createFS(COSBase base)
A file specfication can either be a COSString or a COSDictionary.
|
Modifier and Type | Method and Description |
---|---|
static PDFunction |
PDFunction.create(COSBase function)
Create the correct PD Model function based on the COS base function.
|
Constructor and Description |
---|
PDFunction(COSBase function)
Constructor.
|
PDFunctionType0(COSBase function)
Constructor.
|
PDFunctionType2(COSBase function)
Constructor.
|
PDFunctionType3(COSBase functionStream)
Constructor.
|
PDFunctionType4(COSBase functionStream)
Constructor.
|
PDFunctionTypeIdentity(COSBase function) |
Modifier and Type | Method and Description |
---|---|
COSBase |
PDDefaultAttributeObject.getAttributeValue(String attrName)
Gets the attribute value for a given name.
|
protected COSBase |
PDDefaultAttributeObject.getAttributeValue(String attrName,
COSBase defaultValue)
Gets the attribute value for a given name.
|
COSBase |
PDStructureTreeRoot.getK()
Returns the K entry.
|
COSBase |
PDUserProperty.getValue()
Returns the property value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PDStructureNode.appendKid(COSBase object)
Appends a COS base kid.
|
protected Object |
PDStructureNode.createObject(COSBase kid)
Creates an object for a kid of this structure node.
|
protected COSBase |
PDDefaultAttributeObject.getAttributeValue(String attrName,
COSBase defaultValue)
Gets the attribute value for a given name.
|
protected void |
PDStructureNode.insertBefore(COSBase newKid,
Object refKid)
Inserts an COS base kid before a reference kid.
|
protected void |
PDAttributeObject.potentiallyNotifyChanged(COSBase oldBase,
COSBase newBase)
Notifies the attribute object change listeners if the attribute is changed.
|
protected boolean |
PDStructureNode.removeKid(COSBase object)
Removes a COS base kid.
|
void |
PDDefaultAttributeObject.setAttribute(String attrName,
COSBase attrValue)
Sets an attribute.
|
void |
PDStructureTreeRoot.setK(COSBase k)
Sets the K entry.
|
void |
PDUserProperty.setValue(COSBase value)
Sets the property value.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDFourColours.getCOSObject()
Convert this standard java object to a COS object.
|
Modifier and Type | Method and Description |
---|---|
void |
SecurityHandler.decrypt(COSBase obj,
long objNum,
long genNum)
This will dispatch to the correct method.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
FDFOptionElement.getCOSObject()
Convert this standard java object to a COS object.
|
COSBase |
FDFField.getCOSValue()
Returns the COS value of this field.
|
Modifier and Type | Method and Description |
---|---|
protected String |
FDFAnnotation.getStringOrStream(COSBase base)
Get a text or text stream.
|
void |
FDFField.setValue(COSBase value)
Sets the COS value of this field.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDCIDSystemInfo.getCOSObject() |
Modifier and Type | Method and Description |
---|---|
protected CMap |
PDFont.readCMap(COSBase base)
Reads a CMap given a COS Stream or Name.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
ZapfDingbatsEncoding.getCOSObject() |
COSBase |
WinAnsiEncoding.getCOSObject() |
COSBase |
Type1Encoding.getCOSObject() |
COSBase |
SymbolEncoding.getCOSObject() |
COSBase |
StandardEncoding.getCOSObject() |
COSBase |
MacRomanEncoding.getCOSObject() |
COSBase |
MacOSRomanEncoding.getCOSObject() |
COSBase |
MacExpertEncoding.getCOSObject() |
COSBase |
DictionaryEncoding.getCOSObject() |
COSBase |
BuiltInEncoding.getCOSObject() |
Modifier and Type | Method and Description |
---|---|
COSBase |
PDLineDashPattern.getCOSObject() |
COSBase |
PDFontSetting.getCOSObject()
Convert this standard java object to a COS object.
|
Modifier and Type | Method and Description |
---|---|
static PDXObject |
PDXObject.createXObject(COSBase base,
PDResources resources)
Creates a new XObject instance of the appropriate type for the COS stream.
|
Modifier and Type | Method and Description |
---|---|
static BlendMode |
BlendMode.getInstance(COSBase cosBlendMode)
Determines the blend mode from the BM entry in the COS ExtGState.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDTristimulus.getCOSObject()
Convert this standard java object to a COS object.
|
COSBase |
PDSpecialColorSpace.getCOSObject() |
COSBase |
PDOutputIntent.getCOSObject() |
COSBase |
PDJPXColorSpace.getCOSObject() |
COSBase |
PDGamma.getCOSObject()
Convert this standard java object to a COS object.
|
COSBase |
PDDeviceColorSpace.getCOSObject() |
COSBase |
PDColorSpace.getCOSObject() |
Modifier and Type | Method and Description |
---|---|
static PDColorSpace |
PDColorSpace.create(COSBase colorSpace)
Creates a color space given a name or array.
|
static PDColorSpace |
PDColorSpace.create(COSBase colorSpace,
PDResources resources)
Creates a color space given a name or array.
|
static PDColorSpace |
PDColorSpace.create(COSBase colorSpace,
PDResources resources,
boolean wasDefault)
Creates a color space given a name or array.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDInlineImage.getCOSObject() |
Constructor and Description |
---|
PDImageXObject(PDDocument document,
InputStream encodedStream,
COSBase cosFilter,
int width,
int height,
int bitsPerComponent,
PDColorSpace initColorSpace)
Creates an Image XObject in the given document using the given filtered stream.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDOptionalContentProperties.getCOSObject()
Convert this standard java object to a COS object.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDGraphicsState.getTransfer()
This will get the transfer function.
|
COSBase |
PDExtendedGraphicsState.getTransfer()
This will get the transfer function of the /TR dictionary.
|
COSBase |
PDExtendedGraphicsState.getTransfer2()
This will get the transfer function of the /TR2 dictionary.
|
Modifier and Type | Method and Description |
---|---|
static PDSoftMask |
PDSoftMask.create(COSBase dictionary)
Creates a new soft mask.
|
void |
PDGraphicsState.setTransfer(COSBase transfer)
This will set the transfer function.
|
void |
PDExtendedGraphicsState.setTransfer(COSBase transfer)
This will set the transfer function of the /TR dictionary.
|
void |
PDExtendedGraphicsState.setTransfer2(COSBase transfer2)
This will set the transfer function of the /TR2 dictionary.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDActionThread.getB() |
COSBase |
PDActionThread.getD() |
COSBase |
PDActionRemoteGoTo.getD()
This will get the destination to jump to.
|
COSBase |
PDActionHide.getT()
The annotation or annotations to be hidden or shown
|
Modifier and Type | Method and Description |
---|---|
void |
PDActionThread.setB(COSBase b) |
void |
PDActionThread.setD(COSBase d) |
void |
PDActionRemoteGoTo.setD(COSBase d)
This will set the destination to jump to.
|
void |
PDActionHide.setT(COSBase t) |
Modifier and Type | Method and Description |
---|---|
COSBase |
PDAppearanceEntry.getCOSObject() |
Modifier and Type | Method and Description |
---|---|
static PDAnnotation |
PDAnnotation.createAnnotation(COSBase base)
Create the correct annotation from the base COS object.
|
Constructor and Description |
---|
PDAppearanceEntry(COSBase entry)
Constructor for reading.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDNamedDestination.getCOSObject()
Convert this standard java object to a COS object.
|
Modifier and Type | Method and Description |
---|---|
static PDDestination |
PDDestination.create(COSBase base)
This will create a new destination depending on the type of COSBase
that is passed in.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDXFAResource.getCOSObject()
Convert this standard java object to a COS object.
|
COSBase |
PDNonTerminalField.getDefaultValue()
Returns the default value of this field.
|
protected COSBase |
PDField.getInheritableAttribute(COSName key)
Returns the given attribute, inheriting from parent nodes if necessary.
|
COSBase |
PDNonTerminalField.getValue()
Get the field value.
|
Modifier and Type | Method and Description |
---|---|
protected String |
PDVariableText.getStringOrStream(COSBase base)
Get a text as text stream.
|
void |
PDNonTerminalField.setDefaultValue(COSBase value)
Sets the default of this field.
|
void |
PDNonTerminalField.setValue(COSBase object)
Sets the value of this field.
|
Constructor and Description |
---|
PDXFAResource(COSBase xfaBase)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
PDTransitionDirection.getCOSBase() |
COSBase |
PDTransition.getDirection() |
Modifier and Type | Method and Description |
---|---|
void |
PreflightContext.addFontContainer(COSBase cBase,
FontContainer<?> fc)
Add a FontContainer to allow TextObject validation.
|
FontContainer<?> |
PreflightContext.getFontContainer(COSBase cBase)
Return the FontContainer identified by the COSBase.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PreflightStreamEngine.checkSetColorSpaceOperators(Operator operator,
List<COSBase> arguments)
This method validates if the ColorSpace used as operand is consistent with
the color space defined in OutputIntent dictionaries.
|
void |
StubOperator.process(Operator operator,
List<COSBase> arguments) |
protected void |
PreflightContentStream.processOperator(Operator operator,
List<COSBase> operands) |
protected void |
PreflightContentStream.unsupportedOperator(Operator operator,
List<COSBase> arguments) |
protected void |
PreflightStreamEngine.validateRenderingIntent(Operator operator,
List<COSBase> arguments)
Check operands of the "ri" operator.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Type0FontValidator.checkCIDSystemInfo(COSBase sysinfo)
Check the content of the CIDSystemInfo dictionary.
|
protected void |
DescendantFontValidator.checkCIDSystemInfo(COSBase sysinfo)
Check the content of the CIDSystemInfo dictionary.
|
protected abstract void |
DescendantFontValidator.checkCIDToGIDMap(COSBase ctog)
This method checks the CIDtoGIDMap entry of the Font dictionary. call the
DescendantFontValidator.checkCIDToGIDMap(COSBase, boolean) with right parameters
according to the instance of DescendantFontValidator
|
protected void |
CIDType2FontValidator.checkCIDToGIDMap(COSBase ctog) |
protected void |
CIDType0FontValidator.checkCIDToGIDMap(COSBase ctog) |
protected void |
DescendantFontValidator.checkCIDToGIDMap(COSBase ctog,
boolean mandatory)
This method checks the CIDtoGIDMap entry of the Font dictionary.
|
protected void |
Type0FontValidator.checkCMapEncoding(COSBase encoding) |
Modifier and Type | Method and Description |
---|---|
protected void |
PreflightType3Stream.processOperator(Operator operator,
List<COSBase> operands)
This is used to handle an operation.
|
Modifier and Type | Method and Description |
---|---|
protected COSBase |
PreflightParser.parseDirObject()
Call
BaseParser.parseDirObject() check limit range for Float, Integer and number of
Dictionary entries. |
protected COSBase |
PreflightParser.parseObjectDynamically(long objNr,
int objGenNr,
boolean requireExistingNotCompressedObj) |
Modifier and Type | Method and Description |
---|---|
protected void |
CatalogValidationProcess.validateICCProfile(COSBase destOutputProfile,
Map<COSObjectKey,Boolean> mapDestOutputProfile,
PreflightContext ctx)
This method checks the destOutputProfile which must be a valid ICCProfile.
|
Modifier and Type | Method and Description |
---|---|
static COSArray |
COSUtils.getAsArray(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as COSArray if the COSBase object is an instance of COSArray or a reference to a
COSArray object.
|
static COSDictionary |
COSUtils.getAsDictionary(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as COSDictionary if the COSBase object is an instance of COSDictionary or a reference
to a COSDictionary object.
|
static Float |
COSUtils.getAsFloat(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as Float if the COSBase object is an instance of COSFloat or a reference to a COSFloat
object.
|
static Integer |
COSUtils.getAsInteger(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as Integer if the COSBase object is an instance of COSInteger or a reference to a
COSInteger object.
|
static COSStream |
COSUtils.getAsStream(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as COSStream if the COSBase object is an instance of COSStream or a reference to a
COSStream object.
|
static String |
COSUtils.getAsString(COSBase cbase,
COSDocument cDoc)
Return the COSBase object as String if the COSBase object is an instance of COSString or
COSName or a reference to it.
|
static boolean |
COSUtils.isArray(COSBase elt,
COSDocument doc)
return true if the elt is a COSArray or a reference to a COSArray
|
static boolean |
COSUtils.isDictionary(COSBase elt,
COSDocument doc)
return true if the elt is a COSDictionary or a reference to a COSDictionary
|
static boolean |
COSUtils.isFloat(COSBase elt,
COSDocument doc)
return true if the elt is a COSFloat or a reference to a COSFloat
|
static boolean |
COSUtils.isInteger(COSBase elt,
COSDocument doc)
return true if the elt is a COSInteger or a reference to a COSInteger
|
static boolean |
COSUtils.isNumeric(COSBase elt,
COSDocument doc)
return true if elt is COSInteger or COSFloat
|
static boolean |
COSUtils.isStream(COSBase elt,
COSDocument doc)
return true if the elt is a COSStream or a reference to a COSStream
|
static boolean |
COSUtils.isString(COSBase elt,
COSDocument doc)
return true if the elt is a COSString or a COSName or a reference to it.
|
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.