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

Public 成员函数

 CustomTag (const CustomTag &other)
 构造函数,通过另一个自定义标签对象。 更多...
 
 ~CustomTag ()
 析构函数。
 
bool ExtractFile (const String &file)
 导出内容到文件。 更多...
 
String GetType ()
 获取类型。 更多...
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
bool operator != (const CustomTag &other) const
 不相等操作符。 更多...
 
CustomTagoperator= (const CustomTag &other)
 赋值操作符。 更多...
 
bool operator== (const CustomTag &other) const
 相等操作符。 更多...
 
bool SetFile (const String &file)
 通过文件设置内容。 更多...
 
bool SetType (const String &type)
 设置类型。 更多...
 
- Public 成员函数 继承自 foxit::Base
FS_HANDLE Handle () const
 获取当前对象的句柄。 更多...
 

详细描述

此类表示和OFD自定义标签相关的操作。

构造及析构函数说明

◆ CustomTag()

foxit::ofd::CustomTag::CustomTag ( const CustomTag other)

构造函数,通过另一个自定义标签对象。

参数
[in]other另一个自定义标签对象。

成员函数说明

◆ ExtractFile()

bool foxit::ofd::CustomTag::ExtractFile ( const String file)

导出内容到文件。

参数
[in]file指定的文件路径。
返回
true 表示成功,false 表示失败。

◆ GetType()

String foxit::ofd::CustomTag::GetType ( )

获取类型。

返回
类型。

◆ IsEmpty()

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

检查当前对象是否为空。

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

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

◆ operator !=()

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

不相等操作符。

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

◆ operator=()

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

赋值操作符。

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

◆ operator==()

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

相等操作符。

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

◆ SetFile()

bool foxit::ofd::CustomTag::SetFile ( const String file)

通过文件设置内容。

参数
[in]file指定的文件路径。
返回
true 表示成功,false 表示失败。

◆ SetType()

bool foxit::ofd::CustomTag::SetType ( const String type)

设置类型。

参数
[in]type类型。
返回
true 表示成功,false 表示失败。