Uses of Class
org.apache.pdfbox.cos.COSBase
-
Packages that use COSBase 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.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.action org.apache.pdfbox.preflight.annotation org.apache.pdfbox.preflight.content org.apache.pdfbox.preflight.font org.apache.pdfbox.preflight.font.util org.apache.pdfbox.preflight.metadata org.apache.pdfbox.preflight.parser org.apache.pdfbox.preflight.process org.apache.pdfbox.preflight.utils org.apache.pdfbox.rendering org.apache.pdfbox.util This package contains utility classes that are used by the PDFBox project. -
-
Uses of COSBase in org.apache.pdfbox.contentstream
Method parameters in org.apache.pdfbox.contentstream with type arguments of type COSBase Modifier and Type Method Description protected void
PDFStreamEngine. operatorException(Operator operator, java.util.List<COSBase> operands, java.io.IOException e)
Called when an exception is thrown by an operator.void
PDFStreamEngine. processOperator(java.lang.String operation, java.util.List<COSBase> arguments)
This is used to handle an operation.protected void
PDFStreamEngine. processOperator(Operator operator, java.util.List<COSBase> operands)
This is used to handle an operation.protected void
PDFStreamEngine. unsupportedOperator(Operator operator, java.util.List<COSBase> operands)
Called when an unsupported operator is encountered. -
Uses of COSBase in org.apache.pdfbox.contentstream.operator
Method parameters in org.apache.pdfbox.contentstream.operator with type arguments of type COSBase Modifier and Type Method Description boolean
OperatorProcessor. checkArrayTypesClass(java.util.List<COSBase> operands, java.lang.Class<?> clazz)
Check whether all operands list elements are an instance of a specific class.void
DrawObject. process(Operator operator, java.util.List<COSBase> arguments)
abstract void
OperatorProcessor. process(Operator operator, java.util.List<COSBase> operands)
Process the operator.Constructor parameters in org.apache.pdfbox.contentstream.operator with type arguments of type COSBase Constructor Description MissingOperandException(Operator operator, java.util.List<COSBase> operands)
-
Uses of COSBase in org.apache.pdfbox.contentstream.operator.color
Method parameters in org.apache.pdfbox.contentstream.operator.color with type arguments of type COSBase Modifier and Type Method Description void
SetColor. process(Operator operator, java.util.List<COSBase> arguments)
void
SetNonStrokingColorSpace. process(Operator operator, java.util.List<COSBase> arguments)
void
SetNonStrokingDeviceCMYKColor. process(Operator operator, java.util.List<COSBase> arguments)
void
SetNonStrokingDeviceGrayColor. process(Operator operator, java.util.List<COSBase> arguments)
void
SetNonStrokingDeviceRGBColor. process(Operator operator, java.util.List<COSBase> arguments)
void
SetStrokingColorSpace. process(Operator operator, java.util.List<COSBase> arguments)
void
SetStrokingDeviceCMYKColor. process(Operator operator, java.util.List<COSBase> arguments)
void
SetStrokingDeviceGrayColor. process(Operator operator, java.util.List<COSBase> arguments)
void
SetStrokingDeviceRGBColor. process(Operator operator, java.util.List<COSBase> arguments)
RG Set the stroking colour space to DeviceRGB and set the colour to use for stroking operations. -
Uses of COSBase in org.apache.pdfbox.contentstream.operator.graphics
Method parameters in org.apache.pdfbox.contentstream.operator.graphics with type arguments of type COSBase Modifier and Type Method Description void
AppendRectangleToPath. process(Operator operator, java.util.List<COSBase> operands)
void
BeginInlineImage. process(Operator operator, java.util.List<COSBase> operands)
void
ClipEvenOddRule. process(Operator operator, java.util.List<COSBase> operands)
void
ClipNonZeroRule. process(Operator operator, java.util.List<COSBase> operands)
void
CloseAndStrokePath. process(Operator operator, java.util.List<COSBase> arguments)
void
CloseFillEvenOddAndStrokePath. process(Operator operator, java.util.List<COSBase> operands)
void
CloseFillNonZeroAndStrokePath. process(Operator operator, java.util.List<COSBase> operands)
void
ClosePath. process(Operator operator, java.util.List<COSBase> operands)
void
CurveTo. process(Operator operator, java.util.List<COSBase> operands)
void
CurveToReplicateFinalPoint. process(Operator operator, java.util.List<COSBase> operands)
void
CurveToReplicateInitialPoint. process(Operator operator, java.util.List<COSBase> operands)
void
DrawObject. process(Operator operator, java.util.List<COSBase> operands)
void
EndPath. process(Operator operator, java.util.List<COSBase> operands)
void
FillEvenOddAndStrokePath. process(Operator operator, java.util.List<COSBase> operands)
void
FillEvenOddRule. process(Operator operator, java.util.List<COSBase> operands)
void
FillNonZeroAndStrokePath. process(Operator operator, java.util.List<COSBase> operands)
void
FillNonZeroRule. process(Operator operator, java.util.List<COSBase> operands)
void
LineTo. process(Operator operator, java.util.List<COSBase> operands)
void
MoveTo. process(Operator operator, java.util.List<COSBase> operands)
void
ShadingFill. process(Operator operator, java.util.List<COSBase> operands)
void
StrokePath. process(Operator operator, java.util.List<COSBase> operands)
-
Uses of COSBase in org.apache.pdfbox.contentstream.operator.markedcontent
Method parameters in org.apache.pdfbox.contentstream.operator.markedcontent with type arguments of type COSBase Modifier and Type Method Description void
BeginMarkedContentSequence. process(Operator operator, java.util.List<COSBase> arguments)
void
BeginMarkedContentSequenceWithProperties. process(Operator operator, java.util.List<COSBase> arguments)
void
DrawObject. process(Operator operator, java.util.List<COSBase> arguments)
void
EndMarkedContentSequence. process(Operator operator, java.util.List<COSBase> arguments)
-
Uses of COSBase in org.apache.pdfbox.contentstream.operator.state
Method parameters in org.apache.pdfbox.contentstream.operator.state with type arguments of type COSBase Modifier and Type Method Description void
Concatenate. process(Operator operator, java.util.List<COSBase> arguments)
void
Restore. process(Operator operator, java.util.List<COSBase> arguments)
void
Save. process(Operator operator, java.util.List<COSBase> arguments)
void
SetFlatness. process(Operator operator, java.util.List<COSBase> operands)
void
SetGraphicsStateParameters. process(Operator operator, java.util.List<COSBase> arguments)
void
SetLineCapStyle. process(Operator operator, java.util.List<COSBase> arguments)
void
SetLineDashPattern. process(Operator operator, java.util.List<COSBase> arguments)
void
SetLineJoinStyle. process(Operator operator, java.util.List<COSBase> arguments)
void
SetLineMiterLimit. process(Operator operator, java.util.List<COSBase> arguments)
void
SetLineWidth. process(Operator operator, java.util.List<COSBase> arguments)
void
SetMatrix. process(Operator operator, java.util.List<COSBase> arguments)
void
SetRenderingIntent. process(Operator operator, java.util.List<COSBase> operands)
-
Uses of COSBase in org.apache.pdfbox.contentstream.operator.text
Method parameters in org.apache.pdfbox.contentstream.operator.text with type arguments of type COSBase Modifier and Type Method Description void
BeginText. process(Operator operator, java.util.List<COSBase> arguments)
void
EndText. process(Operator operator, java.util.List<COSBase> arguments)
void
MoveText. process(Operator operator, java.util.List<COSBase> arguments)
void
MoveTextSetLeading. process(Operator operator, java.util.List<COSBase> arguments)
void
NextLine. process(Operator operator, java.util.List<COSBase> arguments)
void
SetCharSpacing. process(Operator operator, java.util.List<COSBase> arguments)
void
SetFontAndSize. process(Operator operator, java.util.List<COSBase> arguments)
void
SetTextHorizontalScaling. process(Operator operator, java.util.List<COSBase> arguments)
void
SetTextLeading. process(Operator operator, java.util.List<COSBase> arguments)
void
SetTextRenderingMode. process(Operator operator, java.util.List<COSBase> arguments)
void
SetTextRise. process(Operator operator, java.util.List<COSBase> arguments)
void
SetWordSpacing. process(Operator operator, java.util.List<COSBase> arguments)
void
ShowText. process(Operator operator, java.util.List<COSBase> arguments)
void
ShowTextAdjusted. process(Operator operator, java.util.List<COSBase> arguments)
void
ShowTextLine. process(Operator operator, java.util.List<COSBase> arguments)
void
ShowTextLineAndSpace. process(Operator operator, java.util.List<COSBase> arguments)
-
Uses of COSBase in org.apache.pdfbox.cos
Subclasses of COSBase in org.apache.pdfbox.cos Modifier and Type Class 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.(package private) class
UnmodifiableCOSDictionary
An unmodifiable COSDictionary.Fields in org.apache.pdfbox.cos declared as COSBase Modifier and Type Field Description private COSBase
COSObject. baseObject
Fields in org.apache.pdfbox.cos with type parameters of type COSBase Modifier and Type Field Description protected java.util.Map<COSName,COSBase>
COSDictionary. items
The name-value pairs of this dictionary.private java.util.List<COSBase>
COSArray. objects
Methods in org.apache.pdfbox.cos that return COSBase Modifier and Type Method 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
COSDictionary. getDictionaryObject(java.lang.String key)
This will get an object from this dictionary.COSBase
COSDictionary. getDictionaryObject(java.lang.String[] keyList)
Deprecated.Will be removed in 3.0.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
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
COSStream. getFilters()
This will return the filters to apply to the byte stream.COSBase
COSDictionary. getItem(java.lang.String key)
This will do a lookup into the dictionary.COSBase
COSDictionary. getItem(COSName key)
This will do a lookup into the dictionary.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
COSObject. getItem(COSName key)
This will get the dictionary object in this object that has the name key.COSBase
COSArray. getObject(int index)
This will get an object from the array.COSBase
COSObject. getObject()
This will get the object that this object encapsulates.COSBase
COSDictionary. getObjectFromPath(java.lang.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.Methods in org.apache.pdfbox.cos that return types with arguments of type COSBase Modifier and Type Method Description java.util.Set<java.util.Map.Entry<COSName,COSBase>>
COSDictionary. entrySet()
Returns the name-value entries in this dictionary.java.util.Collection<COSBase>
COSDictionary. getValues()
This will get all of the values for the dictionary.java.util.Iterator<COSBase>
COSArray. iterator()
Get access to the list.java.util.List<? extends COSBase>
COSArray. toList()
Return contents of COSArray as a Java List.Methods in org.apache.pdfbox.cos with parameters of type COSBase Modifier and Type Method Description void
COSArray. add(int i, COSBase object)
Add the specified object at the ith location and push the rest to the right.void
COSArray. add(COSBase object)
This will add an object to the array.java.io.OutputStream
COSStream. createOutputStream(COSBase filters)
Returns a new OutputStream for writing stream data, using and the given filters.private static java.lang.String
COSDictionary. getDictionaryString(COSBase base, java.util.List<COSBase> objs)
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.UseCOSStream.createOutputStream(COSBase)
instead.void
COSDictionary. setItem(java.lang.String key, COSBase value)
This will set an item in the dictionary.void
COSDictionary. setItem(COSName key, COSBase value)
This will set an item in the dictionary.void
UnmodifiableCOSDictionary. setItem(java.lang.String key, COSBase value)
This will set an item in the dictionary.void
UnmodifiableCOSDictionary. setItem(COSName 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.Method parameters in org.apache.pdfbox.cos with type arguments of type COSBase Modifier and Type Method Description void
COSArray. addAll(int i, java.util.Collection<COSBase> objectList)
Add the specified object at the ith location and push the rest to the right.void
COSArray. addAll(java.util.Collection<COSBase> objectsList)
This will add an object to the array.private static java.lang.String
COSDictionary. getDictionaryString(COSBase base, java.util.List<COSBase> objs)
void
COSArray. removeAll(java.util.Collection<COSBase> objectsList)
This will remove all of the objects in the collection.void
COSArray. retainAll(java.util.Collection<COSBase> objectsList)
This will retain all of the objects in the collection.Constructors in org.apache.pdfbox.cos with parameters of type COSBase Constructor Description COSObject(COSBase object)
Constructor. -
Uses of COSBase in org.apache.pdfbox.debugger.ui
Fields in org.apache.pdfbox.debugger.ui declared as COSBase Modifier and Type Field Description private COSBase
ArrayEntry. item
private COSBase
MapEntry. item
private COSBase
ArrayEntry. value
private COSBase
MapEntry. value
Methods in org.apache.pdfbox.debugger.ui that return COSBase Modifier and Type Method Description COSBase
ArrayEntry. getItem()
This will get the value for this entry.COSBase
MapEntry. getItem()
This will get the value for this entry.COSBase
ArrayEntry. getValue()
This will get the value for this entry.COSBase
MapEntry. getValue()
This will get the value for this entry.Methods in org.apache.pdfbox.debugger.ui with parameters of type COSBase Modifier and Type Method Description void
ArrayEntry. setItem(COSBase val)
This will set the value for this entry.void
MapEntry. setItem(COSBase val)
This will set the value for this entry.void
ArrayEntry. setValue(COSBase val)
This will set the value for this entry.void
MapEntry. setValue(COSBase val)
This will set the value for this entry. -
Uses of COSBase in org.apache.pdfbox.multipdf
Fields in org.apache.pdfbox.multipdf with type parameters of type COSBase Modifier and Type Field Description private java.util.Set<COSBase>
PDFCloneUtility. clonedValues
private java.util.Map<java.lang.Object,COSBase>
PDFCloneUtility. clonedVersion
Methods in org.apache.pdfbox.multipdf that return COSBase Modifier and Type Method Description COSBase
PDFCloneUtility. cloneForNewDocument(java.lang.Object base)
Deep-clones the given object for inclusion into a different PDF document identified by the destination parameter.Methods in org.apache.pdfbox.multipdf with parameters of type COSBase Modifier and Type Method Description private void
Overlay. addOriginalContent(COSBase contents, COSArray contentArray)
private COSStream
Overlay. createCombinedContentStream(COSBase contents)
private java.util.List<COSStream>
Overlay. createContentStreamList(COSBase contents)
-
Uses of COSBase in org.apache.pdfbox.pdfparser
Methods in org.apache.pdfbox.pdfparser that return COSBase Modifier and Type Method Description private COSBase
BaseParser. getObjectFromPool(COSObjectKey key)
private COSBase
BaseParser. parseCOSDictionaryValue()
This will parse a PDF dictionary value.protected COSBase
BaseParser. parseDirObject()
This will parse a directory object from the stream.private COSBase
PDFObjectStreamParser. parseObject(int offset)
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. parseObjectDynamically(COSObject obj, 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.Methods in org.apache.pdfbox.pdfparser with parameters of type COSBase Modifier and Type Method Description private void
COSParser. addNewToList(java.util.Queue<COSBase> toBeParsedList, COSBase newObject, java.util.Set<java.lang.Long> addedObjects)
Adds newObject to toBeParsedList if it is not an COSObject or we didn't add this COSObject already (checked via addedObjects).private COSNumber
COSParser. getLength(COSBase lengthBaseObj, COSName streamType)
Returns length value referred to or defined in given object.Method parameters in org.apache.pdfbox.pdfparser with type arguments of type COSBase Modifier and Type Method Description private void
COSParser. addNewToList(java.util.Queue<COSBase> toBeParsedList, java.util.Collection<COSBase> newObjects, java.util.Set<java.lang.Long> addedObjects)
Adds all from newObjects to toBeParsedList if it is not an COSObject or we didn't add this COSObject already (checked via addedObjects).private void
COSParser. addNewToList(java.util.Queue<COSBase> toBeParsedList, java.util.Collection<COSBase> newObjects, java.util.Set<java.lang.Long> addedObjects)
Adds all from newObjects to toBeParsedList if it is not an COSObject or we didn't add this COSObject already (checked via addedObjects).private void
COSParser. addNewToList(java.util.Queue<COSBase> toBeParsedList, COSBase newObject, java.util.Set<java.lang.Long> addedObjects)
Adds newObject to toBeParsedList if it is not an COSObject or we didn't add this COSObject already (checked via addedObjects). -
Uses of COSBase in org.apache.pdfbox.pdfwriter
Fields in org.apache.pdfbox.pdfwriter declared as COSBase Modifier and Type Field Description private COSBase
COSWriterXRefEntry. object
Fields in org.apache.pdfbox.pdfwriter with type parameters of type COSBase Modifier and Type Field Description private java.util.Set<COSBase>
COSWriter. actualsAdded
private java.util.Map<COSObjectKey,COSBase>
COSWriter. keyObject
private java.util.Map<COSBase,COSObjectKey>
COSWriter. objectKeys
private java.util.Deque<COSBase>
COSWriter. objectsToWrite
private java.util.Set<COSBase>
COSWriter. objectsToWriteSet
private java.util.Set<COSBase>
COSWriter. writtenObjects
Methods in org.apache.pdfbox.pdfwriter that return COSBase Modifier and Type Method Description COSBase
COSWriterXRefEntry. getObject()
This will get the object.Methods in org.apache.pdfbox.pdfwriter that return types with arguments of type COSBase Modifier and Type Method Description java.util.Map<COSBase,COSObjectKey>
COSWriter. getObjectKeys()
This will get all available object keys.Methods in org.apache.pdfbox.pdfwriter with parameters of type COSBase Modifier and Type Method Description private void
COSWriter. addObjectToWrite(COSBase object)
void
COSWriter. doWriteObject(COSBase obj)
This will write a COS object.private COSObjectKey
COSWriter. getObjectKey(COSBase obj)
This will get the object key for the object.private boolean
COSWriter. isNeedToBeUpdated(COSBase base)
Convenience method, so that we get false for types that can't be updated.private void
COSWriterXRefEntry. setObject(COSBase newObject)
This will set the object for this xref.void
COSWriter. writeReference(COSBase obj)
visitFromObjRef method comment.void
ContentStreamWriter. writeToken(COSBase base)
Writes a single operand token.Constructors in org.apache.pdfbox.pdfwriter with parameters of type COSBase Constructor Description COSWriterXRefEntry(long start, COSBase obj, COSObjectKey keyValue)
Constructor. -
Uses of COSBase in org.apache.pdfbox.pdmodel
Methods in org.apache.pdfbox.pdmodel that return COSBase Modifier and Type Method Description private COSBase
PDResources. get(COSName kind, COSName name)
Returns the resource with the given name and kind, or null.static COSBase
PDPageTree. getInheritableAttribute(COSDictionary node, COSName key)
Returns the given attribute, inheriting from parent tree nodes if necessary.Methods in org.apache.pdfbox.pdmodel with parameters of type COSBase Modifier and Type Method Description protected PDPageDestination
PDDestinationNameTreeNode. convertCOSToPD(COSBase base)
protected PDComplexFileSpecification
PDEmbeddedFilesNameTreeNode. convertCOSToPD(COSBase base)
protected PDActionJavaScript
PDJavascriptNameTreeNode. convertCOSToPD(COSBase base)
protected PDStructureElement
PDStructureElementNameTreeNode. convertCOSToPD(COSBase base)
-
Uses of COSBase in org.apache.pdfbox.pdmodel.common
Methods in org.apache.pdfbox.pdmodel.common that return COSBase Modifier and Type Method Description COSBase
COSObjectable. getCOSObject()
Convert this standard java object to a COS object.COSBase
PDPageLabels. getCOSObject()
Convert this standard java object to a COS object.COSBase
PDRange. getCOSObject()
Convert this standard java object to a COS object.COSBase
PDRectangle. getCOSObject()
Convert this standard java object to a COS object.Methods in org.apache.pdfbox.pdmodel.common that return types with arguments of type COSBase Modifier and Type Method Description private java.util.List<COSBase>
COSArrayList. toCOSObjectList(java.util.Collection<?> list)
Methods in org.apache.pdfbox.pdmodel.common with parameters of type COSBase Modifier and Type Method 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 number tree to the PD Model object.Constructors in org.apache.pdfbox.pdmodel.common with parameters of type COSBase Constructor Description COSArrayList(E actualObject, COSBase item, COSDictionary dictionary, COSName dictionaryKey)
This is a really special constructor.PDStream(PDDocument doc, java.io.InputStream input, COSBase filters)
Constructor. -
Uses of COSBase in org.apache.pdfbox.pdmodel.common.filespecification
Methods in org.apache.pdfbox.pdmodel.common.filespecification that return COSBase Modifier and Type Method Description COSBase
PDSimpleFileSpecification. getCOSObject()
Convert this standard java object to a COS object.private COSBase
PDComplexFileSpecification. getObjectFromEFDictionary(COSName key)
Methods in org.apache.pdfbox.pdmodel.common.filespecification with parameters of type COSBase Modifier and Type Method Description static PDFileSpecification
PDFileSpecification. createFS(COSBase base)
A file specification can either be a COSString or a COSDictionary. -
Uses of COSBase in org.apache.pdfbox.pdmodel.common.function
Methods in org.apache.pdfbox.pdmodel.common.function with parameters of type COSBase Modifier and Type Method Description static PDFunction
PDFunction. create(COSBase function)
Create the correct PD Model function based on the COS base function.Constructors in org.apache.pdfbox.pdmodel.common.function with parameters of type COSBase Constructor Description PDFunction(COSBase function)
Constructor.PDFunctionType0(COSBase function)
Constructor.PDFunctionType2(COSBase function)
Constructor.PDFunctionType3(COSBase functionStream)
Constructor.PDFunctionType4(COSBase functionStream)
Constructor.PDFunctionTypeIdentity(COSBase function)
-
Uses of COSBase in org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure
Methods in org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure that return COSBase Modifier and Type Method Description COSBase
PDDefaultAttributeObject. getAttributeValue(java.lang.String attrName)
Gets the attribute value for a given name.protected COSBase
PDDefaultAttributeObject. getAttributeValue(java.lang.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.Methods in org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure with parameters of type COSBase Modifier and Type Method Description protected void
PDStructureNode. appendKid(COSBase object)
Appends a COS base kid.protected java.lang.Object
PDStructureNode. createObject(COSBase kid)
Creates an object for a kid of this structure node.protected COSBase
PDDefaultAttributeObject. getAttributeValue(java.lang.String attrName, COSBase defaultValue)
Gets the attribute value for a given name.protected void
PDStructureNode. insertBefore(COSBase newKid, java.lang.Object refKid)
Inserts an COS base kid before a reference kid.private boolean
PDAttributeObject. isValueChanged(COSBase oldValue, COSBase newValue)
Is the value changed?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(java.lang.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. -
Uses of COSBase in org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf
Methods in org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf that return COSBase Modifier and Type Method Description COSBase
PDFourColours. getCOSObject()
Convert this standard java object to a COS object. -
Uses of COSBase in org.apache.pdfbox.pdmodel.encryption
Fields in org.apache.pdfbox.pdmodel.encryption with type parameters of type COSBase Modifier and Type Field Description private java.util.Set<COSBase>
SecurityHandler. objects
Methods in org.apache.pdfbox.pdmodel.encryption with parameters of type COSBase Modifier and Type Method Description void
SecurityHandler. decrypt(COSBase obj, long objNum, long genNum)
This will dispatch to the correct method. -
Uses of COSBase in org.apache.pdfbox.pdmodel.fdf
Methods in org.apache.pdfbox.pdmodel.fdf that return COSBase Modifier and Type Method Description COSBase
FDFOptionElement. getCOSObject()
Convert this standard java object to a COS object.COSBase
FDFField. getCOSValue()
Returns the COS value of this field.Methods in org.apache.pdfbox.pdmodel.fdf with parameters of type COSBase Modifier and Type Method Description protected java.lang.String
FDFAnnotation. getStringOrStream(COSBase base)
Get a text or text stream.void
FDFField. setValue(COSBase value)
Sets the COS value of this field. -
Uses of COSBase in org.apache.pdfbox.pdmodel.font
Methods in org.apache.pdfbox.pdmodel.font that return COSBase Modifier and Type Method Description COSBase
PDCIDSystemInfo. getCOSObject()
Methods in org.apache.pdfbox.pdmodel.font with parameters of type COSBase Modifier and Type Method Description protected CMap
PDFont. readCMap(COSBase base)
Reads a CMap given a COS Stream or Name.Method parameters in org.apache.pdfbox.pdmodel.font with type arguments of type COSBase Modifier and Type Method Description private float
PDType3CharProc. parseWidth(Operator operator, java.util.List<COSBase> arguments)
-
Uses of COSBase in org.apache.pdfbox.pdmodel.font.encoding
Methods in org.apache.pdfbox.pdmodel.font.encoding that return COSBase Modifier and Type Method Description COSBase
BuiltInEncoding. getCOSObject()
COSBase
DictionaryEncoding. getCOSObject()
COSBase
MacExpertEncoding. getCOSObject()
COSBase
MacOSRomanEncoding. getCOSObject()
COSBase
MacRomanEncoding. getCOSObject()
COSBase
StandardEncoding. getCOSObject()
COSBase
SymbolEncoding. getCOSObject()
COSBase
Type1Encoding. getCOSObject()
COSBase
WinAnsiEncoding. getCOSObject()
COSBase
ZapfDingbatsEncoding. getCOSObject()
-
Uses of COSBase in org.apache.pdfbox.pdmodel.graphics
Methods in org.apache.pdfbox.pdmodel.graphics that return COSBase Modifier and Type Method Description COSBase
PDFontSetting. getCOSObject()
Convert this standard java object to a COS object.COSBase
PDLineDashPattern. getCOSObject()
Methods in org.apache.pdfbox.pdmodel.graphics with parameters of type COSBase Modifier and Type Method Description static PDXObject
PDXObject. createXObject(COSBase base, PDResources resources)
Creates a new XObject instance of the appropriate type for the COS stream. -
Uses of COSBase in org.apache.pdfbox.pdmodel.graphics.blend
Methods in org.apache.pdfbox.pdmodel.graphics.blend with parameters of type COSBase Modifier and Type Method Description static BlendMode
BlendMode. getInstance(COSBase cosBlendMode)
Determines the blend mode from the BM entry in the COS ExtGState. -
Uses of COSBase in org.apache.pdfbox.pdmodel.graphics.color
Methods in org.apache.pdfbox.pdmodel.graphics.color that return COSBase Modifier and Type Method Description COSBase
PDColorSpace. getCOSObject()
COSBase
PDDeviceColorSpace. getCOSObject()
COSBase
PDGamma. getCOSObject()
Convert this standard java object to a COS object.COSBase
PDJPXColorSpace. getCOSObject()
COSBase
PDOutputIntent. getCOSObject()
COSBase
PDSpecialColorSpace. getCOSObject()
COSBase
PDTristimulus. getCOSObject()
Convert this standard java object to a COS object.Methods in org.apache.pdfbox.pdmodel.graphics.color with parameters of type COSBase Modifier and Type Method 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. -
Uses of COSBase in org.apache.pdfbox.pdmodel.graphics.image
Methods in org.apache.pdfbox.pdmodel.graphics.image that return COSBase Modifier and Type Method Description COSBase
PDInlineImage. getCOSObject()
private COSBase
PDInlineImage. toLongName(COSBase cs)
Methods in org.apache.pdfbox.pdmodel.graphics.image with parameters of type COSBase Modifier and Type Method Description private PDColorSpace
PDInlineImage. createColorSpace(COSBase cs)
private COSBase
PDInlineImage. toLongName(COSBase cs)
Constructors in org.apache.pdfbox.pdmodel.graphics.image with parameters of type COSBase Constructor Description PDImageXObject(PDDocument document, java.io.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. -
Uses of COSBase in org.apache.pdfbox.pdmodel.graphics.optionalcontent
Methods in org.apache.pdfbox.pdmodel.graphics.optionalcontent with parameters of type COSBase Modifier and Type Method Description private COSDictionary
PDOptionalContentProperties. toDictionary(COSBase o)
-
Uses of COSBase in org.apache.pdfbox.pdmodel.graphics.state
Fields in org.apache.pdfbox.pdmodel.graphics.state declared as COSBase Modifier and Type Field Description private COSBase
PDGraphicsState. transfer
Methods in org.apache.pdfbox.pdmodel.graphics.state that return COSBase Modifier and Type Method 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.Methods in org.apache.pdfbox.pdmodel.graphics.state with parameters of type COSBase Modifier and Type Method 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. -
Uses of COSBase in org.apache.pdfbox.pdmodel.interactive.action
Methods in org.apache.pdfbox.pdmodel.interactive.action that return COSBase Modifier and Type Method Description COSBase
PDActionThread. getB()
COSBase
PDActionRemoteGoTo. getD()
This will get the destination to jump to.COSBase
PDActionThread. getD()
COSBase
PDActionHide. getT()
The annotation or annotations to be hidden or shownMethods in org.apache.pdfbox.pdmodel.interactive.action with parameters of type COSBase Modifier and Type Method Description void
PDActionThread. setB(COSBase b)
void
PDActionRemoteGoTo. setD(COSBase d)
This will set the destination to jump to.void
PDActionThread. setD(COSBase d)
void
PDActionHide. setT(COSBase t)
-
Uses of COSBase in org.apache.pdfbox.pdmodel.interactive.annotation
Fields in org.apache.pdfbox.pdmodel.interactive.annotation declared as COSBase Modifier and Type Field Description private COSBase
PDAppearanceEntry. entry
Methods in org.apache.pdfbox.pdmodel.interactive.annotation that return COSBase Modifier and Type Method Description COSBase
PDAppearanceEntry. getCOSObject()
Methods in org.apache.pdfbox.pdmodel.interactive.annotation with parameters of type COSBase Modifier and Type Method Description static PDAnnotation
PDAnnotation. createAnnotation(COSBase base)
Create the correct annotation from the base COS object.Constructors in org.apache.pdfbox.pdmodel.interactive.annotation with parameters of type COSBase Constructor Description PDAppearanceEntry(COSBase entry)
Constructor for reading. -
Uses of COSBase in org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination
Fields in org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination declared as COSBase Modifier and Type Field Description private COSBase
PDNamedDestination. namedDestination
Methods in org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination that return COSBase Modifier and Type Method Description COSBase
PDNamedDestination. getCOSObject()
Convert this standard java object to a COS object.Methods in org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination with parameters of type COSBase Modifier and Type Method Description static PDDestination
PDDestination. create(COSBase base)
This will create a new destination depending on the type of COSBase that is passed in. -
Uses of COSBase in org.apache.pdfbox.pdmodel.interactive.form
Fields in org.apache.pdfbox.pdmodel.interactive.form declared as COSBase Modifier and Type Field Description private COSBase
PDXFAResource. xfa
Methods in org.apache.pdfbox.pdmodel.interactive.form that return COSBase Modifier and Type Method 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.Methods in org.apache.pdfbox.pdmodel.interactive.form with parameters of type COSBase Modifier and Type Method Description (package private) static java.util.List<java.lang.String>
FieldUtils. getPairableItems(COSBase items, int pairIdx)
Return either one of a list which can have two-element arrays entries.protected java.lang.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.Method parameters in org.apache.pdfbox.pdmodel.interactive.form with type arguments of type COSBase Modifier and Type Method Description private void
PDDefaultAppearanceString. processOperator(Operator operator, java.util.List<COSBase> operands)
This is used to handle an operation.private void
PDDefaultAppearanceString. processSetFont(java.util.List<COSBase> operands)
Process the set font and font size operator.private void
PDDefaultAppearanceString. processSetFontColor(java.util.List<COSBase> operands)
Process the font color operator.Constructors in org.apache.pdfbox.pdmodel.interactive.form with parameters of type COSBase Constructor Description PDXFAResource(COSBase xfaBase)
Constructor. -
Uses of COSBase in org.apache.pdfbox.pdmodel.interactive.pagenavigation
Methods in org.apache.pdfbox.pdmodel.interactive.pagenavigation that return COSBase Modifier and Type Method Description COSBase
PDTransitionDirection. getCOSBase()
COSBase
PDTransition. getDirection()
-
Uses of COSBase in org.apache.pdfbox.preflight
Fields in org.apache.pdfbox.preflight with type parameters of type COSBase Modifier and Type Field Description private java.util.Map<COSBase,FontContainer<?>>
PreflightContext. fontContainers
Contains the list of font name embedded in the PDF document.Methods in org.apache.pdfbox.preflight with parameters of type COSBase Modifier and Type Method 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. -
Uses of COSBase in org.apache.pdfbox.preflight.action
Methods in org.apache.pdfbox.preflight.action with parameters of type COSBase Modifier and Type Method Description private void
ActionManagerFactory. callCreateAction(COSBase aDict, PreflightContext ctx, java.util.List<AbstractActionManager> result, java.lang.String additionActionKey, java.util.Map<COSObjectKey,java.lang.Boolean> alreadyCreated)
Call the create action to add the ActionManager to the result list.private void
ActionManagerFactory. callCreateAction(COSBase aDict, PreflightContext ctx, java.util.List<AbstractActionManager> result, java.util.Map<COSObjectKey,java.lang.Boolean> alreadyCreated)
Call the callCreateAction(COSBase, COSDocument, List, String) method with null as isAA parameter. -
Uses of COSBase in org.apache.pdfbox.preflight.annotation
Methods in org.apache.pdfbox.preflight.annotation that return COSBase Modifier and Type Method Description private COSBase
AnnotationValidator. getFieldType()
-
Uses of COSBase in org.apache.pdfbox.preflight.content
Methods in org.apache.pdfbox.preflight.content that return COSBase Modifier and Type Method Description private COSBase
PreflightStreamEngine. toLongName(COSBase cs)
Methods in org.apache.pdfbox.preflight.content with parameters of type COSBase Modifier and Type Method Description private COSBase
PreflightStreamEngine. toLongName(COSBase cs)
Method parameters in org.apache.pdfbox.preflight.content with type arguments of type COSBase Modifier and Type Method Description private void
StubOperator. checkArrayOperands(java.util.List<COSBase> arguments, int length)
If the arguments list of Operator doesn't have Array parameter, this method throws a ContentStreamException.private void
StubOperator. checkNoOperands(java.util.List<COSBase> arguments)
If the arguments list of Operator isn't empty, this method throws a ContentStreamException.private void
StubOperator. checkNumberOperands(java.util.List<COSBase> arguments, int length)
If the arguments list of Operator doesn't have Number parameters (Int, float...), this method throws a ContentStreamException.protected void
PreflightStreamEngine. checkSetColorSpaceOperators(Operator operator, java.util.List<COSBase> arguments)
This method validates if the ColorSpace used as operand is consistent with the color space defined in OutputIntent dictionaries.private void
StubOperator. checkStringOperands(java.util.List<COSBase> arguments, int length)
If the arguments list of Operator doesn't have String parameter, this method throws a ContentStreamException.private void
StubOperator. checkTagAndPropertyOperands(java.util.List<COSBase> arguments)
The given arguments list is valid only if the first argument is a Tag (A String) and if the second argument is a String or a Dictionaryvoid
StubOperator. process(Operator operator, java.util.List<COSBase> arguments)
protected void
PreflightContentStream. processOperator(Operator operator, java.util.List<COSBase> operands)
protected void
PreflightContentStream. unsupportedOperator(Operator operator, java.util.List<COSBase> arguments)
protected void
PreflightStreamEngine. validateRenderingIntent(Operator operator, java.util.List<COSBase> arguments)
Check operands of the "ri" operator. -
Uses of COSBase in org.apache.pdfbox.preflight.font
Methods in org.apache.pdfbox.preflight.font with parameters of type COSBase Modifier and Type Method Description protected void
DescendantFontValidator. checkCIDSystemInfo(COSBase sysinfo)
Check the content of the CIDSystemInfo dictionary.protected boolean
Type0FontValidator. checkCIDSystemInfo(COSBase sysinfo)
Check the content of the CIDSystemInfo dictionary.protected void
CIDType0FontValidator. checkCIDToGIDMap(COSBase ctog)
protected void
CIDType2FontValidator. checkCIDToGIDMap(COSBase ctog)
protected abstract void
DescendantFontValidator. checkCIDToGIDMap(COSBase ctog)
This method checks the CIDtoGIDMap entry of the Font dictionary.protected void
DescendantFontValidator. checkCIDToGIDMap(COSBase ctog, boolean mandatory)
This method checks the CIDtoGIDMap entry of the Font dictionary.protected void
Type0FontValidator. checkCMapEncoding(COSBase encoding)
-
Uses of COSBase in org.apache.pdfbox.preflight.font.util
Method parameters in org.apache.pdfbox.preflight.font.util with type arguments of type COSBase Modifier and Type Method Description private void
PreflightType3Stream. checkType3FirstOperator(java.util.List<COSBase> arguments)
According to the PDF Reference, the first operator in a CharProc of a Type3 font must be "d0" or "d1".protected void
PreflightType3Stream. processOperator(Operator operator, java.util.List<COSBase> operands)
This is used to handle an operation. -
Uses of COSBase in org.apache.pdfbox.preflight.metadata
Methods in org.apache.pdfbox.preflight.metadata with parameters of type COSBase Modifier and Type Method Description private boolean
SynchronizedMetaDataValidation. isValidPDFDateFormat(COSBase item)
Verifies that a date item is a COSString and has the format "D:YYYYMMDDHHmmSSOHH'mm'", where D:YYYY is mandatory and the next fields optional, but only if all of their preceding fields are also present. -
Uses of COSBase in org.apache.pdfbox.preflight.parser
Methods in org.apache.pdfbox.preflight.parser that return COSBase Modifier and Type Method Description protected COSBase
PreflightParser. parseDirObject()
CallBaseParser.parseDirObject()
check limit range for Float, Integer and number of Dictionary entries.protected COSBase
PreflightParser. parseObjectDynamically(long objNr, int objGenNr, boolean requireExistingNotCompressedObj)
-
Uses of COSBase in org.apache.pdfbox.preflight.process
Methods in org.apache.pdfbox.preflight.process with parameters of type COSBase Modifier and Type Method Description private COSObject
BookmarkValidationProcess. toCOSObject(COSBase base)
Returns a COSBase as a COSObject or null if null or COSNull.protected void
CatalogValidationProcess. validateICCProfile(COSBase destOutputProfile, java.util.Map<COSObjectKey,java.lang.Boolean> mapDestOutputProfile, PreflightContext ctx)
This method checks the destOutputProfile which must be a valid ICCProfile. -
Uses of COSBase in org.apache.pdfbox.preflight.utils
Methods in org.apache.pdfbox.preflight.utils that return COSBase Modifier and Type Method Description private static COSBase
COSUtils. getCOSObjectAsClass(COSObject cosObject, COSDocument cDoc, java.lang.Class claz)
Return the COSObject object as class if the COSObject object is a reference to an object of that class.Methods in org.apache.pdfbox.preflight.utils with parameters of type COSBase Modifier and Type Method 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 java.lang.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 java.lang.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 java.lang.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 COSArrayprivate static boolean
COSUtils. isClass(COSBase elt, COSDocument doc, java.lang.Class claz)
return true if the elt is of class or a reference to a that class.static boolean
COSUtils. isDictionary(COSBase elt, COSDocument doc)
return true if the elt is a COSDictionary or a reference to a COSDictionarystatic boolean
COSUtils. isFloat(COSBase elt, COSDocument doc)
return true if the elt is a COSFloat or a reference to a COSFloatstatic boolean
COSUtils. isInteger(COSBase elt, COSDocument doc)
return true if the elt is a COSInteger or a reference to a COSIntegerstatic boolean
COSUtils. isNumeric(COSBase elt, COSDocument doc)
return true if elt is COSInteger or COSFloatstatic boolean
COSUtils. isStream(COSBase elt, COSDocument doc)
return true if the elt is a COSStream or a reference to a COSStreamstatic boolean
COSUtils. isString(COSBase elt, COSDocument doc)
return true if the elt is a COSString or a COSName or a reference to it. -
Uses of COSBase in org.apache.pdfbox.rendering
Methods in org.apache.pdfbox.rendering with parameters of type COSBase Modifier and Type Method Description private java.awt.image.BufferedImage
PageDrawer. applyTransferFunction(java.awt.image.BufferedImage image, COSBase transfer)
Method parameters in org.apache.pdfbox.rendering with type arguments of type COSBase Modifier and Type Method Description private boolean
PageDrawer. hasBlendMode(PDTransparencyGroup group, java.util.Set<COSBase> groupsDone)
-
Uses of COSBase in org.apache.pdfbox.util
Methods in org.apache.pdfbox.util with parameters of type COSBase Modifier and Type Method Description static Matrix
Matrix. createMatrix(COSBase base)
Convenience method to be used when creating a matrix from unverified data.
-