Foxit PDF SDK
foxit::pdf::HeaderFooterContent类 参考

继承自 Object .

Public 成员函数

 HeaderFooterContent (const WString &header_left_content, const WString &header_center_content, const WString &header_right_content, const WString &footer_left_content, const WString &footer_center_content, const WString &footer_right_content)
 带参数的构造函数。 更多...
 
 HeaderFooterContent ()
 构造函数。
 
 HeaderFooterContent (const HeaderFooterContent &other)
 用另一个页眉页脚内容对象的构造函数。 更多...
 
HeaderFooterContent & operator= (const HeaderFooterContent &other)
 赋值操作符。 更多...
 
void Set (const WString &header_left_content, const WString &header_center_content, const WString &header_right_content, const WString &footer_left_content, const WString &footer_center_content, const WString &footer_right_content)
 设置值。 更多...
 

Public 属性

WString footer_center_content
 中间页脚的内容。
 
WString footer_left_content
 左页脚的内容。
 
WString footer_right_content
 右页脚的内容。
 
WString header_center_content
 中间页眉的内容。
 
WString header_left_content
 左页眉的内容。
 
WString header_right_content
 右页眉的内容。
 

详细描述

此类表示页眉页脚内容。 此类的任何字符串成员都可以直接设置或通过使用类 HeaderFooterContentGenerator 生成。

参见
HeaderFooterContentGenerator .

构造及析构函数说明

◆ HeaderFooterContent() [1/2]

foxit::pdf::HeaderFooterContent::HeaderFooterContent ( const WString &  header_left_content,
const WString &  header_center_content,
const WString &  header_right_content,
const WString &  footer_left_content,
const WString &  footer_center_content,
const WString &  footer_right_content 
)
inlineexplicit

带参数的构造函数。

参数
[in]header_left_content左页眉的内容。
[in]header_center_content中间页眉的内容。
[in]header_right_content右页眉的内容。
[in]footer_left_content左页脚的内容。
[in]footer_center_content中间页脚的内容。
[in]footer_right_content右页脚的内容。

◆ HeaderFooterContent() [2/2]

foxit::pdf::HeaderFooterContent::HeaderFooterContent ( const HeaderFooterContent &  other)
inline

用另一个页眉页脚内容对象的构造函数。

参数
[in]other另一个页眉页脚内容对象。

成员函数说明

◆ operator=()

HeaderFooterContent& foxit::pdf::HeaderFooterContent::operator= ( const HeaderFooterContent &  other)
inline

赋值操作符。

参数
[in]other另一个页眉页脚内容对象,其值将被赋值给当前对象。
返回
对当前对象本身的引用。

◆ Set()

void foxit::pdf::HeaderFooterContent::Set ( const WString &  header_left_content,
const WString &  header_center_content,
const WString &  header_right_content,
const WString &  footer_left_content,
const WString &  footer_center_content,
const WString &  footer_right_content 
)
inline

设置值。

参数
[in]header_left_content左页眉的内容。
[in]header_center_content中间页眉的内容。
[in]header_right_content右页眉的内容。
[in]footer_left_content左页脚的内容。
[in]footer_center_content中间页脚的内容。
[in]footer_right_content右页脚的内容。
返回
无。