#include <PdfPublishCollectionFolder.h>
This class implements an attached folder entity in .pdf documents created with Publish SDK.
Definition at line 54 of file PdfPublishCollectionFolder.h.
◆ OdAttachedFolder()
| OdPdfPublish::OdAttachedFolder::OdAttachedFolder |
( |
| ) |
|
|
protected |
◆ ~OdAttachedFolder()
| virtual OdPdfPublish::OdAttachedFolder::~OdAttachedFolder |
( |
| ) |
|
|
virtual |
Destroys an attached folder object.
◆ addChildFolder()
| void OdPdfPublish::OdAttachedFolder::addChildFolder |
( |
const OdAttachedFolderPtr & | folder | ) |
|
Adds the child attached folder object for the attached folder.
- Parameters
-
| folder | [in] A smart pointer to a attached folder object. |
◆ addDateCollectionItem()
Adds the date collection item for the attached folder.
- Parameters
-
| name | [in] A new name of collection item value. |
| date | [in] A new collection item value. |
◆ addFile()
| void OdPdfPublish::OdAttachedFolder::addFile |
( |
const OdAttachedFilePtr & | file | ) |
|
Adds the attached folder object for the attached folder.
- Parameters
-
| file | [in] A smart pointer to a attached file object. |
◆ addNumberCollectionItem()
| void OdPdfPublish::OdAttachedFolder::addNumberCollectionItem |
( |
const OdString & | name, |
|
|
const double & | number ) |
Adds the number collection item for the attached folder.
- Parameters
-
| name | [in] A new name of collection item value. |
| number | [in] A new collection item value. |
◆ addTextCollectionItem()
| void OdPdfPublish::OdAttachedFolder::addTextCollectionItem |
( |
const OdString & | name, |
|
|
const OdString & | item ) |
Adds the text collection item for the attached folder.
- Parameters
-
| name | [in] A new name of collection item value. |
| item | [in] A new collection item value. |
◆ getChildFolders()
| void OdPdfPublish::OdAttachedFolder::getChildFolders |
( |
OdAttachedFolderPtrArray & | folders | ) |
const |
Returns a collection of child attached folder of the attached folder. This method fills the passed array of smart pointer to OdAttachedFolder, then returns them to a calling subroutine.
- Parameters
-
| folders | [out] A placeholder for collection of attached folder. |
◆ getCreationDate()
| void OdPdfPublish::OdAttachedFolder::getCreationDate |
( |
OdTimeStamp & | creation_date | ) |
const |
Returns the current creation date of the attached folder. The method fills a passed TimeStamp and returns it to the calling subroutine.
- Parameters
-
| creation_date | [out] A placeholder for creation date value. |
◆ getDateCollectionItems()
Returns a collection of date collection item of the attached folder. This method fills the passed string array and array of TimeStamp objects, then returns them to a calling subroutine.
- Parameters
-
| names | [out] A placeholder for collection item names. |
| images | [out] A placeholder for date collection item values. |
◆ getDescription()
| void OdPdfPublish::OdAttachedFolder::getDescription |
( |
OdString & | description | ) |
const |
Returns the current description of the attached folder. The method fills a passed string object and returns it to the calling subroutine.
- Parameters
-
| description | [out] A placeholder for description value. |
◆ getFiles()
| void OdPdfPublish::OdAttachedFolder::getFiles |
( |
OdAttachedFilePtrArray & | files | ) |
const |
Returns a collection of attached file of the attached folder. This method fills the passed array of smart pointer to OdAttachedFile, then returns them to a calling subroutine.
- Parameters
-
| folders | [out] A placeholder for collection of attached file. |
◆ getModDate()
| void OdPdfPublish::OdAttachedFolder::getModDate |
( |
OdTimeStamp & | mod_date | ) |
const |
Returns the current modification date of the attached folder. The method fills a passed TimeStamp and returns it to the calling subroutine.
- Parameters
-
| mod_date | [out] A placeholder for modification date value. |
◆ getName()
| void OdPdfPublish::OdAttachedFolder::getName |
( |
OdString & | name | ) |
const |
Returns the current displayed name of the attached folder. The method fills a passed string object and returns it to the calling subroutine.
- Parameters
-
| name | [out] A placeholder for displayed name value. |
◆ getNumberCollectionItems()
Returns a collection of number collection item of the attached folder. This method fills the passed string array and array of double, then returns them to a calling subroutine.
- Parameters
-
| names | [out] A placeholder for collection item names. |
| images | [out] A placeholder for number collection item values. |
◆ getTextCollectionItems()
Returns a collection of text collection item of the attached folder. This method fills the passed string array and string array, then returns them to a calling subroutine.
- Parameters
-
| names | [out] A placeholder for collection item names. |
| images | [out] A placeholder for collection item values. |
◆ getThumb()
| void OdPdfPublish::OdAttachedFolder::getThumb |
( |
OdImagePtr & | pOutImage | ) |
const |
Returns the current thumbnail raster image object of the attached folder. The method fills a passed raster image object and returns it to the calling subroutine.
- Parameters
-
| pOutImage | [out] A placeholder for raster image object. |
◆ ODRX_DECLARE_MEMBERS()
◆ ODRX_HEAP_OPERATORS()
| OdPdfPublish::OdAttachedFolder::ODRX_HEAP_OPERATORS |
( |
| ) |
|
◆ setCreationDate()
| void OdPdfPublish::OdAttachedFolder::setCreationDate |
( |
const OdTimeStamp & | creation_date | ) |
|
Sets the creation date of the attached folder.
- Parameters
-
| creation_date | [in] A new creation date value. |
◆ setDescription()
| void OdPdfPublish::OdAttachedFolder::setDescription |
( |
const OdString & | description | ) |
|
Sets the description of the attached folder.
- Parameters
-
| description | [in] A new description value. |
◆ setModDate()
| void OdPdfPublish::OdAttachedFolder::setModDate |
( |
const OdTimeStamp & | mod_date | ) |
|
Sets the modification date of the attached folder.
- Parameters
-
| mod_date | [in] A new modification date value. |
◆ setName()
| void OdPdfPublish::OdAttachedFolder::setName |
( |
const OdString & | name | ) |
|
Sets the displayed name of the attached folder. Use IsValid() to check the status of the operation.
- Parameters
-
| name | [in] A new displayed name value. |
◆ setThumb()
| void OdPdfPublish::OdAttachedFolder::setThumb |
( |
const OdImagePtr & | pImage | ) |
|
Sets the thumbnail image of the attached folder.
- Parameters
-
| pImage | [in] A smart pointer to a thumbnail raster image object. |
The documentation for this class was generated from the following file: