The DocumentKit class is a user space object. More...
#include <sprk_publish.h>
Public Member Functions | |
DocumentKit () | |
The default constructor creates an empty DocumentKit object. More... | |
DocumentKit (DocumentKit const &in_kit) | |
The copy constructor creates a new DocumentKit object that contains the same settings as the source DocumentKit. More... | |
DocumentKit (DocumentKit &&in_kit) | |
The move constructor creates a DocumentKit by transferring the underlying object of the rvalue reference to this DocumentKit. More... | |
virtual | ~DocumentKit () |
HPS::Type | ObjectType () const |
void | Set (DocumentKit const &in_kit) |
Copies the source DocumentKit into this DocumentKit. More... | |
void | Show (DocumentKit &out_kit) const |
Copies this DocumentKit into the given DocumentKit. More... | |
DocumentKit & | operator= (DocumentKit const &in_kit) |
Copies the source DocumentKit into this DocumentKit. More... | |
DocumentKit & | operator= (DocumentKit &&in_kit) |
The move assignment operator transfers the underlying object of the rvalue reference to this DocumentKit. More... | |
bool | Empty () const |
Indicates whether this DocumentKit has any values set on it. More... | |
bool | Equals (DocumentKit const &in_kit) const |
Check if the source DocumentKit is equivalent to this DocumentKit. More... | |
bool | operator== (DocumentKit const &in_kit) const |
Check if the source DocumentKit is equivalent to this DocumentKit. More... | |
bool | operator!= (DocumentKit const &in_kit) const |
Check if the source DocumentKit is not equivalent to this DocumentKit. More... | |
DocumentKit & | SetInformation (char const *in_title, char const *in_author, char const *in_subject, char const *in_creator) |
Sets the title, author, subject and creator for this document. More... | |
DocumentKit & | SetPasswords (char const *in_user_password, char const *in_owner_password) |
Sets the passwords for this document. More... | |
DocumentKit & | AddJavaScript (char const *in_script_name, char const *in_source, Source::Type in_type=Source::Type::Code) |
Adds a named JavaScript source or file to the document. More... | |
DocumentKit & | AddJavaScript (size_t in_count, UTF8 const in_script_names[], UTF8 const in_sources[], Source::Type const in_types[]) |
Adds a list of named JavaScript sources or files to the document. More... | |
DocumentKit & | AddJavaScript (UTF8Array const &in_script_names, UTF8Array const &in_sources, SourceTypeArray const &in_types) |
Adds a list of named JavaScript sources or files to the document. More... | |
DocumentKit & | AddAttachment (char const *in_filename, char const *in_description) |
Adds an attachment to the document. More... | |
DocumentKit & | AddAttachments (size_t in_count, UTF8 const in_filenames[], UTF8 const in_descriptions[]) |
Adds a list of attachments to the document. More... | |
DocumentKit & | AddAttachments (UTF8Array const &in_filenames, UTF8Array const &in_descriptions) |
Adds a list of attachments to the document. More... | |
DocumentKit & | AddIconImage (char const *in_name, ImageKit const &in_image) |
Adds an icon image to the document. More... | |
DocumentKit & | AddIconImages (size_t in_count, UTF8 const in_names[], ImageKit const in_images[]) |
Adds icon images to the document. More... | |
DocumentKit & | AddIconImages (UTF8Array const &in_names, ImageKitArray const &in_images) |
Adds icon images to the document. More... | |
DocumentKit & | SetPage (PageKit const &in_page) |
Adds the given page to the document. More... | |
DocumentKit & | AddPage (PageKit const &in_page) |
Adds the given page to the document. More... | |
DocumentKit & | SetPages (size_t in_count, PageKit const in_pages[]) |
Adds the given pages to the document. More... | |
DocumentKit & | SetPages (PageKitArray const &in_pages) |
Adds the given pages to the document. More... | |
DocumentKit & | AddPages (size_t in_count, PageKit const in_pages[]) |
Adds the given pages to the document. More... | |
DocumentKit & | AddPages (PageKitArray const &in_pages) |
Adds the given pages to the document. More... | |
DocumentKit & | SetPermissions (size_t in_count, Permission::Type const in_permissions[]) |
Sets document permissions. More... | |
DocumentKit & | SetPermissions (PermissionTypeArray const &in_permissions) |
Sets document permissions. More... | |
DocumentKit & | UnsetInformation () |
Removes the document title, author, subject and creator. More... | |
DocumentKit & | UnsetPasswords () |
Removes the document passwords. More... | |
DocumentKit & | UnsetJavaScript (char const *in_script_name) |
Removes the script with a given name from the document. More... | |
DocumentKit & | UnsetJavaScript (size_t in_count, UTF8 const in_script_names[]) |
Removes the scripts with the given names from the document. More... | |
DocumentKit & | UnsetJavaScript (UTF8Array const &in_script_names) |
Removes the scripts with the given names from the document. More... | |
DocumentKit & | UnsetJavaScript () |
Removes all scripts from the document. More... | |
DocumentKit & | UnsetAttachment (char const *in_filename) |
Removes the attachment with a given filename from the document. More... | |
DocumentKit & | UnsetAttachments (size_t in_count, UTF8 const in_filenames[]) |
Removes the attachments with the given filenames from the document. More... | |
DocumentKit & | UnsetAttachments (UTF8Array const &in_filenames) |
Removes the attachments with the given filenames from the document. More... | |
DocumentKit & | UnsetAttachments () |
Removes all attachments from the document. More... | |
DocumentKit & | UnsetIconImage (char const *in_name) |
Removes the icon image with a given name from the document. More... | |
DocumentKit & | UnsetIconImages (size_t in_count, UTF8 const in_names[]) |
Removes the icon images with the given names from the document. More... | |
DocumentKit & | UnsetIconImages (UTF8Array const &in_names) |
Removes the icon images with the given names from the document. More... | |
DocumentKit & | UnsetIconImages () |
Removes all icon images from the document. More... | |
DocumentKit & | UnsetPage (size_t in_index) |
Removes the page at the given index from the document. More... | |
DocumentKit & | UnsetPages (size_t in_count, size_t const in_indices[]) |
Removes the pages at the given indices from the document. More... | |
DocumentKit & | UnsetPages (SizeTArray const &in_indices) |
Removes the pages at the given indices from the document. More... | |
DocumentKit & | UnsetPages () |
Removes all pages from the document. More... | |
DocumentKit & | UnsetPermissions () |
Removes permission settings from the document. More... | |
DocumentKit & | UnsetEverything () |
Removes all data from the document. More... | |
bool | ShowInformation (UTF8 &out_title, UTF8 &out_author, UTF8 &out_subject, UTF8 &out_creator) const |
Shows the document title, author, subject and creator. More... | |
bool | ShowPasswords (UTF8 &out_user_password, UTF8 &out_owner_password) const |
Shows the document passwords. More... | |
bool | ShowJavaScript (UTF8Array &out_script_names, UTF8Array &out_sources, SourceTypeArray &out_types) const |
Shows the JavaScript sources and/or files on the document. More... | |
bool | ShowAttachments (UTF8Array &out_filenames, UTF8Array &out_descriptions) const |
Shows the attachments on the document. More... | |
bool | ShowIconImages (UTF8Array &out_names, ImageKitArray &out_images) const |
Shows the icon images on the document. More... | |
bool | ShowPages (PageKitArray &out_pages) const |
Shows the pages on the document. More... | |
bool | ShowPermissions (PermissionTypeArray &out_permissions) const |
Shows permissions on the document. More... | |
virtual HPS::Type | Type () const |
This function returns the true type of the underlying object. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
bool | HasType (HPS::Type in_mask) const |
This function indicates whether this Object has the given Type mask. More... | |
intptr_t | GetClassID () const |
Returns a unique identifier that is shared by all objects of the same class. More... | |
intptr_t | GetInstanceID () const |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
Static Public Member Functions | |
static DocumentKit | GetDefault () |
Creates a DocumentKit which contains the default settings. More... | |
template<typename T > | |
static intptr_t | ClassID () |
Unique identifier for this class. More... | |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::PublishDocumentKit |
The DocumentKit class is a user space object.
It acts as the root container for all pages in a Publish PDF.
HPS::Publish::DocumentKit::DocumentKit | ( | ) |
The default constructor creates an empty DocumentKit object.
HPS::Publish::DocumentKit::DocumentKit | ( | DocumentKit const & | in_kit | ) |
The copy constructor creates a new DocumentKit object that contains the same settings as the source DocumentKit.
in_kit | The source DocumentKit to copy. |
HPS::Publish::DocumentKit::DocumentKit | ( | DocumentKit && | in_kit | ) |
The move constructor creates a DocumentKit by transferring the underlying object of the rvalue reference to this DocumentKit.
in_kit | An rvalue reference to a DocumentKit to take the underlying object from. |
|
virtual |
DocumentKit& HPS::Publish::DocumentKit::AddAttachment | ( | char const * | in_filename, |
char const * | in_description | ||
) |
Adds an attachment to the document.
If there is an existing attachment on the document with the given filename, it will get overwritten. This corresponds to the value that will be passed to A3DPDFDocumentAddFileAttachment.
in_filename | UTF8-encoded filename of the file to be attached. |
in_description | UTF8-encoded description of the file to be attached. |
DocumentKit& HPS::Publish::DocumentKit::AddAttachments | ( | size_t | in_count, |
UTF8 const | in_filenames[], | ||
UTF8 const | in_descriptions[] | ||
) |
Adds a list of attachments to the document.
If there is an existing attachment on the document with a filename which is in the given list, it will get overwritten. These correspond to values that will be passed to A3DPDFDocumentAddFileAttachment.
in_count | Size of the following arrays. |
in_filenames | Filenames of the files to be attached. |
in_descriptions | Descriptions of the files to be attached. |
DocumentKit& HPS::Publish::DocumentKit::AddAttachments | ( | UTF8Array const & | in_filenames, |
UTF8Array const & | in_descriptions | ||
) |
Adds a list of attachments to the document.
If there is an existing attachment on the document with a filename which is in the given list, it will get overwritten. These correspond to values that will be passed to A3DPDFDocumentAddFileAttachment.
in_filenames | Filenames of the files to be attached. |
in_descriptions | Descriptions of the files to be attached. |
DocumentKit& HPS::Publish::DocumentKit::AddIconImage | ( | char const * | in_name, |
ImageKit const & | in_image | ||
) |
Adds an icon image to the document.
If there is an existing icon image on the document with the given name, it will get overwritten. This corresponds to the value that will be passed to A3DPDFDocumentAddImageAsIcon.
in_name | UTF8-encoded name of the icon image to be attached. |
in_image | Image to be attached as an icon. |
DocumentKit& HPS::Publish::DocumentKit::AddIconImages | ( | size_t | in_count, |
UTF8 const | in_names[], | ||
ImageKit const | in_images[] | ||
) |
Adds icon images to the document.
If there is an existing icon image on the document with a name which is in the given list, it will get overwritten. These correspond to the values that will be passed to A3DPDFDocumentAddImageAsIcon.
in_count | Size of the following arrays. |
in_names | Names of the icon images to be attached. |
in_images | Images to be attached as icons. |
DocumentKit& HPS::Publish::DocumentKit::AddIconImages | ( | UTF8Array const & | in_names, |
ImageKitArray const & | in_images | ||
) |
Adds icon images to the document.
If there is an existing icon image on the document with a name which is in the given list, it will get overwritten. These correspond to the values that will be passed to A3DPDFDocumentAddImageAsIcon.
in_names | Names of the icon images to be attached. |
in_images | Images to be attached as icons. |
DocumentKit& HPS::Publish::DocumentKit::AddJavaScript | ( | char const * | in_script_name, |
char const * | in_source, | ||
Source::Type | in_type = Source::Type::Code |
||
) |
Adds a named JavaScript source or file to the document.
If there is an existing script on the document with the given name, it will get overwritten. This corresponds to the value that will be passed to A3DPDFDocumentAddJavascriptFromString.
in_script_name | UTF8-encoded script name to be added to the document. |
in_source | UTF8-encoded JavaScript source or file (depending on the following argument) to be added to the document. |
in_type | The types of the preceding argument. Defaults to Source::Type::Code. |
DocumentKit& HPS::Publish::DocumentKit::AddJavaScript | ( | size_t | in_count, |
UTF8 const | in_script_names[], | ||
UTF8 const | in_sources[], | ||
Source::Type const | in_types[] | ||
) |
Adds a list of named JavaScript sources or files to the document.
If there is an existing script on the document with a name which is in the given list, it will get overwritten. These correspond to values that will be passed to A3DPDFDocumentAddJavascriptFromString.
in_count | Size of the following arrays. |
in_script_names | Script names to be added to the document. |
in_sources | JavaScript sources and/or files (depending on the corresponding entry in the following argument) to be added to the document. |
in_types | Types for each item in the preceding argument array. |
DocumentKit& HPS::Publish::DocumentKit::AddJavaScript | ( | UTF8Array const & | in_script_names, |
UTF8Array const & | in_sources, | ||
SourceTypeArray const & | in_types | ||
) |
Adds a list of named JavaScript sources or files to the document.
If there is an existing script on the document with a name which is in the given list, it will get overwritten. These correspond to values that will be passed to A3DPDFDocumentAddJavascriptFromString.
in_script_names | Script names to be added to the document. |
in_sources | JavaScript sources and/or files (depending on the corresponding entry in the following argument) to be added to the document. |
in_types | Types for each item in the preceding argument array. |
DocumentKit& HPS::Publish::DocumentKit::AddPage | ( | PageKit const & | in_page | ) |
Adds the given page to the document.
This will append the page after any existing pages on the document. This corresponds to the value that will be passed to A3DPDFDocumentAppendNewPage or A3DPDFDocumentAppendPageFromPDFFileEx.
in_page | Page to add to the document. |
DocumentKit& HPS::Publish::DocumentKit::AddPages | ( | size_t | in_count, |
PageKit const | in_pages[] | ||
) |
Adds the given pages to the document.
This will append the pages after any existing pages on the document. These correspond to values that will be passed to A3DPDFDocumentAppendNewPage or A3DPDFDocumentAppendPageFromPDFFileEx.
in_count | Size of the following array. |
in_pages | Pages to add to the document. |
DocumentKit& HPS::Publish::DocumentKit::AddPages | ( | PageKitArray const & | in_pages | ) |
Adds the given pages to the document.
This will append the pages after any existing pages on the document. These correspond to values that will be passed to A3DPDFDocumentAppendNewPage or A3DPDFDocumentAppendPageFromPDFFileEx.
in_pages | Pages to add to the document. |
|
inlinestaticinherited |
Unique identifier for this class.
Note: this method uses construction of static objects. If used in a constructor, it should be used in the body not the initializer list.
|
virtual |
Indicates whether this DocumentKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::Publish::DocumentKit::Equals | ( | DocumentKit const & | in_kit | ) | const |
Check if the source DocumentKit is equivalent to this DocumentKit.
in_kit | The source DocumentKit to compare to this DocumentKit. |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
static |
Creates a DocumentKit which contains the default settings.
The returned object will not necessarily have values for every setting, but it will have them where it is reasonable to have a default. These values will be used for export unless a setting is overridden by the DocumentKit passed to File::Export.
|
inherited |
Returns an identifier that can be used to identify which instance of a class an object is.
Different keys and controls will return the same value if they are backed by the same database resource.
|
inherited |
|
inlinevirtual |
bool HPS::Publish::DocumentKit::operator!= | ( | DocumentKit const & | in_kit | ) | const |
Check if the source DocumentKit is not equivalent to this DocumentKit.
in_kit | The source DocumentKit to compare to this DocumentKit. |
DocumentKit& HPS::Publish::DocumentKit::operator= | ( | DocumentKit const & | in_kit | ) |
Copies the source DocumentKit into this DocumentKit.
in_kit | The source DocumentKit to copy. |
DocumentKit& HPS::Publish::DocumentKit::operator= | ( | DocumentKit && | in_kit | ) |
The move assignment operator transfers the underlying object of the rvalue reference to this DocumentKit.
in_kit | An rvalue reference to a DocumentKit to take the underlying object from. |
bool HPS::Publish::DocumentKit::operator== | ( | DocumentKit const & | in_kit | ) | const |
Check if the source DocumentKit is equivalent to this DocumentKit.
in_kit | The source DocumentKit to compare to this DocumentKit. |
|
virtualinherited |
Resets this object to its initial, uninitialized state.
Reimplemented in HPS::EventHandler, HPS::EventDispatcher, HPS::World, HPS::HighlightSearchResults, HPS::HighlightSearchResultsIterator, HPS::SelectionResults, HPS::SelectionResultsIterator, HPS::FontSearchResults, HPS::FontSearchResultsIterator, HPS::SearchResults, and HPS::SearchResultsIterator.
void HPS::Publish::DocumentKit::Set | ( | DocumentKit const & | in_kit | ) |
Copies the source DocumentKit into this DocumentKit.
in_kit | The source DocumentKit to copy. |
DocumentKit& HPS::Publish::DocumentKit::SetInformation | ( | char const * | in_title, |
char const * | in_author, | ||
char const * | in_subject, | ||
char const * | in_creator | ||
) |
Sets the title, author, subject and creator for this document.
These corresponds to the values that will be passed to A3DPDFDocumentInformationData::m_pcTitle, A3DPDFDocumentInformationData::m_pcAuthor, A3DPDFDocumentInformationData::m_pcSubject, and A3DPDFDocumentInformationData::m_pcCreator (respectively).
in_title | UTF8-encoded title string to set on the document. |
in_author | UTF8-encoded author string to set on the document. |
in_subject | UTF8-encoded subject string to set on the document. |
in_creator | UTF8-encoded creator string to set on the document. |
DocumentKit& HPS::Publish::DocumentKit::SetPage | ( | PageKit const & | in_page | ) |
Adds the given page to the document.
This will replace all pages (if any) which are already on the document. This corresponds to the value that will be passed to A3DPDFDocumentAppendNewPage or A3DPDFDocumentAppendPageFromPDFFileEx.
in_page | Page to add to the document. |
DocumentKit& HPS::Publish::DocumentKit::SetPages | ( | size_t | in_count, |
PageKit const | in_pages[] | ||
) |
Adds the given pages to the document.
This will replace all pages (if any) which are already on the document. These correspond to values that will be passed to A3DPDFDocumentAppendNewPage or A3DPDFDocumentAppendPageFromPDFFileEx.
in_count | Size of the following array. |
in_pages | Pages to add to the document. |
DocumentKit& HPS::Publish::DocumentKit::SetPages | ( | PageKitArray const & | in_pages | ) |
Adds the given pages to the document.
This will replace all pages (if any) which are already on the document. These correspond to values that will be passed to A3DPDFDocumentAppendNewPage or A3DPDFDocumentAppendPageFromPDFFileEx.
in_pages | Pages to add to the document. |
DocumentKit& HPS::Publish::DocumentKit::SetPasswords | ( | char const * | in_user_password, |
char const * | in_owner_password | ||
) |
Sets the passwords for this document.
This corresponds to the value that will be passed to A3DPDFDocumentSetPassword.
in_user_password | UTF8-encoded password string required when opening, modifying or printing the document. If an empty string is specified, no password will be required. |
in_owner_password | UTF8-encoded password string required when changing security features of document. If an empty string is specified, no password will be required. |
DocumentKit& HPS::Publish::DocumentKit::SetPermissions | ( | size_t | in_count, |
Permission::Type const | in_permissions[] | ||
) |
Sets document permissions.
This correspond to the values that will be passed to A3DPDFDocumentSetDocumentPermissions.
in_count | Size of the following array. |
in_permissions | The permissions to be set on the document. |
DocumentKit& HPS::Publish::DocumentKit::SetPermissions | ( | PermissionTypeArray const & | in_permissions | ) |
Sets document permissions.
This correspond to the values that will be passed to A3DPDFDocumentSetDocumentPermissions.
in_permissions | The permissions to be set on the document. |
void HPS::Publish::DocumentKit::Show | ( | DocumentKit & | out_kit | ) | const |
Copies this DocumentKit into the given DocumentKit.
out_kit | The DocumentKit to populate with the contents of this DocumentKit. |
bool HPS::Publish::DocumentKit::ShowAttachments | ( | UTF8Array & | out_filenames, |
UTF8Array & | out_descriptions | ||
) | const |
Shows the attachments on the document.
out_filenames | Filenames of the attachments on the document. |
out_descriptions | Descriptions of the attachments on the document. |
bool HPS::Publish::DocumentKit::ShowIconImages | ( | UTF8Array & | out_names, |
ImageKitArray & | out_images | ||
) | const |
Shows the icon images on the document.
out_names | Names of the icon images on the document. |
out_images | Icon images on the document. |
bool HPS::Publish::DocumentKit::ShowInformation | ( | UTF8 & | out_title, |
UTF8 & | out_author, | ||
UTF8 & | out_subject, | ||
UTF8 & | out_creator | ||
) | const |
Shows the document title, author, subject and creator.
out_title | Title of the document |
out_author | Author of the document |
out_subject | Subject of the document |
out_creator | Creator of the document |
bool HPS::Publish::DocumentKit::ShowJavaScript | ( | UTF8Array & | out_script_names, |
UTF8Array & | out_sources, | ||
SourceTypeArray & | out_types | ||
) | const |
Shows the JavaScript sources and/or files on the document.
out_script_names | Script names on the document. |
out_sources | JavaScript sources and/or files on the document. |
out_types | Types for each item in the preceding array. |
bool HPS::Publish::DocumentKit::ShowPages | ( | PageKitArray & | out_pages | ) | const |
Shows the pages on the document.
out_pages | Pages on the document. |
bool HPS::Publish::DocumentKit::ShowPasswords | ( | UTF8 & | out_user_password, |
UTF8 & | out_owner_password | ||
) | const |
Shows the document passwords.
out_user_password | User password of the document. |
out_owner_password | Owner password of the document. |
bool HPS::Publish::DocumentKit::ShowPermissions | ( | PermissionTypeArray & | out_permissions | ) | const |
Shows permissions on the document.
out_permissions | Permissions on the document. |
|
virtualinherited |
This function returns the true type of the underlying object.
This function is useful for finding the type of smart pointer objects that have been cast to more generic types.
Reimplemented in HPS::UpdateOptionsControl, HPS::HighlightControl, HPS::SelectionOptionsControl, HPS::OffScreenWindowOptionsControl, HPS::ApplicationWindowOptionsControl, HPS::StandAloneWindowOptionsControl, HPS::AttributeLockControl, HPS::WindowInfoControl, HPS::DebuggingControl, HPS::SubwindowControl, HPS::ContourLineControl, HPS::VisualEffectsControl, HPS::TransformMaskControl, HPS::PostProcessEffectsControl, HPS::DrawingAttributeControl, HPS::HiddenLineAttributeControl, HPS::PerformanceControl, HPS::NURBSSurfaceAttributeControl, HPS::ConditionControl, HPS::StyleControl, HPS::PortfolioControl, HPS::MaterialMappingControl, HPS::TextureMatrixControl, HPS::ModellingMatrixControl, HPS::CurveAttributeControl, HPS::EdgeAttributeControl, HPS::LineAttributeControl, HPS::TextAttributeControl, HPS::CuttingSectionAttributeControl, HPS::CylinderAttributeControl, HPS::LightingAttributeControl, HPS::SphereAttributeControl, HPS::MarkerAttributeControl, HPS::CullingControl, HPS::ColorInterpolationControl, HPS::TransparencyControl, HPS::SelectabilityControl, HPS::CameraControl, HPS::VisibilityControl, HPS::BoundingControl, HPS::Kit, and HPS::Control.
DocumentKit& HPS::Publish::DocumentKit::UnsetAttachment | ( | char const * | in_filename | ) |
Removes the attachment with a given filename from the document.
in_filename | UTF8-encoded filename of attachment to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetAttachments | ( | size_t | in_count, |
UTF8 const | in_filenames[] | ||
) |
Removes the attachments with the given filenames from the document.
in_count | Size of the following array. |
in_filenames | Filenames of attachments to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetAttachments | ( | UTF8Array const & | in_filenames | ) |
Removes the attachments with the given filenames from the document.
in_filenames | Filenames of attachments to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetAttachments | ( | ) |
Removes all attachments from the document.
DocumentKit& HPS::Publish::DocumentKit::UnsetEverything | ( | ) |
Removes all data from the document.
DocumentKit& HPS::Publish::DocumentKit::UnsetIconImage | ( | char const * | in_name | ) |
Removes the icon image with a given name from the document.
in_name | UTF8-encoded name of icon image to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetIconImages | ( | size_t | in_count, |
UTF8 const | in_names[] | ||
) |
Removes the icon images with the given names from the document.
in_count | Size of the following array. |
in_names | Names of icon images to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetIconImages | ( | UTF8Array const & | in_names | ) |
Removes the icon images with the given names from the document.
in_names | Names of icon images to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetIconImages | ( | ) |
Removes all icon images from the document.
DocumentKit& HPS::Publish::DocumentKit::UnsetInformation | ( | ) |
Removes the document title, author, subject and creator.
DocumentKit& HPS::Publish::DocumentKit::UnsetJavaScript | ( | char const * | in_script_name | ) |
Removes the script with a given name from the document.
in_script_name | UTF8-encoded script name to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetJavaScript | ( | size_t | in_count, |
UTF8 const | in_script_names[] | ||
) |
Removes the scripts with the given names from the document.
in_count | Size of the following array. |
in_script_names | Script names to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetJavaScript | ( | UTF8Array const & | in_script_names | ) |
Removes the scripts with the given names from the document.
in_script_names | Script names to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetJavaScript | ( | ) |
Removes all scripts from the document.
DocumentKit& HPS::Publish::DocumentKit::UnsetPage | ( | size_t | in_index | ) |
Removes the page at the given index from the document.
in_index | Index of the page to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetPages | ( | size_t | in_count, |
size_t const | in_indices[] | ||
) |
Removes the pages at the given indices from the document.
in_count | Size of the following array. |
in_indices | Indices of the pages to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetPages | ( | SizeTArray const & | in_indices | ) |
Removes the pages at the given indices from the document.
in_indices | Indices of the pages to remove from the document. |
DocumentKit& HPS::Publish::DocumentKit::UnsetPages | ( | ) |
Removes all pages from the document.
DocumentKit& HPS::Publish::DocumentKit::UnsetPasswords | ( | ) |
Removes the document passwords.
DocumentKit& HPS::Publish::DocumentKit::UnsetPermissions | ( | ) |
Removes permission settings from the document.
|
static |