Foxit PDF SDK
foxit::ofd::Bookmarks类 参考
类 foxit::ofd::Bookmarks 继承关系图:
foxit::Base

Public 成员函数

 Bookmarks (const Bookmarks &other)
 构造函数,通过另一个书签集合对象。 更多...
 
 ~Bookmarks ()
 析构函数。
 
Bookmark AddBookmark ()
 添加书签对象。 更多...
 
Bookmark GetBookmark (int index)
 获取指定索引的书签对象。 更多...
 
int GetBookmarkCount ()
 获取书签数量。 更多...
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
bool operator != (const Bookmarks &other) const
 不相等操作符。 更多...
 
Bookmarksoperator= (const Bookmarks &other)
 赋值操作符。 更多...
 
bool operator== (const Bookmarks &other) const
 相等操作符。 更多...
 
bool RemoveBookmark (int index)
 删除书签对象。 更多...
 
- Public 成员函数 继承自 foxit::Base
FS_HANDLE Handle () const
 获取当前对象的句柄。 更多...
 

详细描述

此类表示和OFD书签集合相关的操作。

构造及析构函数说明

◆ Bookmarks()

foxit::ofd::Bookmarks::Bookmarks ( const Bookmarks other)

构造函数,通过另一个书签集合对象。

参数
[in]other另一个书签集合对象。

成员函数说明

◆ AddBookmark()

Bookmark foxit::ofd::Bookmarks::AddBookmark ( )

添加书签对象。

返回
新添加的书签对象。

◆ GetBookmark()

Bookmark foxit::ofd::Bookmarks::GetBookmark ( int  index)

获取指定索引的书签对象。

参数
[in]index指定的书签索引,有效范围:从0到(count - 1)。 count由函数 foxit::ofd::Bookmarks::GetBookmarkCount 返回。
返回
指定索引的书签对象。

◆ GetBookmarkCount()

int foxit::ofd::Bookmarks::GetBookmarkCount ( )

获取书签数量。

返回
书签数量。

◆ IsEmpty()

bool foxit::ofd::Bookmarks::IsEmpty ( ) const

检查当前对象是否为空。

当前对象为空时,表示当前对象是无用的。

返回
true 表示当前对象为空,false 表示不为空。

◆ operator !=()

bool foxit::ofd::Bookmarks::operator != ( const Bookmarks other) const

不相等操作符。

参数
[in]other另一个书签集合对象。此函数将检查当前对象是否不等于这个对象。
返回
true 表示不相等,false 表示相等。

◆ operator=()

Bookmarks& foxit::ofd::Bookmarks::operator= ( const Bookmarks other)

赋值操作符。

参数
[in]other另一个书签集合对象,其值将被赋给当前对象。
返回
当前对象自身的引用。

◆ operator==()

bool foxit::ofd::Bookmarks::operator== ( const Bookmarks other) const

相等操作符。

参数
[in]other另一个书签集合对象。此函数将检查当前对象是否等于这个对象。
返回
true 表示相等,false 表示不相等。

◆ RemoveBookmark()

bool foxit::ofd::Bookmarks::RemoveBookmark ( int  index)

删除书签对象。

参数
[in]index指定的书签索引,有效范围:从0到(count)。 count由函数 Bookmarks::GetBookmarkCount 返回。
返回
true 表示成功,false 表示失败。