CFx SDK Documentation  2023 SP0
PdfPublishDocument.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 
26 //
27 // PdfPublishDocument.h
28 //
30 
31 #ifndef _PDF_PUBLISH_DOCUMENT_INCLUDED_
32 #define _PDF_PUBLISH_DOCUMENT_INCLUDED_
33 
34 #include "PdfPublishBaseObject.h"
35 #include "PdfPublishPage.h"
36 
37 #include "DbBaseHostAppServices.h"
38 
42 namespace OdPdfPublish{
43 
51 {
52 public:
53  //DOM-IGNORE-BEGIN
56  //DOM-IGNORE-END
57 
62 
66  virtual ~OdDocument();
67 
75  void setInformation(const OdString& title, const OdString& author, const OdString& subject, const OdString& creator);
76 
82  void addJavaScript(const OdString& name, const OdString& source);
83 
92  void addIconImage(const OdString& name, const OdImagePtr& image);
93 
101  void addPage(const OdPagePtr& page);
102 
112  void getInformation(OdString& title, OdString& author, OdString& subject, OdString& creator) const;
113 
121  void getJavaScripts(OdStringArray& names, OdStringArray& sources) const;
122 
134  void getIconImages(OdStringArray& names, OdImagePtrArray& images) const;
135 
145  void getPages(OdPagePtrArray& pages) const;
146 
149 };
150 
155 
156 }
157 #endif // _PDF_PUBLISH_DOCUMENT_INCLUDED_
158 
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void getIconImages(OdStringArray &names, OdImagePtrArray &images) const
ODRX_DECLARE_MEMBERS(OdDocument)
OdDbBaseHostAppServices * appServices() const
void setHostServices(OdDbBaseHostAppServices *pHostApp)
void addPage(const OdPagePtr &page)
void getInformation(OdString &title, OdString &author, OdString &subject, OdString &creator) const
void getPages(OdPagePtrArray &pages) const
void setInformation(const OdString &title, const OdString &author, const OdString &subject, const OdString &creator)
void addJavaScript(const OdString &name, const OdString &source)
void getJavaScripts(OdStringArray &names, OdStringArray &sources) const
void addIconImage(const OdString &name, const OdImagePtr &image)
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
SMARTPTR(OdFile)