CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PdfPublishDocument.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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
35#include "PdfPublishPage.h"
36
38
43namespace OdPdfPublish{
44
52{
53 //DOM-IGNORE-BEGIN
54protected:
56 //DOM-IGNORE-END
57public:
58 //DOM-IGNORE-BEGIN
61 //DOM-IGNORE-END
62
66 virtual ~OdDocument();
67
75 void setInformation(const OdString& title, const OdString& author, const OdString& subject, const OdString& creator);
76
87 void addJavaScript(const OdString& name, const OdString& source, const Source::Type source_type = Source::kCode);
88
97 void addIconImage(const OdString& name, const OdImagePtr& image);
98
106 void addPage(const OdPagePtr& page);
107
117 void addAttachment(const OdString& file_name, const OdString& description);
118
129 void setUserPassword(const OdString& user_password);
130
138 void setOwnerPassword(const OdString& owner_password);
139
146
156 void getInformation(OdString& title, OdString& author, OdString& subject, OdString& creator) const;
157
166 void getJavaScripts(OdStringArray& names, OdStringArray& sources, OdSourceTypeArray& source_types) const;
167
178 void getIconImages(OdStringArray& names, OdImagePtrArray& images) const;
179
189 void getPages(OdPagePtrArray& pages) const;
190
198 void getAttachments(OdStringArray& file_names, OdStringArray& descriptions);
199
204 void getUserPassword(OdString& user_password) const;
205
210 void getOwnerPassword(OdString& owner_password) const;
211
217
223
229};
230
235
236}
237#endif // _PDF_PUBLISH_DOCUMENT_INCLUDED_
238
#define SMARTPTR(classname)
Definition: IfcCommon.h:33
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void getIconImages(OdStringArray &names, OdImagePtrArray &images) const
ODRX_DECLARE_MEMBERS(OdDocument)
void setUserPassword(const OdString &user_password)
void setAccessPermissionFlags(const AccessPermissions::AccessPermissionsFlags flags)
void addJavaScript(const OdString &name, const OdString &source, const Source::Type source_type=Source::kCode)
void getUserPassword(OdString &user_password) const
void setHostServices(OdDbBaseHostAppServices *pHostApp)
void addPage(const OdPagePtr &page)
void addAttachment(const OdString &file_name, const OdString &description)
void getInformation(OdString &title, OdString &author, OdString &subject, OdString &creator) const
void getJavaScripts(OdStringArray &names, OdStringArray &sources, OdSourceTypeArray &source_types) const
void getPages(OdPagePtrArray &pages) const
void setInformation(const OdString &title, const OdString &author, const OdString &subject, const OdString &creator)
AccessPermissions::AccessPermissionsFlags getAccessPermissionFlags() const
void getOwnerPassword(OdString &owner_password) const
void addIconImage(const OdString &name, const OdImagePtr &image)
void getAttachments(OdStringArray &file_names, OdStringArray &descriptions)
OdDbBaseHostAppServices * appServices() const
void setOwnerPassword(const OdString &owner_password)
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282