|
Foxit PDF SDK
|
Public 成员函数 | |
| EmbeddedGotoTarget (const PDFDoc &document) | |
| 构造函数,使用PDF文档。 更多... | |
| EmbeddedGotoTarget (const foxit::pdf::PDFDoc &document, foxit::pdf::objects::PDFDictionary *target_object) | |
| 构造函数,使用PDF字典。 更多... | |
| EmbeddedGotoTarget (const EmbeddedGotoTarget &action) | |
| 构造函数,使用另一个嵌入转到目标对象。 更多... | |
| ~EmbeddedGotoTarget () | |
| 析构函数。 | |
| WString | GetAttachedFileName () |
| 获取嵌入文件名,该文件名在当前目标文件的"EmbeddedFile"名称树中使用。 更多... | |
| objects::PDFDictionary * | GetDict () const |
| 获取当前对象的PDF字典。 更多... | |
| int | GetFileAttachmentAnnotIndex () |
| 获取指定页面中文件附件注释的注释索引。 更多... | |
| int | GetPageIndex () |
| 获取指定包含目标文件附件注释的页面的页面索引。 更多... | |
| String | GetRelationship () |
| 获取当前目标对象和当前目标对象所属对象之间的关系。 更多... | |
| EmbeddedGotoTarget | GetTarget () |
| 获取指定到目标文档的附加路径信息的目标。 更多... | |
| bool | IsEmpty () const |
| 检查当前对象是否为空。 更多... | |
| bool | operator != (const EmbeddedGotoTarget &other) const |
| 不等于运算符。 更多... | |
| EmbeddedGotoTarget & | operator= (const EmbeddedGotoTarget &other) |
| 赋值运算符。 更多... | |
| bool | operator== (const EmbeddedGotoTarget &other) const |
| 等于运算符。 更多... | |
| void | SetAttachedFileName (const WString &embed_file_name) |
| 设置嵌入文件名,该文件名在当前目标文件的"EmbeddedFile"名称树中使用。 更多... | |
| void | SetFileAttachmentAnnotIndex (int annot_index) |
| 设置指定页面中文件附件注释的注释索引。 更多... | |
| void | SetPageIndex (int page_index) |
| 设置指定包含目标文件附件注释的页面的页面索引。 更多... | |
| void | SetRelationship (const String &relationship) |
| 设置当前目标对象和当前目标对象所属对象之间的关系。 更多... | |
| void | SetTarget (const EmbeddedGotoTarget &target) |
| 设置指定到目标文档的附加路径信息的目标。 更多... | |
Public 成员函数 继承自 foxit::Base | |
| FS_HANDLE | Handle () const |
| 获取当前对象的句柄。 更多... | |
嵌入转到动作的目标是目标所在的文档。
|
explicit |
构造函数,使用PDF文档。
此构造函数用于构造一个新的嵌入转到目标对象(不包含任何数据)。
| [in] | document | 有效的PDF文档对象。 |
| foxit::pdf::actions::EmbeddedGotoTarget::EmbeddedGotoTarget | ( | const foxit::pdf::PDFDoc & | document, |
| foxit::pdf::objects::PDFDictionary * | target_object | ||
| ) |
构造函数,使用PDF字典。
| [in] | document | 有效的PDF文档对象。 |
| [in] | target_object | 表示嵌入转到目标数据的PDF字典。 |
| foxit::pdf::actions::EmbeddedGotoTarget::EmbeddedGotoTarget | ( | const EmbeddedGotoTarget & | action | ) |
构造函数,使用另一个嵌入转到目标对象。
| [in] | action | 另一个嵌入转到目标对象。 |
| WString foxit::pdf::actions::EmbeddedGotoTarget::GetAttachedFileName | ( | ) |
获取嵌入文件名,该文件名在当前目标文件的"EmbeddedFile"名称树中使用。
这仅在关系为"C"时有用。如果此属性是有效字符串, 那意味着目标文件是在"EmbeddedFiles"名称树中定义的嵌入文件。
| objects::PDFDictionary* foxit::pdf::actions::EmbeddedGotoTarget::GetDict | ( | ) | const |
获取当前对象的PDF字典。
| int foxit::pdf::actions::EmbeddedGotoTarget::GetFileAttachmentAnnotIndex | ( | ) |
获取指定页面中文件附件注释的注释索引。
这仅在关系为"C"时有用。如果此属性存在,那意味着目标文件与 文件附件注释相关,此属性仅指定指定页面中的文件附件注释。 函数EmbeddedGotoTarget::GetPageIndex可用于 获取指定包含目标文件附件注释的页面的页面索引。
| int foxit::pdf::actions::EmbeddedGotoTarget::GetPageIndex | ( | ) |
获取指定包含目标文件附件注释的页面的页面索引。
这仅在关系为"C"时有用。如果此属性存在,那意味着目标文件与 文件附件注释相关。此属性仅指定包含文件附件注释的页面。 函数EmbeddedGotoTarget::GetFileAttachmentAnnotIndex 可用于获取目标文件附件注释的注释索引。
| String foxit::pdf::actions::EmbeddedGotoTarget::GetRelationship | ( | ) |
获取当前目标对象和当前目标对象所属对象之间的关系。
关系是当前目标对象和当前目标对象所属对象之间的关系。目前,关系可以是以下之一:
| EmbeddedGotoTarget foxit::pdf::actions::EmbeddedGotoTarget::GetTarget | ( | ) |
获取指定到目标文档的附加路径信息的目标。
| bool foxit::pdf::actions::EmbeddedGotoTarget::IsEmpty | ( | ) | const |
检查当前对象是否为空。
当当前对象为空时,那意味着当前对象是无用的。
| bool foxit::pdf::actions::EmbeddedGotoTarget::operator != | ( | const EmbeddedGotoTarget & | other | ) | const |
不等于运算符。
| [in] | other | 另一个嵌入转到目标对象。此函数将检查当前对象是否不等于此对象。 |
| EmbeddedGotoTarget& foxit::pdf::actions::EmbeddedGotoTarget::operator= | ( | const EmbeddedGotoTarget & | other | ) |
赋值运算符。
| [in] | other | 另一个嵌入转到目标对象,其值将分配给当前对象。 |
| bool foxit::pdf::actions::EmbeddedGotoTarget::operator== | ( | const EmbeddedGotoTarget & | other | ) | const |
等于运算符。
| [in] | other | 另一个嵌入转到目标对象。此函数将检查当前对象是否等于此对象。 |
| void foxit::pdf::actions::EmbeddedGotoTarget::SetAttachedFileName | ( | const WString & | embed_file_name | ) |
设置嵌入文件名,该文件名在当前目标文件的"EmbeddedFile"名称树中使用。
这仅在关系为"C"时有用。如果此属性存在,那意味着目标文件是 在"EmbeddedFiles"名称树中定义的嵌入文件。
| [in] | embed_file_name | 嵌入文件的名称。 |
| void foxit::pdf::actions::EmbeddedGotoTarget::SetFileAttachmentAnnotIndex | ( | int | annot_index | ) |
设置指定页面中文件附件注释的注释索引。
这仅在关系为"C"时有用。如果此属性存在,那意味着目标文件与 文件附件注释相关,此属性仅指定指定页面中的文件附件注释。 函数EmbeddedGotoTarget::SetPageIndex可用于 设置指定包含目标文件附件注释的页面的页面索引。
| [in] | annot_index | 指定文件附件注释的注释索引。 有效范围:从0到(count-1)。count表示 指定页面中的注释数量。 |
| void foxit::pdf::actions::EmbeddedGotoTarget::SetPageIndex | ( | int | page_index | ) |
设置指定包含目标文件附件注释的页面的页面索引。
这仅在关系为"C"时有用。如果此属性存在,那意味着目标文件与 文件附件注释相关,此属性仅指定包含文件附件注释的页面。 函数EmbeddedGotoTarget::SetFileAttachmentAnnotIndex 可用于设置目标文件附件注释的注释索引。
| [in] | page_index | 指定包含目标文件附件注释的页面的页面索引。 有效范围:从0到(count-1)。count表示 当前目标PDF文件的页面数量。 |
| void foxit::pdf::actions::EmbeddedGotoTarget::SetRelationship | ( | const String & | relationship | ) |
设置当前目标对象和当前目标对象所属对象之间的关系。
关系是当前目标对象和当前目标对象所属对象之间的关系。目前,关系可以是以下之一:
| [in] | relationship | 应该是以下字符串之一:"P"、"C"。 |
| void foxit::pdf::actions::EmbeddedGotoTarget::SetTarget | ( | const EmbeddedGotoTarget & | target | ) |
设置指定到目标文档的附加路径信息的目标。
| [in] | target | 嵌入转到目标对象。如果返回的嵌入转到目标对象的函数EmbeddedGotoTarget::IsEmpty 的返回值为true,那意味着当前目标对象表示最终目标文件。 |