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

Public 成员函数

 Bookmark (const Bookmark &other)
 构造函数,通过另一个书签对象。 更多...
 
 ~Bookmark ()
 析构函数。
 
BookmarkDestinationInfo GetDest ()
 获取书签目标信息。 更多...
 
String GetName ()
 获取名称。 更多...
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
bool operator != (const Bookmark &other) const
 不相等操作符。 更多...
 
Bookmarkoperator= (const Bookmark &other)
 赋值操作符。 更多...
 
bool operator== (const Bookmark &other) const
 相等操作符。 更多...
 
bool SetDest (const BookmarkDestinationInfo &info)
 设置书签目标信息。 更多...
 
bool SetName (const String &name)
 设置名称。 更多...
 
- Public 成员函数 继承自 foxit::Base
FS_HANDLE Handle () const
 获取当前对象的句柄。 更多...
 

详细描述

此类表示OFD书签对象相关的操作。

构造及析构函数说明

◆ Bookmark()

foxit::ofd::Bookmark::Bookmark ( const Bookmark other)

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

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

成员函数说明

◆ GetDest()

BookmarkDestinationInfo foxit::ofd::Bookmark::GetDest ( )

获取书签目标信息。

返回
书签目标信息。详见 foxit::ofd::BookmarkDestinationInfo

◆ GetName()

String foxit::ofd::Bookmark::GetName ( )

获取名称。

返回
名称。

◆ IsEmpty()

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

检查当前对象是否为空。

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

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

◆ operator !=()

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

不相等操作符。

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

◆ operator=()

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

赋值操作符。

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

◆ operator==()

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

相等操作符。

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

◆ SetDest()

bool foxit::ofd::Bookmark::SetDest ( const BookmarkDestinationInfo info)

设置书签目标信息。

参数
[in]info书签目标信息。详见 foxit::ofd::BookmarkDestinationInfo
返回
true 表示成功,false 表示失败。

◆ SetName()

bool foxit::ofd::Bookmark::SetName ( const String name)

设置名称。

参数
[in]name名称。
返回
true 表示成功,false 表示失败。