|
Foxit PDF SDK
|
Public Member Functions | |
| WidgetMenu (const WidgetMenu &other) | |
| Constructor, with another widget menu object. More... | |
| WidgetMenu (const XFAWidget &xfa_widget) | |
| Constructor, from XFA widget object. More... | |
| ~WidgetMenu () | |
| Destructor. | |
| bool | Bold () |
| (Only useful for rich text) Make the rich text bold. More... | |
| bool | CanCopy () |
| Check if the text of related XFA widget can be copied. More... | |
| bool | CanCut () |
| Check if the text of related XFA widget can be cut. More... | |
| bool | CanDelete () |
| Check if the text of related XFA widget can be deleted. More... | |
| bool | CanDeSelect () |
| Check if the selection of the text in related XFA widget can be canceled. More... | |
| bool | CanPaste () |
| Check if the text of related XFA widget can be pasted. More... | |
| bool | CanRedo () |
| Check if the operation of related XFA widget can be redone. More... | |
| bool | CanSelectAll () |
| Check if the text of related XFA widget can be selected all. More... | |
| bool | CanUndo () |
| Check if the operation of related XFA widget can be undone. More... | |
| bool | ClearStyle () |
| (Only useful for rich text) Clear the style of the rich text. More... | |
| WString | Copy () |
| Copy the text of related XFA widget. More... | |
| WString | Cut () |
| Cut the text of related XFA widget. More... | |
| bool | Delete () |
| Delete all the text of related XFA widget. More... | |
| bool | DeSelect () |
| Cancel the selection of the text in related XFA widget. More... | |
| bool | IsEmpty () const |
| Check whether current object is empty or not. More... | |
| bool | Italic () |
| (Only useful for rich text) Make the rich text italic. More... | |
| bool | operator!= (const WidgetMenu &other) const |
| Not equal operator. More... | |
| WidgetMenu & | operator= (const WidgetMenu &other) |
| Assign operator. More... | |
| bool | operator== (const WidgetMenu &other) const |
| Equal operator. More... | |
| bool | Paste (const wchar_t *text) |
| Paste the text to related XFA widget. More... | |
| bool | Redo () |
| Redo the operation of related XFA widget. (No effect for rich text) More... | |
| bool | SelectAll () |
| Select all the text of related XFA widget. More... | |
| bool | Subscript () |
| (Only useful for rich text) Make the rich text as subscript. More... | |
| bool | Superscript () |
| (Only useful for rich text) Make the rich text as superscript. More... | |
| bool | Underline () |
| (Only useful for rich text) Underline the rich text. More... | |
| bool | Undo () |
| Undo the operation of related XFA widget. (No effect for rich text) More... | |
Public Member Functions inherited from foxit::Base | |
| FS_HANDLE | Handle () const |
| Get the handle of current object. More... | |
Class WidgetMenu represents the menu of an XFA widget.
|
explicit |
Constructor, from XFA widget object.
| [in] | xfa_widget | A valid XFA widget object. |
| foxit::addon::xfa::WidgetMenu::WidgetMenu | ( | const WidgetMenu & | other | ) |
Constructor, with another widget menu object.
| [in] | other | Another widget menu object. |
| bool foxit::addon::xfa::WidgetMenu::Bold | ( | ) |
(Only useful for rich text) Make the rich text bold.
| bool foxit::addon::xfa::WidgetMenu::CanCopy | ( | ) |
Check if the text of related XFA widget can be copied.
| bool foxit::addon::xfa::WidgetMenu::CanCut | ( | ) |
Check if the text of related XFA widget can be cut.
| bool foxit::addon::xfa::WidgetMenu::CanDelete | ( | ) |
Check if the text of related XFA widget can be deleted.
| bool foxit::addon::xfa::WidgetMenu::CanDeSelect | ( | ) |
Check if the selection of the text in related XFA widget can be canceled.
| bool foxit::addon::xfa::WidgetMenu::CanPaste | ( | ) |
Check if the text of related XFA widget can be pasted.
| bool foxit::addon::xfa::WidgetMenu::CanRedo | ( | ) |
Check if the operation of related XFA widget can be redone.
| bool foxit::addon::xfa::WidgetMenu::CanSelectAll | ( | ) |
Check if the text of related XFA widget can be selected all.
| bool foxit::addon::xfa::WidgetMenu::CanUndo | ( | ) |
Check if the operation of related XFA widget can be undone.
| bool foxit::addon::xfa::WidgetMenu::ClearStyle | ( | ) |
(Only useful for rich text) Clear the style of the rich text.
| WString foxit::addon::xfa::WidgetMenu::Copy | ( | ) |
Copy the text of related XFA widget.
| WString foxit::addon::xfa::WidgetMenu::Cut | ( | ) |
Cut the text of related XFA widget.
| bool foxit::addon::xfa::WidgetMenu::Delete | ( | ) |
Delete all the text of related XFA widget.
| bool foxit::addon::xfa::WidgetMenu::DeSelect | ( | ) |
Cancel the selection of the text in related XFA widget.
| bool foxit::addon::xfa::WidgetMenu::IsEmpty | ( | ) | const |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
| bool foxit::addon::xfa::WidgetMenu::Italic | ( | ) |
(Only useful for rich text) Make the rich text italic.
| bool foxit::addon::xfa::WidgetMenu::operator!= | ( | const WidgetMenu & | other | ) | const |
Not equal operator.
| [in] | other | Another widget menu object. This function will check if current object is not equal to this one. |
| WidgetMenu& foxit::addon::xfa::WidgetMenu::operator= | ( | const WidgetMenu & | other | ) |
Assign operator.
| [in] | other | Another widget menu object, whose value would be assigned to current object. |
| bool foxit::addon::xfa::WidgetMenu::operator== | ( | const WidgetMenu & | other | ) | const |
Equal operator.
| [in] | other | Another widget menu object. This function will check if current object is equal to this one. |
| bool foxit::addon::xfa::WidgetMenu::Paste | ( | const wchar_t * | text | ) |
Paste the text to related XFA widget.
| [in] | text | A text string to be pasted. |
| bool foxit::addon::xfa::WidgetMenu::Redo | ( | ) |
Redo the operation of related XFA widget. (No effect for rich text)
| bool foxit::addon::xfa::WidgetMenu::SelectAll | ( | ) |
Select all the text of related XFA widget.
| bool foxit::addon::xfa::WidgetMenu::Subscript | ( | ) |
(Only useful for rich text) Make the rich text as subscript.
| bool foxit::addon::xfa::WidgetMenu::Superscript | ( | ) |
(Only useful for rich text) Make the rich text as superscript.
| bool foxit::addon::xfa::WidgetMenu::Underline | ( | ) |
(Only useful for rich text) Underline the rich text.
| bool foxit::addon::xfa::WidgetMenu::Undo | ( | ) |
Undo the operation of related XFA widget. (No effect for rich text)