|
Foxit PDF SDK
|
Public 成员函数 | |
| Outline (const Outline &other) | |
| 构造函数,通过另一个大纲对象。 更多... | |
| ~Outline () | |
| 析构函数。 | |
| Outline | AddOutline () |
| 添加子大纲。 更多... | |
| void | EnableExpanded (bool expanded) |
| 设置是否展开。 更多... | |
| Action | GetAction () |
| 获取动作对象。 更多... | |
| ActionDestinationInfo | GetDestination () |
| 获取目标信息对象。 更多... | |
| Outline | GetOutline (int index) |
| 获取指定索引的子大纲对象。 更多... | |
| int | GetOutlineCount () |
| 获取子大纲的数量。 更多... | |
| String | GetTitle () |
| 获取标题。 更多... | |
| String | GetURI () |
| 获取uri。 更多... | |
| bool | IsEmpty () const |
| 检查当前对象是否为空。 更多... | |
| bool | operator != (const Outline &other) const |
| 不相等操作符。 更多... | |
| Outline & | operator= (const Outline &other) |
| 赋值操作符。 更多... | |
| bool | operator== (const Outline &other) const |
| 相等操作符。 更多... | |
| bool | RemoveOutline (int index) |
| 删除指定索引的子大纲。 更多... | |
| void | SetDestination (int page_index, float x, float y) |
| 设置跳转目标到指定页面和位置。 更多... | |
| void | SetTitle (const String &title) |
| 设置标题。 更多... | |
| void | SetURI (const String &uri) |
| 设置URI。 更多... | |
Public 成员函数 继承自 foxit::Base | |
| FS_HANDLE | Handle () const |
| 获取当前对象的句柄。 更多... | |
此类表示和OFD大纲相关的操作。
| foxit::ofd::Outline::Outline | ( | const Outline & | other | ) |
构造函数,通过另一个大纲对象。
| [in] | other | 另一个大纲对象。 |
| Outline foxit::ofd::Outline::AddOutline | ( | ) |
添加子大纲。
| void foxit::ofd::Outline::EnableExpanded | ( | bool | expanded | ) |
设置是否展开。
| [in] | expanded | 是否展开。 |
| Action foxit::ofd::Outline::GetAction | ( | ) |
获取动作对象。
| ActionDestinationInfo foxit::ofd::Outline::GetDestination | ( | ) |
获取目标信息对象。
| Outline foxit::ofd::Outline::GetOutline | ( | int | index | ) |
获取指定索引的子大纲对象。
| [in] | index | 指定的子大纲索引,有效范围:从0到(count - 1)。 count由函数 foxit::ofd::Outline::GetOutlineCount 返回。 |
| int foxit::ofd::Outline::GetOutlineCount | ( | ) |
获取子大纲的数量。
| String foxit::ofd::Outline::GetTitle | ( | ) |
获取标题。
| String foxit::ofd::Outline::GetURI | ( | ) |
获取uri。
| bool foxit::ofd::Outline::IsEmpty | ( | ) | const |
检查当前对象是否为空。
当前对象为空时,表示当前对象是无用的。
| bool foxit::ofd::Outline::operator != | ( | const Outline & | other | ) | const |
不相等操作符。
| [in] | other | 另一个大纲对象。此函数将检查当前对象是否不等于这个对象。 |
赋值操作符。
| [in] | other | 另一个大纲对象,其值将被赋给当前对象。 |
| bool foxit::ofd::Outline::operator== | ( | const Outline & | other | ) | const |
相等操作符。
| [in] | other | 另一个大纲对象。此函数将检查当前对象是否等于这个对象。 |
| bool foxit::ofd::Outline::RemoveOutline | ( | int | index | ) |
删除指定索引的子大纲。
| [in] | index | 指定的子大纲索引,有效范围:从0到(count - 1)。 count由函数 foxit::ofd::Outline::GetOutlineCount 返回。 |
| void foxit::ofd::Outline::SetDestination | ( | int | page_index, |
| float | x, | ||
| float | y | ||
| ) |
设置跳转目标到指定页面和位置。
| [in] | page_index | 目标页面索引(从0开始)。 |
| [in] | x | 目标位置的X坐标。 |
| [in] | y | 目标位置的Y坐标。 |
| void foxit::ofd::Outline::SetTitle | ( | const String & | title | ) |
设置标题。
| [in] | title | 标题值。 |
| void foxit::ofd::Outline::SetURI | ( | const String & | uri | ) |
设置URI。
| [in] | uri | URI值。 |