|
virtual uint32 | getNumDocuments ()=0 |
| Return the number of documents in the assembly, if known. Note: For streaming inputs such as PCL/5, this will cause the input to block until the stream has been exhausted and the number of documents known.
|
|
virtual IDocumentPtr | getDocument (uint32 index=0)=0 |
| Get the IDocument from the assembly at the given index.
|
|
virtual bool | documentExists (uint32 index)=0 |
| Determine if a document with the given index exists in the assembly.
|
|
virtual void | insertDocument (const IDocumentPtr &document, uint32 index=0)=0 |
| Insert a document into the assembly at the given index.
|
|
virtual void | removeDocument (uint32 index)=0 |
| Remove the document at the given index.
|
|
virtual void | removeDocument (const IDocumentPtr &document)=0 |
| Remove the given document from the document. If the document is not present, an exception will be raised.
|
|
virtual void | appendDocument (const IDocumentPtr &document)=0 |
| Append a document to the assembly.
|
|
virtual IDOMJobTkPtr | getJobTicket () const =0 |
| Get the overall job ticket for the entire assembly, if present.
|
|
virtual void | setJobTicket (const IDOMJobTkPtr &jobTicket)=0 |
| Set the document job ticket.
|
|
virtual void | findTarget (DOMid targetId, uint32 &docNum, uint32 &pageNum)=0 |
| Find the page contatining the target with the given DOMid in the assembly, providing the index of the document and page within the assembly. Throws an IError if the target could not be found.
|
|
virtual IAnnotationPtr | findAnnotation (const IAnnotationReferencePtr &reference)=0 |
| Find the annotation with the given annotation reference within the document assembly. Throws an IError if the target could not be found.
|
|
virtual IAnnotationPtr | findAnnotation (const IAnnotationReferencePtr &reference, uint32 &docNum, uint32 &pageNum)=0 |
| Find the annotation with the given annotation reference within the document assembly, providing the index of the document and page that contains the annotation. Throws an IError if the target could not be found.
|
|
virtual IDocumentAssemblyPtr | clone ()=0 |
| Clone an IDocumentAssembly. Will also clone all the documents and pages in the assembly.
|
|
virtual IDOMMetadataPtr | getJobMetadata () const =0 |
| Get the job metadata, if present (ie the document properties).
|
|
virtual void | setJobMetadata (const IDOMMetadataPtr &metadata)=0 |
| Set the job metadata.
|
|
virtual IInputStreamPtr | getXmpPacket () const =0 |
| Get the PDF XMP packet, if present.
|
|
virtual void | setXmpPacket (const IInputStreamPtr &xmpPacket)=0 |
| Set the PDF XMP packet, if present. Note that the XMP packet in any PDF output will be modified to match the job metadata for compliance with specification. If NULL, the XMP packet will be reset.
|
|
virtual IDOMSecurityInfoPtr | getSecurityInfo () const =0 |
| Get the security information that applied to the source file/stream. Curently only relevant for PDF.
|
|
virtual IDOMImagePtr | getThumbnail () const =0 |
| Get the thumbnail image for the assembly.
|
|
virtual void | setThumbnail (const IDOMImagePtr &thumbnail)=0 |
| Sets a new thumbnail image for the document assembly. The image must be in either JPEG or PNG format. Setting thumbnail to NULL deletes the document assembly thumbnail.
|
|
virtual void | addRef () const =0 |
| Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
|
|
virtual bool | decRef () const =0 |
| Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
|
|
virtual int32 | getRefCount () const =0 |
| Retrieve the current reference count of the actual object pointed to.
|
|
A self contained collection of IDocuments.