Public Types | |
enum | HitTestArea { HitTestArea.e_HitTestAreaUnknown = 0, HitTestArea.e_HitTestAreaClient = 1, HitTestArea.e_HitTestAreaTitleBar = 2, HitTestArea.e_HitTestAreaHyperLink = 3 } |
Enumeration for hit test area of XFA widget. More... | |
Public Member Functions | |
XFAWidget (XFAWidget other) | |
Constructor, with another XFA widget object. | |
string | GetValue () |
Get the value string. More... | |
XFAPage | GetXFAPage () |
Get the related XFA page, to which current XFA widget belongs. More... | |
bool | IsEmpty () |
Check whether current object is empty or not. More... | |
bool | OnChar (int input_char, int flags) |
Call this function when a character code is being input. More... | |
XFAWidget.HitTestArea | OnHitTest (PointF point) |
Call this function to do hit test for a specified point. More... | |
bool | OnKeyDown (int key_code, int flags) |
Call this function when key on the keyboard is down. More... | |
bool | OnKeyUp (int key_code, int flags) |
Call this function when key on the keyboard is up. More... | |
bool | OnLButtonDoubleClick (PointF point, int flags) |
Call this function when left mouse button is double-clicked . More... | |
bool | OnLButtonDown (PointF point, int flags) |
Call this function when left mouse button is down. More... | |
bool | OnLButtonUp (PointF point, int flags) |
Call this function when left mouse button is up. More... | |
bool | OnMouseEnter () |
Call this function when mouse enters current XFA widget. More... | |
bool | OnMouseExit () |
Call this function when mouse exits. More... | |
bool | OnMouseMove (PointF point, int flags) |
Call this function when mouse moves. More... | |
bool | OnRButtonDown (PointF point, int flags) |
Call this function when right mouse is down. More... | |
bool | OnRButtonUp (PointF point, int flags) |
Call this function when right button is up. More... | |
void | SetValue (string value) |
Set the value string. More... | |
Class addon::xfa::XFAWidget represents the XFA widget which is retrieved from XFA page object. To access the menu of XFA widget, please construct a addon::xfa::WidgetMenu object with addon::xfa::XFAWidget object.
|
inline |
Get the value string.
|
inline |
Get the related XFA page, to which current XFA widget belongs.
|
inline |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
|
inline |
Call this function when a character code is being input.
input_char | A character code, in UTF16-LE encoding. |
flags | Event flags. Please refer to pdf::interform::e_EventFlagXXX values and it should be one or a combination of these values. |
|
inline |
Call this function to do hit test for a specified point.
point | A point to be tested. |
|
inline |
Call this function when key on the keyboard is down.
key_code | The key code. Please refer to pdf::interform::e_VkeyXXX values and it should be one of these values. |
flags | Event flags. Please refer to pdf::interform::e_EventFlagXXX values and it should be one or a combination of these values. |
|
inline |
Call this function when key on the keyboard is up.
key_code | The key code. Please refer to pdf::interform::e_VkeyXXX values and it should be one of these values. |
flags | Event flags. Please refer to pdf::interform::e_EventFlagXXX values and it should be one or a combination of these values. |
|
inline |
Call this function when left mouse button is double-clicked .
point | A point where left mouse button is double-clicked in XFA page, in PDF coordinate system. |
flags | Event flags. Please refer to pdf::interform::e_EventFlagXXX values and it should be one or a combination of these values. |
|
inline |
Call this function when left mouse button is down.
point | A point where left mouse button is down in XFA page, in PDF coordinate system. |
flags | Event flags. Please refer to pdf::interform::e_EventFlagXXX values and it should be one or a combination of these values. |
|
inline |
Call this function when left mouse button is up.
point | A point where left mouse button is up in XFA page, in PDF coordinate system. |
flags | Event flags. Please refer to pdf::interform::e_EventFlagXXX values and it should be one or a combination of these values. |
|
inline |
Call this function when mouse enters current XFA widget.
|
inline |
Call this function when mouse exits.
|
inline |
Call this function when mouse moves.
point | A point where left mouse button moves in XFA page, in PDF coordinate system. |
flags | Event flags. Please refer to pdf::interform::e_EventFlagXXX values and it should be one or a combination of these values. |
|
inline |
Call this function when right mouse is down.
point | A point where right mouse button is down in XFA page, in PDF coordinate system. |
flags | Event flags. Please refer to pdf::interform::e_EventFlagXXX values and it should be one or a combination of these values. |
|
inline |
Call this function when right button is up.
point | A point where right mouse button is up in XFA page, in PDF coordinate system. |
flags | Event flags. Please refer to e_EventFlagXXX values and it should be one or a combination of these values. |
|
inline |
Set the value string.
value | A string as value to be set. It should not be an empty string. |