|
Foxit PDF SDK
|
继承自 Object .
Public 成员函数 | |
| DialogDescriptionElement () | |
| 构造函数。 | |
| DialogDescriptionElement (const char *name, const char *item_id, const char *type, const char *next_tab, int width, int height, int char_width, int char_height, const char *font, bool bold, bool italic, const char *alignment, const char *align_children, DialogDescriptionElementArray element_array) | |
| 构造函数,带参数。 更多... | |
| DialogDescriptionElement (const DialogDescriptionElement &dlg_des_element) | |
| 构造函数,使用另一个对话框描述元素对象。 更多... | |
| DialogDescriptionElement & | operator= (const DialogDescriptionElement &dlg_des_element) |
| 赋值操作符。 更多... | |
| void | Set (const char *name, const char *item_id, const char *type, const char *next_tab, int width, int height, int char_width, int char_height, const char *font, bool bold, bool italic, const char *alignment, const char *align_children, DialogDescriptionElementArray element_array) |
| 设置值。 更多... | |
Public 属性 | |
| String | align_children |
| 所有子元素的对齐方式。 | |
| String | alignment |
| 此元素的对齐方式。 | |
| bool | bold |
| 指定字体是否为粗体。 | |
| int | char_height |
| 指定元素的高度(以字符为单位)。 更多... | |
| int | char_width |
| 指定元素的宽度(以字符为单位)。 更多... | |
| DialogDescriptionElementArray | element_array |
| 描述此对话框元素子元素的对象字面量数组。 | |
| String | font |
| 此元素使用的字体。 更多... | |
| int | height |
| 指定元素的高度(以像素为单位)。 更多... | |
| bool | italic |
| 指定字体是否为斜体。 | |
| String | item_id |
| 此对话框的项目ID。 | |
| String | name |
| 对话框元素的显示名称。 | |
| String | next_tab |
| Tab顺序中下一个对话框项目的项目ID。 | |
| String | type |
| 此对话框元素的类型。 | |
| int | width |
| 指定元素的宽度(以像素为单位)。 更多... | |
此类表示对话框元素属性,指定具有以下属性集的对象字面量。
|
inline |
构造函数,带参数。
| [in] | name | 对话框元素的显示名称。 |
| [in] | item_id | 此对话框的项目ID。 |
| [in] | type | 此对话框元素的类型。 |
| [in] | next_tab | Tab顺序中应该是第一个的对话框项目的项目ID。 |
| [in] | width | 指定元素的宽度(以像素为单位)。 |
| [in] | height | 指定元素的高度(以像素为单位)。 |
| [in] | char_width | 指定元素的宽度(以字符为单位)。 |
| [in] | char_height | 指定元素的高度(以字符为单位)。 |
| [in] | font | 此元素使用的字体。 |
| [in] | bold | 指定字体是否为粗体。 |
| [in] | italic | 指定字体是否为斜体。 |
| [in] | alignment | 此元素的对齐方式。 |
| [in] | align_children | 所有子元素的对齐方式。 |
| [in] | element_array | 描述此对话框元素子元素的对象字面量数组。 |
|
inline |
构造函数,使用另一个对话框描述元素对象。
| [in] | dlg_des_element | 另一个对话框描述元素对象。 |
|
inline |
赋值操作符。
| [in] | dlg_des_element | 另一个对话框描述元素对象。 |
|
inline |
设置值。
| [in] | name | 对话框元素的显示名称。 |
| [in] | item_id | 此对话框的项目ID。 |
| [in] | type | 此对话框元素的类型。 |
| [in] | next_tab | Tab顺序中第一个对话框项目的项目ID。 |
| [in] | width | 指定元素的宽度(以像素为单位)。 |
| [in] | height | 指定元素的高度(以像素为单位)。 |
| [in] | char_width | 指定元素的宽度(以字符为单位)。 |
| [in] | char_height | 指定元素的高度(以字符为单位)。 |
| [in] | font | 此元素使用的字体。 |
| [in] | bold | 指定字体是否为粗体。 |
| [in] | italic | 指定字体是否为斜体。 |
| [in] | alignment | 此元素的对齐方式。 |
| [in] | align_children | 所有子元素的对齐方式。 |
| [in] | element_array | 描述此对话框元素子元素的对象数组。 |
| int foxit::DialogDescriptionElement::char_height |
指定元素的高度(以字符为单位)。
如果未指定高度,则使用内容的组合高度。
| int foxit::DialogDescriptionElement::char_width |
指定元素的宽度(以字符为单位)。
如果未指定宽度,则使用内容的组合宽度。
| String foxit::DialogDescriptionElement::font |
此元素使用的字体。
它将是以下字符串之一:
| int foxit::DialogDescriptionElement::height |
指定元素的高度(以像素为单位)。
如果未指定高度,则使用内容的组合高度。
| int foxit::DialogDescriptionElement::width |
指定元素的宽度(以像素为单位)。
如果未指定宽度,则使用内容的组合宽度。