Class COSDocument
public class COSDocument : COSBase, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICOSObjectable
- Inheritance
-
COSDocument
- Implements
- Inherited Members
-
JVMBridgeBase<COSObjectable>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<COSObjectable>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<COSObjectable>.SExecuteWithSignatureArray<TArrayType>(string, string, params object[])
Constructors
COSDocument()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public COSDocument()
COSDocument(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public COSDocument(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
COSDocument(ICOSParser)
public COSDocument(ICOSParser arg0)
Parameters
arg0ICOSParser
COSDocument(StreamCacheCreateFunction)
public COSDocument(RandomAccessStreamCache.StreamCacheCreateFunction arg0)
Parameters
COSDocument(StreamCacheCreateFunction, ICOSParser)
public COSDocument(RandomAccessStreamCache.StreamCacheCreateFunction arg0, ICOSParser arg1)
Parameters
COSDocument(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public COSDocument(params object[] args)
Parameters
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DocumentID
https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#getDocumentID-- https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#setDocumentID-org.apache.pdfbox.cos.COSArray-
public COSArray DocumentID { get; set; }
Property Value
DocumentState
public COSDocumentState DocumentState { get; }
Property Value
EncryptionDictionary
https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#getEncryptionDictionary-- https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#setEncryptionDictionary-org.apache.pdfbox.cos.COSDictionary-
public COSDictionary EncryptionDictionary { get; set; }
Property Value
HighestXRefObjectNumber
https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#getHighestXRefObjectNumber-- https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#setHighestXRefObjectNumber-long-
public long HighestXRefObjectNumber { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
LinearizedDictionary
public COSDictionary LinearizedDictionary { get; }
Property Value
StartXref
https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#getStartXref-- https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#setStartXref-long-
public long StartXref { get; set; }
Property Value
Trailer
https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#getTrailer-- https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#setTrailer-org.apache.pdfbox.cos.COSDictionary-
public COSDictionary Trailer { get; set; }
Property Value
Version
https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#getVersion-- https://www.javadoc.io/doc/org.apache.pdfbox/pdfbox/3.0.6/org/apache/pdfbox/cos/COSDocument.html#setVersion-float-
public float Version { get; set; }
Property Value
XrefTable
public Map<COSObjectKey, Long> XrefTable { get; }
Property Value
Methods
AddXRefTable(Map<COSObjectKey, Long>)
public void AddXRefTable(Map<COSObjectKey, Long> arg0)
Parameters
arg0Map<COSObjectKey, Long>
Close()
public void Close()
Exceptions
CreateCOSStream()
public COSStream CreateCOSStream()
Returns
CreateCOSStream(COSDictionary, long, long)
public COSStream CreateCOSStream(COSDictionary arg0, long arg1, long arg2)
Parameters
arg0COSDictionaryarg1longarg2long
Returns
Exceptions
GetObjectFromPool(COSObjectKey)
public COSObject GetObjectFromPool(COSObjectKey arg0)
Parameters
arg0COSObjectKey
Returns
GetObjectsByType(COSName)
public List<COSObject> GetObjectsByType(COSName arg0)
Parameters
Returns
GetObjectsByType(COSName, COSName)
public List<COSObject> GetObjectsByType(COSName arg0, COSName arg1)
Parameters
Returns
HasHybridXRef()
public bool HasHybridXRef()
Returns
IsClosed()
public bool IsClosed()
Returns
IsDecrypted()
public bool IsDecrypted()
Returns
IsEncrypted()
public bool IsEncrypted()
Returns
IsXRefStream()
public bool IsXRefStream()
Returns
SetDecrypted()
public void SetDecrypted()
SetHasHybridXRef()
public void SetHasHybridXRef()
SetIsXRefStream(bool)
public void SetIsXRefStream(bool arg0)
Parameters
Operators
implicit operator Closeable(COSDocument)
Converter from COSDocument to Closeable
public static implicit operator Closeable(COSDocument t)