API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdDocument Class
OdDocument Class
OdPdfPublish__OdDocumentOdPdfPublish__OdDocumentOdPdfPublish__OdDocument
Syntax
C++
class OdDocument : public OdObject;

PdfPublishDocument.h

This class implements working with a .pdf document created with Publish SDK. A document is a container for other elements and controls (such as pages, images, links, annotations, and so on).

 
Name 
Description 
 
Destroys the Publish SDK document. 
 
Name 
Description 
 
Adds a new attachment file to the ODA Publish document.
 
 
Adds a new icon image to the Publish SDK document.  
 
Adds a new JavaScript scenario to the Publish SDK document.  
 
Adds a new page to the Publish SDK document.  
 
Gets tbe current application services object for the document.  
 
Retrieves names of files currently attached to the Publish document. The method fills passed string arrays with file names and descriptions; then returns them to a calling subroutine.
 
 
Returns a collection of icon images from the Publish SDK document. This method fills the passed string array and smart pointer array with image names and pointers to image objects, then returns them to a calling subroutine.
 
 
Returns the current common information about the Publish SDK document. This method fills the passed strings and returns them to a calling subroutine.
 
 
Returns the collection of JavaScript scenarios encapsulated in the Publish SDK document. This method fills the passed arrays with names, source code text and source code types, then returns them to a calling subroutine.
 
 
Returns the array of pages that the Publish SDK document contains. This method fills the passed array with the OdPage object that represents the document pages and returns it to a calling subroutine.
 
 
Sets a new application services object for the document.  
 
Sets common information about the Publish SDK document.  
Copyright © 2002–2020. Open Design Alliance. All rights reserved.