#include <IExportOptionsUtils.h>
|
| enum | { kDefaultIID = IID_IEXPORTOPTIONSUTILS } |
| |
Utils for Object export options.
| virtual ErrorCode IExportOptionsUtils::GetActualText | ( | const UIDRef & | item, | | | PMString & | actualText | | ) | | |
| pure virtual |
This method computes the actual text for an object based on its export options preferences.
- Parameters
| item | IN the object to get the actual text for |
| actualText | OUT the actual text |
- Returns
- ErrorCode: return error code on the basis of whether actual text exists or not
| virtual ErrorCode IExportOptionsUtils::GetAlternateText | ( | const UIDRef & | item, | | | PMString & | altText | | ) | | |
| pure virtual |
This method computes the alternate text for an object based on its export options preferences.
- Parameters
| item | IN the object to get the alternate text for |
| altText | OUT the alternate text |
- Returns
- ErrorCode: return error code on the basis of whether alt text exists or not
| virtual ErrorCode IExportOptionsUtils::GetMetadataValue | ( | const UIDRef & | item, | | | const PMString & | nsPrefix, | | | const PMString & | propertyPath, | | | PMString & | value | | ) | | |
| pure virtual |
This method computes the metadata property value for an object given its xmp schema namespace prefix and path.
- Parameters
| item | IN the object to get the metadata property value for |
| nsPrefix | IN metadata property xmp schema namespace prefix |
| propertyPath | IN metadata property path |
| value | OUT the value of the metadata property |
- Returns
- ErrorCode: return error code on the basis of whether metadata value exists or not
| virtual ErrorCode IExportOptionsUtils::GetStructureAttribute | ( | const UIDRef & | item, | | | bool16 | alt, | | | PMString & | value | | ) | | |
| pure virtual |
This method computes the alternate/actual text for an object from the XML structure.
- Parameters
| item | IN the object to get the alternate/actual text for |
| alt | IN bool value to specify whether to get alternate or actual text |
| value | OUT the value from the structure |
- Returns
- ErrorCode: return error code on the basis of whether structure text exists or not