| 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 |
|---|---|
void |
OperatorConsumer.apply(Operator operator,
List<COSBase> operands) |
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 |
OperatorProcessorDecorator.process(Operator operator,
List<COSBase> operands) |
void |
DrawObject.process(Operator operator,
List<COSBase> arguments) |
| Constructor and Description |
|---|
MissingOperandException(Operator operator,
List<COSBase> operands) |
| Modifier and Type | Method and Description |
|---|---|
void |
SetNonStrokingDeviceCMYKColor.process(Operator operator,
List<COSBase> arguments) |
void |
SetNonStrokingDeviceRGBColor.process(Operator operator,
List<COSBase> arguments) |
void |
SetStrokingColorSpace.process(Operator operator,
List<COSBase> arguments) |
void |
SetStrokingDeviceCMYKColor.process(Operator operator,
List<COSBase> arguments) |
void |
SetStrokingDeviceGrayColor.process(Operator operator,
List<COSBase> arguments) |
void |
SetColor.process(Operator operator,
List<COSBase> arguments) |
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 |
SetNonStrokingColorSpace.process(Operator operator,
List<COSBase> arguments) |
void |
SetNonStrokingDeviceGrayColor.process(Operator operator,
List<COSBase> arguments) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClipEvenOddRule.process(Operator operator,
List<COSBase> operands) |
void |
CurveToReplicateFinalPoint.process(Operator operator,
List<COSBase> operands) |
void |
CloseFillNonZeroAndStrokePath.process(Operator operator,
List<COSBase> operands) |
void |
CloseFillEvenOddAndStrokePath.process(Operator operator,
List<COSBase> operands) |
void |
ShadingFill.process(Operator operator,
List<COSBase> operands) |
void |
CloseAndStrokePath.process(Operator operator,
List<COSBase> arguments) |
void |
MoveTo.process(Operator operator,
List<COSBase> operands) |
void |
FillEvenOddRule.process(Operator operator,
List<COSBase> operands) |
void |
FillNonZeroAndStrokePath.process(Operator operator,
List<COSBase> operands) |
void |
FillEvenOddAndStrokePath.process(Operator operator,
List<COSBase> operands) |
void |
AppendRectangleToPath.process(Operator operator,
List<COSBase> operands) |
void |
ClosePath.process(Operator operator,
List<COSBase> operands) |
void |
FillNonZeroRule.process(Operator operator,
List<COSBase> operands) |
void |
DrawObject.process(Operator operator,
List<COSBase> operands) |
void |
LineTo.process(Operator operator,
List<COSBase> operands) |
void |
BeginInlineImage.process(Operator operator,
List<COSBase> operands) |
void |
EndPath.process(Operator operator,
List<COSBase> operands) |
void |
ClipNonZeroRule.process(Operator operator,
List<COSBase> operands) |
void |
CurveToReplicateInitialPoint.process(Operator operator,
List<COSBase> operands) |
void |
StrokePath.process(Operator operator,
List<COSBase> operands) |
void |
CurveTo.process(Operator operator,
List<COSBase> operands) |
| Modifier and Type | Method and Description |
|---|---|
void |
BeginMarkedContentSequence.process(Operator operator,
List<COSBase> arguments) |
void |
DrawObject.process(Operator operator,
List<COSBase> arguments) |
void |
BeginMarkedContentSequenceWithProperties.process(Operator operator,
List<COSBase> arguments) |
void |
EndMarkedContentSequence.process(Operator operator,
List<COSBase> arguments) |
| Modifier and Type | Method and Description |
|---|---|
void |
SetGraphicsStateParameters.process(Operator operator,
List<COSBase> arguments) |
void |
SetLineJoinStyle.process(Operator operator,
List<COSBase> arguments) |
void |
Restore.process(Operator operator,
List<COSBase> arguments) |
void |
SetMatrix.process(Operator operator,
List<COSBase> arguments) |
void |
Save.process(Operator operator,
List<COSBase> arguments) |
void |
SetFlatness.process(Operator operator,
List<COSBase> operands) |
void |
SetLineWidth.process(Operator operator,
List<COSBase> arguments) |
void |
Concatenate.process(Operator operator,
List<COSBase> arguments) |
void |
SetLineDashPattern.process(Operator operator,
List<COSBase> arguments) |
void |
SetLineCapStyle.process(Operator operator,
List<COSBase> arguments) |
void |
SetLineMiterLimit.process(Operator operator,
List<COSBase> arguments) |
void |
SetRenderingIntent.process(Operator operator,
List<COSBase> operands) |
| Modifier and Type | Method and Description |
|---|---|
void |
SetFontAndSize.process(Operator operator,
List<COSBase> arguments) |
void |
EndText.process(Operator operator,
List<COSBase> arguments) |
void |
MoveText.process(Operator operator,
List<COSBase> arguments) |
void |
MoveTextSetLeading.process(Operator operator,
List<COSBase> arguments) |
void |
SetCharSpacing.process(Operator operator,
List<COSBase> arguments) |
void |
ShowTextAdjusted.process(Operator operator,
List<COSBase> arguments) |
void |
ShowTextLineAndSpace.process(Operator operator,
List<COSBase> arguments) |
void |
SetTextRenderingMode.process(Operator operator,
List<COSBase> arguments) |
void |
SetTextRise.process(Operator operator,
List<COSBase> arguments) |
void |
SetWordSpacing.process(Operator operator,
List<COSBase> arguments) |
void |
SetTextHorizontalScaling.process(Operator operator,
List<COSBase> arguments) |
void |
NextLine.process(Operator operator,
List<COSBase> arguments) |
void |
BeginText.process(Operator operator,
List<COSBase> arguments) |
void |
ShowText.process(Operator operator,
List<COSBase> arguments) |
void |
ShowTextLine.process(Operator operator,
List<COSBase> arguments) |
void |
SetTextLeading.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 |
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.
|
class |
DirectCOSObject
A COSBase that will be written as direct object
|
class |
IndirectCOSObjectReference
A disposable indirect object reference.
|
class |
NonStorableInObjectStreams
An
IndirectCOSObjectReference that cannot be stored into object streams |
| Modifier and Type | Method and Description |
|---|---|
<T extends COSBase> |
COSDictionary.getDictionaryObject(COSName key,
Class<T> clazz)
Get an object of the expected type from this dictionary.
|
<T extends COSBase> |
COSDictionary.getDictionaryObject(COSName firstKey,
COSName secondKey,
Class<T> clazz) |
<T extends COSBase> |
COSDictionary.getDictionaryObject(String key,
Class<T> clazz)
Get an object of the expected type from this dictionary.
|
<T extends COSBase> |
COSArray.getObject(int index,
Class<T> clazz)
This will get an object from the array.
|
| Modifier and Type | Method and Description |
|---|---|
COSBase |
COSArray.get(int index)
Get an object from the array.
|
COSBase |
COSBase.getCOSObject()
Convert this standard java object to a COS object.
|
COSBase |
IndirectCOSObjectReference.getCOSObject() |
COSBase |
DirectCOSObject.getCOSObject() |
COSBase |
COSObjectable.getCOSObject() |
COSBase |
COSDictionary.getDictionaryObject(COSName key)
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 |
COSStream.getFilters()
This will return the filters to apply to the byte stream.
|
COSBase |
COSDictionary.getItem(COSName key) |
COSBase |
COSDictionary.getItem(COSName firstKey,
COSName secondKey)
This is a special case of getItem 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.getItem(String key) |
COSBase |
COSArray.getObject(int index)
This will get an object from the array.
|
COSBase |
COSArray.remove(int i) |
COSBase |
COSArray.removeLast()
Removes the last object of the array
|
COSBase |
COSArray.set(int index,
COSBase object) |
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<COSName,COSBase>> |
COSDictionary.entrySet() |
Collection<COSBase> |
COSDictionary.getValues() |
Iterator<COSBase> |
COSArray.iterator() |
ListIterator<COSBase> |
COSArray.listIterator() |
ListIterator<COSBase> |
COSArray.listIterator(int index) |
List<COSBase> |
COSArray.subList(int fromIndex,
int toIndex) |
List<? extends COSBase> |
COSArray.toList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
COSArray.add(COSBase object) |
void |
COSArray.add(int index,
COSBase object) |
OutputStream |
COSStream.createFilteredStream(COSBase filters)
Returns a new OutputStream for writing stream data, using and the given filters.
|
COSName |
COSDictionary.getKeyForValue(COSBase value)
Search in the map for the value that matches the parameter and return the first key that maps to that value.
|
COSArray |
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.indexOfObject(COSBase object)
This will return the index of the entry or -1 if it is not found.
|
void |
COSDictionary.putIfAbsent(COSName key,
COSBase value) |
boolean |
COSArray.removeObject(COSBase o)
This will remove an element from the array.
|
COSBase |
COSArray.set(int index,
COSBase object) |
void |
COSStream.setFilters(COSBase filters)
set the filters to be applied to the stream.
|
void |
COSDictionary.setItem(COSName key,
COSBase value)
Set an item in the dictionary.
|
void |
COSDictionary.setItem(String key,
COSBase value)
Set an item in the dictionary.
|
void |
IndirectCOSObjectReference.setValue(COSBase baseObject) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
COSArray.addAll(Collection<? extends COSBase> objectsList) |
boolean |
COSArray.addAll(int i,
Collection<? extends COSBase> objectList) |
| Constructor and Description |
|---|
COSArray(COSBase... items) |
COSArrayList(E actualObject,
COSBase item,
COSDictionary dictionary,
COSName dictionaryKey)
This is a really special constructor.
|
IndirectCOSObjectReference(long objectNumber,
int generationNumber,
COSBase baseObject) |
NonStorableInObjectStreams(long objectNumber,
int generationNumber,
COSBase baseObject) |
| Modifier and Type | Class and Description |
|---|---|
class |
ExistingIndirectCOSObject
An indirect object belonging to an existing pdf document.
|
| Modifier and Type | Method and Description |
|---|---|
COSBase |
ExistingIndirectCOSObject.getCOSObject() |
| Modifier and Type | Method and Description |
|---|---|
Set<COSBase> |
IncrementablePDDocument.newIndirects() |
| Modifier and Type | Method and Description |
|---|---|
void |
IncrementalPDFBodyWriter.onPotentialIndirectObject(COSBase item) |
| Modifier and Type | Method and Description |
|---|---|
void |
ContentStreamWriter.writeOperator(List<COSBase> operands,
Operator operator) |
| 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 PDComplexFileSpecification |
PDEmbeddedFilesNameTreeNode.convertCOSToPD(COSBase base) |
protected PDActionJavaScript |
PDJavascriptNameTreeNode.convertCOSToPD(COSBase base) |
protected PDPageDestination |
PDDestinationNameTreeNode.convertCOSToPD(COSBase base) |
| Modifier and Type | Method and Description |
|---|---|
COSBase |
PDRange.getCOSObject()
Convert this standard java object to a COS object.
|
COSBase |
PDPageLabels.getCOSObject() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
PDNameTreeNode.convertCOSToPD(COSBase base)
Method to convert the COS value in the name tree to the PD Model object.
|
protected COSObjectable |
PDNumberTreeNode.convertCOSToPD(COSBase base)
Method to convert the COS value in the name tree to the PD Model object.
|
| Constructor and Description |
|---|
PDStream(InputStream input,
COSBase filter)
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.
|
static PDFileSpecification |
FileSpecifications.fileSpecificationFor(COSBase base)
Factory method for a a file specification that can be either 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 |
PDParentTreeValue.getCOSObject() |
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() |
| 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 |
PDCIDSystemInfo.getCOSObject() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.fontbox.cmap.CMap |
PDFont.readCMap(COSBase base)
/** Reads a CMap given a COS Stream or Name.
|
| Modifier and Type | Method and Description |
|---|---|
COSBase |
Type1Encoding.getCOSObject() |
COSBase |
DictionaryEncoding.getCOSObject() |
COSBase |
SymbolEncoding.getCOSObject() |
COSBase |
BuiltInEncoding.getCOSObject() |
COSBase |
ZapfDingbatsEncoding.getCOSObject() |
COSBase |
MacExpertEncoding.getCOSObject() |
| Modifier and Type | Method and Description |
|---|---|
COSBase |
PDFontSetting.getCOSObject() |
COSBase |
PDLineDashPattern.getCOSObject() |
| 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 |
PDDeviceColorSpace.getCOSObject() |
COSBase |
PDJPXColorSpace.getCOSObject() |
COSBase |
PDOutputIntent.getCOSObject() |
COSBase |
PDSpecialColorSpace.getCOSObject() |
COSBase |
PDGamma.getCOSObject()
Convert this standard java object to a COS object.
|
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) |
| Modifier and Type | Method and Description |
|---|---|
COSBase |
PDInlineImage.getCOSObject() |
| Constructor and Description |
|---|
PDImageXObject(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 |
PDExtendedGraphicsState.getTransfer()
This will get the transfer function of the /TR dictionary.
|
COSBase |
PDGraphicsState.getTransfer()
This will get the transfer function.
|
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 |
PDExtendedGraphicsState.setTransfer(COSBase transfer)
This will set the transfer function of the /TR dictionary.
|
void |
PDGraphicsState.setTransfer(COSBase transfer)
This will set the transfer function.
|
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 |
PDWindowsLaunchParams.getCOSObject()
Convert this standard java object to a COS object.
|
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) |
| 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() |
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()
Note: while non-terminal fields do inherit field values, this method returns the local value,
without inheritance.
|
COSBase |
PDNonTerminalField.removeChild(PDField field)
Removes the given node from the children list
|
COSBase |
PDAcroForm.removeField(PDField remove)
removes the given field from the root fields of the form
|
| 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 |
|---|---|
static Matrix |
Matrix.createMatrix(COSBase base)
Convenience method to be used when creating a matrix from unverified data.
|
Copyright © 2019 sejda. All rights reserved.