#include <IS4SPPackage.h>
|
| enum | PackageRC { kPackageOK, kPackageCancelled, kPackageBadPreflight, kPackageCantCreateFolder, kPackageCantCopyFonts, kPackageCantCopyProfiles, kPackageCantCopyLinks, kPackageCantCopyPub, kPackageCantUpdateLinks, kPackageCantRestoreLinks, kPackageCantDoHyphExceptions, kPackageMissingPlugins, kPackageUnknownError, kPackageIDMLError, kPackageIDMLErrorPDFError, kPackageIDMLErrorPDFAlerts, kPackagePDFAlerts, kPackagePDFError } |
| |
This interface is used to Package an individual document
- See Also
- IS4SPPackageBook
Identifiers that uniquely identify all packaging related messages or error messages while packaging. Clients also use these identifiers to know the relevant state while packaging.
| virtual bool16 IS4SPPackage::GetCopyFontsFlag | ( | | ) | |
| pure virtual |
The accessor for getting the preference on copying fonts while packaging
- Returns
- bool16: kTrue if copying of Fonts flag is set, kFalse otherwise
| virtual bool16 IS4SPPackage::GetCopyGLinksFlag | ( | | ) | |
| pure virtual |
The accessor for getting the preference on copying the linked graphics
- Returns
- bool16: kTrue if copying of link flag is set, kFalse otherwise
| virtual bool16 IS4SPPackage::GetCreateIDMLFlag | ( | | ) | |
| pure virtual |
The accessor for getting the preference on whether to generate IDML while packaging
- Returns
- bool16: kTrue if the flag is set, kFalse otherwise
| virtual bool16 IS4SPPackage::GetCreatePDFFlag | ( | | ) | |
| pure virtual |
The accessor for getting the preference on whether to generate PDF while packaging
- Returns
- bool16: kTrue if the flag is set, kFalse otherwise
This function is used get the list of font files to be packaged.
- Returns
- K2Vector<IDFile>* : returns the font list
| virtual bool16 IS4SPPackage::GetHiddenLayersFlag | ( | | ) | |
| pure virtual |
The accessor for getting the preference on whether to include fonts and links from hidden document layers
- Returns
- bool16: kTrue if the flag is set, kFalse otherwise
| virtual bool16 IS4SPPackage::GetHyphExceptionsFlag | ( | | ) | |
| pure virtual |
The accessor for getting the preference on whether to use the document hyphenation exceptions only while packaging.
- Returns
- bool16: kTrue if the flag is set, kFalse otherwise
This function is used get the list of the graphic links to be packaged.
- Returns
- K2Vector<IDFile>* : returns the graphics links list
| virtual const IDFile* IS4SPPackage::GetPackageLocation | ( | | ) | |
| pure virtual |
The accessor for getting the packaging location
- Returns
- IDFile*, pointer to IDFile
| virtual IDocument* IS4SPPackage::GetParentDocument | ( | | ) | |
| pure virtual |
This function is used to retrieve the pointer to the document that we are interested in packaging.
- Returns
- IDocument*: returns the document pointer to package
This function is used get the list of ICC Profiles to be packaged.
- Returns
- K2Vector<IDFile>* : returns the profiles list
| virtual bool16 IS4SPPackage::GetUpdateGLinksFlag | ( | | ) | |
| pure virtual |
The accessor for getting the preference on updating graphic links in package
- Returns
- bool16: kTrue if the flag is set, kFalse otherwise
| virtual bool16 IS4SPPackage::GetViewReportFlag | ( | | ) | |
| pure virtual |
The accessor for getting the preference on whether to view the packaging report
- Returns
- bool16: kTrue if the flag is set, kFalse otherwise
| virtual bool16 IS4SPPackage::Init | ( | const IDocument * | in_iDoc | ) | |
| pure virtual |
Used to initializes the Packaging API object for the given document.
- Parameters
| const | IDocument* IN IDocument pointer to be used for packaging |
- Returns
- bool16: returns KTrue,if this object is valid else kFalse
| virtual PackageRC IS4SPPackage::PhysicalPackage | ( | | ) | |
| pure virtual |
The function that basically does the packaging function for a single document. It creates all necessary packaging directories and then copies all necessary files into the correspondent directories, updates all links that have to be updated in the packaged publication, while keeping links untouched in the orginal one
- Returns
- PackageRC: One of the packaging error messages
- See Also
- PackageRC
| virtual void IS4SPPackage::SetCopyFontsFlag | ( | bool16 | in_flag | ) | |
| pure virtual |
The accessor for setting the preference on copying fonts while packaging
- Parameters
| bool16,: | IN kTrue to set the flag for copying of Fonts, kFalse otherwise |
| virtual void IS4SPPackage::SetCopyGLinksFlag | ( | bool16 | in_flag | ) | |
| pure virtual |
The accessor for setting the preference on copying linked Graphics
- Parameters
| bool16,: | IN kTrue to set the flag for copying of Linked graphics, kFalse otherwise |
| virtual void IS4SPPackage::SetCreateIDMLFlag | ( | bool16 | in_flag | ) | |
| pure virtual |
The accessor for setting the preference on whether to generate IDML while packaging
- Parameters
| bool16 | :IN kTrue to set the flag, kFalse otherwise |
| virtual void IS4SPPackage::SetCreatePDFFlag | ( | bool16 | in_flag | ) | |
| pure virtual |
The accessor for setting the preference on whether to generate PDF while packaging
- Parameters
| bool16 | :IN kTrue to set the flag, kFalse otherwise |
| virtual void IS4SPPackage::SetHiddenLayersFlag | ( | bool16 | in_flag | ) | |
| pure virtual |
The accessor for setting the preference on whether to include fonts and links from hidden document layers
- Parameters
| bool16,: | IN kTrue to set the flag, kFalse otherwise |
| virtual void IS4SPPackage::SetHyphExceptionsFlag | ( | bool16 | in_flag | ) | |
| pure virtual |
The accessor for setting the preference on whether to use the document hyphenation exceptions only while packaging.
- Parameters
| bool16,: | IN kTrue to set the flag, kFalse otherwise |
| virtual void IS4SPPackage::SetPackageLocation | ( | const IDFile & | in_Location | ) | |
| pure virtual |
The accessor for setting the packaging location
- Parameters
| const | IDFile&: IN packaging location |
| virtual void IS4SPPackage::SetUpdateGLinksFlag | ( | bool16 | in_flag | ) | |
| pure virtual |
The accessor for setting the preference on updating graphic links in package
- Parameters
| bool16,: | IN kTrue to set the flag for updating the graphic links, kFalse otherwise |
| virtual void IS4SPPackage::SetViewReportFlag | ( | bool16 | in_flag | ) | |
| pure virtual |
The accessor for setting the preference on whether to view the packaging report
- Parameters
| bool16 | :IN kTrue to set the flag, kFalse otherwise |
| virtual void IS4SPPackage::ViewReport | ( | | ) | |
| pure virtual |
The function that is called when we want to the view the generated packaging report