Foxit PDF SDK
|
Public Member Functions | |
WidgetMenu (XFAWidget xfa_widget) throws com.foxit.sdk.PDFException | |
Constructor, from XFA widget object. More... | |
WidgetMenu (WidgetMenu other) | |
Constructor, with another widget menu object. More... | |
boolean | bold () throws com.foxit.sdk.PDFException |
(Only useful for rich text) Make the rich text bold. More... | |
boolean | canCopy () throws com.foxit.sdk.PDFException |
Check if the text of related XFA widget can be copied. More... | |
boolean | canCut () throws com.foxit.sdk.PDFException |
Check if the text of related XFA widget can be cut. More... | |
boolean | canDelete () throws com.foxit.sdk.PDFException |
Check if the text of related XFA widget can be deleted. More... | |
boolean | canDeSelect () throws com.foxit.sdk.PDFException |
Check if the selection of the text in related XFA widget can be canceled. More... | |
boolean | canPaste () throws com.foxit.sdk.PDFException |
Check if the text of related XFA widget can be pasted. More... | |
boolean | canRedo () throws com.foxit.sdk.PDFException |
Check if the operation of related XFA widget can be redone. More... | |
boolean | canSelectAll () throws com.foxit.sdk.PDFException |
Check if the text of related XFA widget can be selected all. More... | |
boolean | canUndo () throws com.foxit.sdk.PDFException |
Check if the operation of related XFA widget can be undone. More... | |
boolean | clearStyle () throws com.foxit.sdk.PDFException |
(Only useful for rich text) Clear the style of the rich text. More... | |
String | copy () throws com.foxit.sdk.PDFException |
Copy the text of related XFA widget. More... | |
String | cut () throws com.foxit.sdk.PDFException |
Cut the text of related XFA widget. More... | |
boolean | deleteMenu () throws com.foxit.sdk.PDFException |
Delete all the text of related XFA widget. More... | |
boolean | deSelect () throws com.foxit.sdk.PDFException |
Cancel the selection of the text in related XFA widget. More... | |
boolean | isEmpty () |
Check whether current object is empty or not. More... | |
boolean | italic () throws com.foxit.sdk.PDFException |
(Only useful for rich text) Make the rich text italic. More... | |
boolean | paste (String text) throws com.foxit.sdk.PDFException |
Paste the text to related XFA widget. More... | |
boolean | redo () throws com.foxit.sdk.PDFException |
Redo the operation of related XFA widget. (No effect for rich text) More... | |
boolean | selectAll () throws com.foxit.sdk.PDFException |
Select all the text of related XFA widget. More... | |
boolean | subscript () throws com.foxit.sdk.PDFException |
(Only useful for rich text) Make the rich text as subscript. More... | |
boolean | superscript () throws com.foxit.sdk.PDFException |
(Only useful for rich text) Make the rich text as superscript. More... | |
boolean | underline () throws com.foxit.sdk.PDFException |
(Only useful for rich text) Underline the rich text. More... | |
boolean | undo () throws com.foxit.sdk.PDFException |
Undo the operation of related XFA widget. (No effect for rich text) More... | |
Class WidgetMenu represents the menu of a XFA widget.
com.foxit.sdk.addon.xfa.WidgetMenu.WidgetMenu | ( | XFAWidget | xfa_widget | ) | throws com.foxit.sdk.PDFException |
Constructor, from XFA widget object.
[in] | xfa_widget | A valid XFA widget object. |
com.foxit.sdk.addon.xfa.WidgetMenu.WidgetMenu | ( | WidgetMenu | other | ) |
Constructor, with another widget menu object.
[in] | other | Another widget menu object. |
boolean com.foxit.sdk.addon.xfa.WidgetMenu.bold | ( | ) | throws com.foxit.sdk.PDFException |
(Only useful for rich text) Make the rich text bold.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.canCopy | ( | ) | throws com.foxit.sdk.PDFException |
Check if the text of related XFA widget can be copied.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.canCut | ( | ) | throws com.foxit.sdk.PDFException |
Check if the text of related XFA widget can be cut.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.canDelete | ( | ) | throws com.foxit.sdk.PDFException |
Check if the text of related XFA widget can be deleted.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.canDeSelect | ( | ) | throws com.foxit.sdk.PDFException |
Check if the selection of the text in related XFA widget can be canceled.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.canPaste | ( | ) | throws com.foxit.sdk.PDFException |
Check if the text of related XFA widget can be pasted.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.canRedo | ( | ) | throws com.foxit.sdk.PDFException |
Check if the operation of related XFA widget can be redone.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.canSelectAll | ( | ) | throws com.foxit.sdk.PDFException |
Check if the text of related XFA widget can be selected all.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.canUndo | ( | ) | throws com.foxit.sdk.PDFException |
Check if the operation of related XFA widget can be undone.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.clearStyle | ( | ) | throws com.foxit.sdk.PDFException |
(Only useful for rich text) Clear the style of the rich text.
String com.foxit.sdk.addon.xfa.WidgetMenu.copy | ( | ) | throws com.foxit.sdk.PDFException |
Copy the text of related XFA widget.
String com.foxit.sdk.addon.xfa.WidgetMenu.cut | ( | ) | throws com.foxit.sdk.PDFException |
Cut the text of related XFA widget.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.deleteMenu | ( | ) | throws com.foxit.sdk.PDFException |
Delete all the text of related XFA widget.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.deSelect | ( | ) | throws com.foxit.sdk.PDFException |
Cancel the selection of the text in related XFA widget.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.isEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.italic | ( | ) | throws com.foxit.sdk.PDFException |
(Only useful for rich text) Make the rich text italic.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.paste | ( | String | text | ) | throws com.foxit.sdk.PDFException |
Paste the text to related XFA widget.
[in] | text | A text string to be pasted. |
boolean com.foxit.sdk.addon.xfa.WidgetMenu.redo | ( | ) | throws com.foxit.sdk.PDFException |
Redo the operation of related XFA widget. (No effect for rich text)
boolean com.foxit.sdk.addon.xfa.WidgetMenu.selectAll | ( | ) | throws com.foxit.sdk.PDFException |
Select all the text of related XFA widget.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.subscript | ( | ) | throws com.foxit.sdk.PDFException |
(Only useful for rich text) Make the rich text as subscript.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.superscript | ( | ) | throws com.foxit.sdk.PDFException |
(Only useful for rich text) Make the rich text as superscript.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.underline | ( | ) | throws com.foxit.sdk.PDFException |
(Only useful for rich text) Underline the rich text.
boolean com.foxit.sdk.addon.xfa.WidgetMenu.undo | ( | ) | throws com.foxit.sdk.PDFException |
Undo the operation of related XFA widget. (No effect for rich text)