|
Foxit PDF SDK
|
继承自 Object .
Public 类型 | |
| enum | DefAPFlags { e_FlagFont = 0x0001, e_FlagTextColor = 0x0002, e_FlagFontSize = 0x0004 } |
| 默认外观标志枚举。 更多... | |
Public 成员函数 | |
| DefaultAppearance (uint32 flags, const common::Font &font, float text_size, RGB text_color) | |
| 构造函数,带参数。 更多... | |
| DefaultAppearance () | |
| 构造函数。 | |
| DefaultAppearance (const DefaultAppearance &default_appearance) | |
| 构造函数,使用另一个默认外观对象。 更多... | |
| bool | operator != (const DefaultAppearance &default_appearance) const |
| 不等于运算符。 更多... | |
| DefaultAppearance & | operator= (const DefaultAppearance &default_appearance) |
| 赋值运算符。 更多... | |
| bool | operator== (const DefaultAppearance &default_appearance) const |
| 等于运算符。 更多... | |
| void | Set (uint32 flags, const common::Font &font, float text_size, RGB text_color) |
| 设置值。 更多... | |
Public 属性 | |
| uint32 | flags |
| 指示默认外观的哪些属性是有意义的标志。 更多... | |
| common::Font | font |
| 默认外观的字体。当它有用时,应该是一个有效的字体对象。 更多... | |
| RGB | text_color |
| 默认外观的文本颜色。格式:0xRRGGBB。 更多... | |
| float | text_size |
| 默认外观的文本大小。 更多... | |
此类表示默认外观数据,用于自由文本注释和表单。
默认外观标志枚举。
此枚举的值可以单独使用或组合使用。
| 枚举值 | |
|---|---|
| e_FlagFont | 指示pdf::DefaultAppearance的字体属性是有意义的。 |
| e_FlagTextColor | 指示pdf::DefaultAppearance的文本颜色属性是有意义的。 |
| e_FlagFontSize | 指示pdf::DefaultAppearance的文本大小属性是有意义的。 |
|
inline |
构造函数,带参数。
| [in] | flags | 指示默认外观的哪些属性是有意义的标志。 请参考从DefaultAppearance::e_FlagFont开始的值, 这可以是这些值中的一个或组合。 |
| [in] | font | 当参数flags包含DefaultAppearance::e_FlagFont时, 用于默认外观的有效字体对象。 |
| [in] | text_size | 当参数flags包含DefaultAppearance::e_FlagFontSize时, 默认外观的字体大小。通常应该大于0。 对于某些对象,大小0有特殊含义。请参考用于将默认外观数据设置为其他对象的函数注释。 |
| [in] | text_color | 默认外观的文本颜色。格式:0xRRGGBB。 |
|
inline |
构造函数,使用另一个默认外观对象。
| [in] | default_appearance | 另一个默认外观对象。 |
|
inline |
不等于运算符。
| [in] | default_appearance | 另一个默认外观对象。此函数将检查当前对象是否不等于此对象。 |
|
inline |
赋值运算符。
| [in] | default_appearance | 另一个默认外观对象,其值将被赋给当前对象。 |
|
inline |
等于运算符。
| [in] | default_appearance | 另一个默认外观对象。此函数将检查当前对象是否等于此对象。 |
|
inline |
设置值。
| [in] | flags | 指示默认外观的哪些属性是有意义的标志。 请参考从DefaultAppearance::e_FlagFont开始的值, 这可以是这些值中的一个或组合。 |
| [in] | font | 默认外观的字体。当参数flags包含 DefaultAppearance::e_FlagFont时,请确保这是一个有效的字体对象。 |
| [in] | text_size | 当参数flags包含DefaultAppearance::e_FlagFontSize时, 默认外观的字体大小。通常应该大于0。 对于某些对象,大小0有特殊含义。请参考用于将默认外观数据设置为其他对象的函数注释。 |
| [in] | text_color | 默认外观的文本颜色。格式:0xRRGGBB。 |
| uint32 foxit::pdf::DefaultAppearance::flags |
指示默认外观的哪些属性是有意义的标志。
请参考从DefaultAppearance::e_FlagFont开始的值, 这可以是这些值中的一个或组合。 0表示默认外观的任何属性都不是有意义的。
| common::Font foxit::pdf::DefaultAppearance::font |
默认外观的字体。当它有用时,应该是一个有效的字体对象。
| RGB foxit::pdf::DefaultAppearance::text_color |
默认外观的文本颜色。格式:0xRRGGBB。
| float foxit::pdf::DefaultAppearance::text_size |
默认外观的文本大小。
当它有用时,通常应该大于0。对于某些对象,大小0有特殊含义。 请参考用于将默认外观数据设置为其他对象的函数注释。