Foxit PDF SDK
fs_xfa.h
Go to the documentation of this file.
1 
16 #ifndef FS_XFA_H_
17 #define FS_XFA_H_
18 
19 #include "common/fs_common.h"
20 #include "common/fs_image.h"
21 
27 namespace foxit {
28 namespace common {
29  class Bitmap;
30 }
31 
32 namespace pdf{
33 class Signature;
34 class PDFDoc;
35 }
36 
40 namespace addon {
44 namespace xfa {
45 class XFADoc;
46 class XFAPage;
47 class XFAWidget;
48 
50 class WidgetChoiceOption FS_FINAL : public Object {
51  public:
55  , selected(false){}
56 
66  , selected(selected){}
67 
74  : option_label(option.option_label)
75  , selected(option.selected){}
76 
85  option_label = option.option_label;
86  selected = option.selected;
87  return *this;
88  }
89 
99  void Set( const wchar_t* option_label, bool selected) {
100  this->option_label = option_label;
101  this->selected = selected;
102  }
103 
106 
108  bool selected;
109 };
110 
113 
120  public:
126  typedef enum _AppInfo {
139  } AppInfo;
140 
146  typedef enum _BeepType {
157  } BeepType;
158 
164  typedef enum _StringID {
382  } StringID;
383 
389  typedef enum _MsgBoxIconType {
398  } MsgBoxIconType;
399 
405  typedef enum _MsgBoxButtonType {
415 
421  typedef enum _MsgBoxButtonID {
430  } MsgBoxButtonID;
431 
432 
438  virtual void Release() = 0;
439 
449  virtual WString GetAppInfo(AppInfo app_info) = 0;
450 
459  virtual void Beep(BeepType type) = 0;
460 
474  virtual MsgBoxButtonID MsgBox(const wchar_t* message, const wchar_t* title, MsgBoxIconType icon_type,
475  MsgBoxButtonType button_type) = 0;
476 
489  virtual WString Response(const wchar_t* question, const wchar_t* title, const wchar_t* default_answer,
490  bool is_mask) = 0;
491 
499  virtual common::file::ReaderCallback* DownLoadUrl(const wchar_t* url) = 0;
500 
515  virtual WString PostRequestURL(const wchar_t* url, const wchar_t* data, const wchar_t* content_type,
516  const wchar_t* encode, const wchar_t* header) = 0;
517 
528  virtual bool PutRequestURL(const wchar_t* url, const wchar_t* data, const wchar_t* encode) = 0;
529 
547  virtual WString LoadString(StringID string_id) = 0;
548 
559  virtual WStringArray ShowFileDialog(const wchar_t* string_title, const wchar_t* string_filter,
560  bool is_openfile_dialog) = 0;
561 
562  protected:
563  ~AppProviderCallback() {}
564 };
565 
566 class XFAWidgetModifyInfo;
573  public:
579  typedef enum _InvalidateFlag {
584  } InvalidateFlag;
585 
591  typedef enum _PrintOption {
599  e_PrintOptionAsImage = 0x00000008,
604  } PrintOption;
605 
611  typedef enum _SubmitFormat {
622  } SubmitFormat;
623 
629  typedef enum _TextEncoding {
654  } TextEncoding;
655 
661  typedef enum _PageViewEventType {
669 
675  typedef enum _WidgetEventType {
680  } WidgetEventType;
681 
682 
688  virtual void Release() = 0;
689 
702  virtual void InvalidateRect(int page_index, const RectF& rect, InvalidateFlag flag) = 0;
703 
714  virtual void DisplayCaret(int page_index, bool is_visible, const RectF& rect) = 0;
715 
730  virtual bool GetPopupPos(int page_index, float min_popup, float max_popup,
731  const RectF& rect_widget, RectF& inout_rect_popup) = 0;
732 
741  virtual bool PopupMenu(int page_index, const PointF& rect_popup) = 0;
742 
750  virtual int GetCurrentPage(const XFADoc& doc) = 0;
751 
760  virtual void SetCurrentPage(const XFADoc& doc, int current_page_index) = 0;
761 
769  virtual void SetChangeMark(const XFADoc& doc) = 0;
770 
778  virtual WString GetTitle(const XFADoc& doc) = 0;
779 
789  virtual void SetFocus(XFAWidget& xfa_widget, bool is_relayout) = 0;
790 
801  virtual void ExportData(const XFADoc& doc, const WString& file_path) = 0;
802 
813  virtual void ImportData(const XFADoc& doc, const WString& file_path) = 0;
814 
823  virtual void GotoURL(const XFADoc& doc, const WString& url) = 0;
824 
837  virtual void Print(const XFADoc& doc, int start_page_index, int end_page_index, uint32 options) = 0;
838 
846  virtual ARGB GetHighlightColor(const XFADoc& doc) = 0;
847 
861  virtual bool SubmitData(const XFADoc& doc, const WString& target, SubmitFormat format, TextEncoding text_encoding,
862  const WString& content) = 0;
863 
874  virtual void PageViewEvent(int page_index, PageViewEventType page_view_event_type) = 0;
875 
886  virtual void WidgetEvent(const XFAWidget& xfa_widget,WidgetEventType widget_event_type) = 0;
887 
896  virtual void NotifyWidgetChangeInfo(const XFADoc& doc, XFAWidgetModifyInfo change_info) = 0;
897  protected:
898  ~DocProviderCallback() {}
899 };
900 
910 class XFADoc FS_FINAL : public Base{
911  public:
917  typedef enum _EventType {
1021  } EventType;
1022 
1028  typedef enum _Type {
1034  e_XDP = 2
1035  } Type;
1036 
1042  typedef enum _ExportDataType {
1049  } ExportDataType;
1050 
1051 
1065  XFADoc(const pdf::PDFDoc& document, DocProviderCallback* xfa_doc_provider_handler);
1066 
1079  XFADoc(const foxit::pdf::PDFDoc& document);
1080 
1086  XFADoc(const XFADoc& other);
1094  XFADoc& operator = (const XFADoc& other);
1095 
1103  bool operator == (const XFADoc& other) const;
1104 
1112  bool operator != (const XFADoc& other) const;
1113 
1121  bool IsEmpty() const;
1122 
1124  ~XFADoc();
1125 
1144 
1156 
1163  Type GetType() const;
1164 
1170  int GetPageCount() const;
1171 
1180  XFAPage GetPage(int page_index);
1181 
1191  bool ExportData(const char* output_file_path, ExportDataType export_type);
1192 
1202  bool ExportData(const wchar_t* output_file_path, ExportDataType export_type);
1203 
1214 
1225  void SetPDFPath(const char* pdf_file_path);
1226 
1237  void SetPDFPath(const wchar_t* pdf_file_path);
1238 
1247  bool ImportData(const char* file_path);
1248 
1257  bool ImportData(const wchar_t* file_path);
1258 
1268 
1274  void ResetForm();
1275 
1283  void FlattenTo(const char* output_file_path);
1284 
1292  void FlattenTo(const wchar_t* output_file_path);
1293 
1302 
1312  void ProcessEvent(EventType event_type);
1313 
1321  void SetFocus(XFAWidget xfa_widget);
1322 
1328  void KillFocus();
1329 
1343  XFAWidget GetWidgetByFullName(const WString& full_name);
1344 
1345  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
1346  explicit XFADoc(FS_HANDLE handle = NULL);
1347 
1348 };
1349 
1356 class XFAPage FS_FINAL : public Base{
1357  public:
1363  XFAPage(const XFAPage& other);
1371  XFAPage& operator = (const XFAPage& other);
1372 
1380  bool operator == (const XFAPage& other) const;
1388  bool operator != (const XFAPage& other) const;
1389 
1391  ~XFAPage();
1392 
1400  bool IsEmpty() const;
1401 
1415  Matrix GetDisplayMatrix(int left, int top, int width, int height, common::Rotation rotate);
1416 
1422  float GetWidth() const;
1423 
1429  float GetHeight() const;
1430 
1441  XFAWidget GetWidgetAtDevicePoint(const Matrix& matrix, const PointF& device_point, float tolerance);
1442 
1448  int GetIndex() const;
1449 
1455  int GetWidgetCount() const;
1456 
1465  XFAWidget GetWidget(int widget_index) const;
1466 
1476  XFAWidget GetWidgetByFullName(const WString& full_name);
1477 
1485 
1493 
1503  XFAWidget GetNextWidget(const XFAWidget& widget);
1504 
1514  XFAWidget GetPrevWidget(const XFAWidget& widget);
1515 
1516  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
1517  explicit XFAPage(FS_HANDLE handle = NULL);
1518 };
1519 
1521 class XFAWidgetModifyInfo : public Object {
1522  public:
1528  typedef enum _WidgetElement {
2157  } WidgetElement;
2158 
2164  typedef enum _WidgetAttributeType {
2278 
2279 
2282  : event_type(XFADoc::e_EventTypeUnknown)
2283  , page_index(-1)
2286  , old_value(L"")
2287  , new_value(L"")
2288  , widget_name(L"") {}
2289 
2296  event_type = other.event_type;
2297  page_index = other.page_index;
2298  element = other.element;
2300  old_value = other.old_value;
2301  new_value = other.new_value;
2302  widget_name = other.widget_name;
2303  }
2304 
2313  if (this != &other) {
2314  event_type = other.event_type;
2315  page_index = other.page_index;
2316  element = other.element;
2318  old_value = other.old_value;
2319  new_value = other.new_value;
2320  widget_name = other.widget_name;
2321  }
2322  return *this;
2323  }
2324 
2342  , element(element)
2344  , old_value(old_value)
2345  , new_value(new_value)
2347  {}
2348 
2354 
2357 
2363 
2368 
2371 
2374 
2377 };
2378 
2385 class XFAWidget FS_FINAL : public Base {
2386  public:
2392  typedef enum _HitTestArea {
2401  } HitTestArea;
2402 
2408  typedef enum _WidgetType {
2443  } WidgetType;
2444 
2451  typedef enum _PresenceProperty {
2462  } PresenceProperty;
2463 
2469  typedef enum _WidgetNameType {
2476  } WidgetNameType;
2477 
2483  typedef enum _WidgetHAlignType {
2496  } WidgetHAlignType;
2497 
2503  typedef enum _WidgetVAlignType {
2510  } WidgetVAlignType;
2511 
2517  typedef enum _WidgetEdgePosition {
2527 
2528 
2534  XFAWidget(const XFAWidget& other);
2542  XFAWidget& operator = (const XFAWidget& other);
2543 
2551  bool operator == (const XFAWidget& other) const;
2559  bool operator != (const XFAWidget& other) const;
2560 
2568  bool IsEmpty() const;
2569 
2571  ~XFAWidget();
2572 
2578  XFAPage GetXFAPage();
2579 
2585  int GetIndex() const;
2586 
2592  void ResetData();
2593 
2602  RectF GetRect();
2603 
2609  WString GetValue();
2610 
2621  void SetValue(const wchar_t* value);
2622 
2629 
2640  void SetDefaultValue(const wchar_t* value);
2641 
2651 
2661 
2672  bool SetOptions(const addon::xfa::WidgetChoiceOptionArray& option_array);
2673 
2682  bool IsChecked() const;
2683 
2695  void SetCheckState(bool is_checked);
2696 
2702  bool IsListBox();
2703 
2711  bool IsSupportMultiline();
2712 
2721  bool IsSupportMultiSelect();
2722 
2731 
2737  bool OnMouseEnter();
2738 
2744  bool OnMouseExit();
2745 
2756  bool OnLButtonDown(const PointF& point, uint32 flags);
2757 
2768  bool OnLButtonUp(const PointF& point, uint32 flags);
2769 
2780  bool OnLButtonDoubleClick(const PointF& point, uint32 flags);
2781 
2792  bool OnMouseMove(const PointF& point, uint32 flags);
2793 
2804  bool OnRButtonDown(const PointF& point, uint32 flags);
2805 
2816  bool OnRButtonUp(const PointF& point, uint32 flags);
2817 
2830  bool OnKeyDown(uint32 key_code, uint32 flags);
2831 
2844  bool OnKeyUp(uint32 key_code, uint32 flags);
2845 
2856  bool OnChar(int input_char, uint32 flags);
2857 
2866  HitTestArea OnHitTest(const PointF& point);
2867 
2874  WidgetType GetType();
2875 
2883 
2891 
2900  bool HasEdge(WidgetEdgePosition edge_pos);
2901 
2911 
2917  WString GetToolTip();
2918 
2929 
2949  void SetImage(const foxit::common::Image& image);
2950 
2958  bool IsAllowRichText();
2959 
2965  bool IsReadOnly();
2966 
2974  bool IsRequired();
2975 
2988  bool ValidateValue(const wchar_t* value, WString& format);
2989 
2996 
3003 
3004  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
3005  explicit XFAWidget(FS_HANDLE handle = NULL);
3006 };
3007 
3011 class WidgetMenu FS_FINAL : public Base {
3012  public:
3018  explicit WidgetMenu(const XFAWidget& xfa_widget);
3019 
3025  WidgetMenu(const WidgetMenu& other);
3033  WidgetMenu& operator = (const WidgetMenu& other);
3034 
3042  bool operator == (const WidgetMenu& other) const;
3050  bool operator != (const WidgetMenu& other) const;
3051 
3053  ~WidgetMenu();
3054 
3062  bool IsEmpty() const;
3063 
3069  bool CanCopy();
3070 
3076  bool CanCut();
3077 
3083  bool CanPaste();
3084 
3090  bool CanSelectAll();
3091 
3097  bool CanDelete();
3098 
3105  bool CanDeSelect();
3106 
3112  WString Copy();
3113 
3119  WString Cut();
3120 
3128  bool Paste(const wchar_t* text);
3129 
3135  bool SelectAll();
3136 
3142  bool Delete();
3143 
3149  bool DeSelect();
3150 
3157  bool CanUndo();
3158 
3165  bool CanRedo();
3166 
3172  bool Undo();
3173 
3179  bool Redo();
3180 
3186  bool Bold();
3187 
3193  bool Italic();
3194 
3200  bool Underline();
3201 
3207  bool Superscript();
3208 
3214  bool Subscript();
3215 
3221  bool ClearStyle();
3222 
3223  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
3224  explicit WidgetMenu(FS_HANDLE handle = NULL);
3225 };
3226 
3227 } // namespace XFA
3228 } // namespace addon
3229 } // namespace foxit
3230 #endif // namespace foxit
3231 
XFA widget element: Digest method.
Definition: fs_xfa.h:1942
virtual void DisplayCaret(int page_index, bool is_visible, const RectF &rect)=0
A callback function used to display or hide caret.
Sample message: "Unable to set the value for property 'numPages'".
Definition: fs_xfa.h:202
int GetIndex() const
Get the index of XFA Widget in related XFA page.
Message box icon: Question.
Definition: fs_xfa.h:395
Message box button ID: Cancel.
Definition: fs_xfa.h:425
XFA widget element: Layout pseudo model.
Definition: fs_xfa.h:1830
Widget attribute type: Lead digits.
Definition: fs_xfa.h:2264
virtual void Beep(BeepType type)=0
A callback function used to beep for specified beep type.
Widget attribute type: Border width.
Definition: fs_xfa.h:2248
XFA widget element: Decimal.
Definition: fs_xfa.h:1780
XFA widget element: Font.
Definition: fs_xfa.h:2034
XFA widget element: Exclude NS.
Definition: fs_xfa.h:1818
XFA widget element: rectangle.
Definition: fs_xfa.h:1984
Sample message: "Script failed(language is %s;context is %s) script=%s".
Definition: fs_xfa.h:370
XFA widget element: Embed.
Definition: fs_xfa.h:1798
If set, print page in reverse order; otherwise, in normal order.
Definition: fs_xfa.h:601
bool IsReadOnly()
Check whether the widget is read only.
XFA widget element: Pattern.
Definition: fs_xfa.h:1972
XFA widget element: Issuers.
Definition: fs_xfa.h:1658
XFA widget type: date time edit.
Definition: fs_xfa.h:2418
XFA widget element: Agent.
Definition: fs_xfa.h:1718
Sample message: "The element [%s] has violated its allowable number of occurrences".
Definition: fs_xfa.h:314
XFA widget element: Number of copies.
Definition: fs_xfa.h:1768
PresenceProperty
Enumeration for presence attribute of XFA widget.
Definition: fs_xfa.h:2451
void SetValue(const wchar_t *value)
Set the value string.
Sample message: "Bad suffix on number".
Definition: fs_xfa.h:222
Sample message: "SOM expression returned list when single result was expected".
Definition: fs_xfa.h:308
XFA widget element: Submit Url.
Definition: fs_xfa.h:1908
virtual void ExportData(const XFADoc &doc, const WString &file_path)=0
A callback function used to export data to file.
String ID for case: Use string in local language for "Tuesday".
Definition: fs_xfa.h:322
XFA widget element: Source.
Definition: fs_xfa.h:2136
XFA widget element: Certificates.
Definition: fs_xfa.h:1692
XFA widget element: Start node.
Definition: fs_xfa.h:1672
Sample message: "Condition is null".
Definition: fs_xfa.h:250
XFA widget element: Ex object.
Definition: fs_xfa.h:2060
XFA widget element: ADBE_JSConsole.
Definition: fs_xfa.h:1914
XFA widget element: Encryption.
Definition: fs_xfa.h:2008
XFA widget element: Integer.
Definition: fs_xfa.h:1856
This kind of event is triggered when the mouse button is depressed at a moment and the mouse pointer ...
Definition: fs_xfa.h:962
void SetDocProviderCallback(foxit::addon::xfa::DocProviderCallback *doc_provider_callback)
Set XFA document provider callback.
Sample message: "Unsupported method %s.".
Definition: fs_xfa.h:189
XFA widget element: Jog.
Definition: fs_xfa.h:1570
XFA widget element: Relevant.
Definition: fs_xfa.h:1918
XFA widget element: Content area.
Definition: fs_xfa.h:1726
XFA widget type: rectangle.
Definition: fs_xfa.h:2434
virtual void ImportData(const XFADoc &doc, const WString &file_path)=0
A callback function used to import data from file.
This kind of event is triggered just after the rendered form has been sent to the printer,...
Definition: fs_xfa.h:924
The submit data is packaged in URL-encoded format as described in Uniform Resource Locator(URL).
Definition: fs_xfa.h:617
XFA widget type: barcode.
Definition: fs_xfa.h:2410
XFA widget element: Never embed.
Definition: fs_xfa.h:2066
XFA widget type: unknown.
Definition: fs_xfa.h:2438
Widget attribute type: Underline period.
Definition: fs_xfa.h:2254
bool OnLButtonUp(const PointF &point, uint32 flags)
Call this function when left mouse button is up.
XFA widget element: Stipple.
Definition: fs_xfa.h:1740
XFA widget type: arc.
Definition: fs_xfa.h:2416
virtual int GetCurrentPage(const XFADoc &doc)=0
A callback function used to get index of current page.
WidgetNameType
Enumeration for the type of XFA widget name.
Definition: fs_xfa.h:2469
File writing interface.
Definition: fx_stream.h:470
XFA widget element: Variables.
Definition: fs_xfa.h:2116
Sample message: "An attempt was made to reference property '%s' of a non-object in SOM expression %s"...
Definition: fs_xfa.h:292
bool operator==(const XFAWidget &other) const
Equal operator.
Sample message: "The value you entered for %s is invalid. To ignore validations for %s,...
Definition: fs_xfa.h:364
void Set(const wchar_t *option_label, bool selected)
Set value.
Definition: fs_xfa.h:99
WidgetAttributeType attribute_type
The attribute type. Please refer to values starting from XFAWidgetModifyInfo::e_WidgetAttributeTypeH ...
Definition: fs_xfa.h:2367
Widget attribute type: W. Width for layout purposes.
Definition: fs_xfa.h:2168
Definition: fs_image.h:36
XFAWidget GetPrevWidget(const XFAWidget &widget)
Get the previous XFA widget of a specified XFA widget in current tab order.
This kind of event is triggered after a successful WSDL transaction, just after the reply to the requ...
Definition: fs_xfa.h:981
WidgetMenu & operator=(const WidgetMenu &other)
Assign operator.
bool ImportData(const char *file_path)
Import data from an XML or XDP file.
Sample message: "Illegal continue".
Definition: fs_xfa.h:254
WidgetHAlignType
Enumeration for the type of text horizontal alignment of XFA widget.
Definition: fs_xfa.h:2483
XFA widget element: Medium info.
Definition: fs_xfa.h:2038
XFA widget element: Break.
Definition: fs_xfa.h:1546
Text encoding: GB18030.
Definition: fs_xfa.h:639
XFA widget element: Messaging.
Definition: fs_xfa.h:2012
XFAWidgetModifyInfo(const XFAWidgetModifyInfo &other)
Constructor, with another xfa widget modify information object.
Definition: fs_xfa.h:2295
HitTestArea OnHitTest(const PointF &point)
Call this function to do hit test for a specified point.
XFA widget element: Encryption method.
Definition: fs_xfa.h:1902
XFA widget element: Date.
Definition: fs_xfa.h:2000
XFA widget element: Era names.
Definition: fs_xfa.h:1668
XFA widget element: Root element.
Definition: fs_xfa.h:2096
XFA widget element: Border.
Definition: fs_xfa.h:1678
XFA widget element: Modify annots.
Definition: fs_xfa.h:1670
XFA widget type: signature.
Definition: fs_xfa.h:2422
void SetCheckState(bool is_checked)
Set the checked state of the current XFA widget.
This kind of event represents a calculate operation.
Definition: fs_xfa.h:1018
XFA widget element: Occur.
Definition: fs_xfa.h:2138
XFAWidgetModifyInfo & operator=(const XFAWidgetModifyInfo &other)
Assign operator.
Definition: fs_xfa.h:2312
virtual void InvalidateRect(int page_index, const RectF &rect, InvalidateFlag flag)=0
A callback function used to invalidate rectangle according the flag.
bool Italic()
(Only useful for rich text) Make the rich text italic.
Sample message: "Index value is out of bounds".
Definition: fs_xfa.h:298
Sample message: "Unable to set the value for property 'length'".
Definition: fs_xfa.h:218
Sample message: "Invalidate token '%s'".
Definition: fs_xfa.h:232
XFAWidget GetWidgetByFullName(const WString &full_name)
Get the XFA widget which matches the specified full name in current XFA page.
PageViewEventType
Enumeration for the event type of page view.
Definition: fs_xfa.h:661
String ID for case: Use string in local language for "July".
Definition: fs_xfa.h:344
WidgetVAlignType GetVAlign()
Get text vertical alignment.
String ID for case: If to modify field. Sample message: "Do you want to modify this field?...
Definition: fs_xfa.h:170
WidgetEventType
Enumeration for the type of XFA widget event.
Definition: fs_xfa.h:675
Message box button ID: OK.
Definition: fs_xfa.h:423
XFA widget element: Event pseudo model.
Definition: fs_xfa.h:1728
XFA widget element: Image.
Definition: fs_xfa.h:1764
WString widget_name
The xfa widget name.
Definition: fs_xfa.h:2376
Widget attribute type: Font horizontal scale.
Definition: fs_xfa.h:2188
XFA widget element: Area.
Definition: fs_xfa.h:1680
XFA widget element: Label printer.
Definition: fs_xfa.h:1612
CFX_Object Object
Object type.
Definition: fs_basictypes.h:220
XFA widget element: Value.
Definition: fs_xfa.h:2056
Sample message: "Unable to set the value for property 'variation'".
Definition: fs_xfa.h:208
XFA widget element: Day names.
Definition: fs_xfa.h:1924
XFADoc::EventType event_type
The XFA event type. Please refer to values starting from XFADoc::e_EventTypeUnknown and this would be...
Definition: fs_xfa.h:2353
XFA widget element: Pcl.
Definition: fs_xfa.h:1582
XFA widget element: Filter.
Definition: fs_xfa.h:1622
XFA widget element: Script model.
Definition: fs_xfa.h:1778
Sample message: "Cannot find function '%s'".
Definition: fs_xfa.h:280
XFA widget element: Document assembly.
Definition: fs_xfa.h:2150
XFA widget element: Log pseudo model.
Definition: fs_xfa.h:2052
WidgetType
Enumeration for the type of XFA widget.
Definition: fs_xfa.h:2408
Sample message: "Validate failed".
Definition: fs_xfa.h:166
The submit data is translated and packaged into an URL-Encoded format.
Definition: fs_xfa.h:621
XFA widget element: Data model.
Definition: fs_xfa.h:1636
XFA widget type: line.
Definition: fs_xfa.h:2428
XFA widget element: Text edit.
Definition: fs_xfa.h:1950
XFA widget element: Staple.
Definition: fs_xfa.h:1806
This kind of event is triggered when the mouse button is released at a moment and the mouse pointer i...
Definition: fs_xfa.h:976
bool HasEdge(WidgetEdgePosition edge_pos)
Check if the edge for specified position exists.
Sample message: "Not have a default property".
Definition: fs_xfa.h:198
WidgetVAlignType
Enumeration for the type of text vertical alignment of XFA widget.
Definition: fs_xfa.h:2503
bool Redo()
Redo the operation of related XFA widget. (No effect for rich text)
XFA widget element: Whitespace.
Definition: fs_xfa.h:1632
Sample message: "Unable to set the value for property 'ready'".
Definition: fs_xfa.h:212
XFA widget element: Always embed.
Definition: fs_xfa.h:1896
XFAPage GetXFAPage()
Get the related XFA page, to which current XFA widget belongs.
Definition: fs_xfa.h:1356
InvalidateFlag
Enumeration for XFA invalidate flag.
Definition: fs_xfa.h:579
This kind of event is triggered just after the data has been marshalled in the Connection Data DOM bu...
Definition: fs_xfa.h:1008
Widget attribute type: Left inset.
Definition: fs_xfa.h:2192
foxit::common::Bitmap GetBitmap()
Get the bitmap of current XFA widget.
Widget attribute type: Baseline shift.
Definition: fs_xfa.h:2208
Presence property: Inactive. Do not participate in interaction, layout, or rendering.
Definition: fs_xfa.h:2459
This kind of event is triggered to tell an object that it has just been added to an array or that its...
Definition: fs_xfa.h:955
XFA widget element: Lock document.
Definition: fs_xfa.h:2128
XFA widget element: Reason.
Definition: fs_xfa.h:1754
bool CanDelete()
Check if the text of related XFA widget can be deleted.
WString option_label
The displayed string value for the option.
Definition: fs_xfa.h:105
Widget attribute type: Letter spacing.
Definition: fs_xfa.h:2226
Sample message: "Out of the range of '%s' array".
Definition: fs_xfa.h:284
Widget attribute type: Space above.
Definition: fs_xfa.h:2266
Sample message: "Unable to set the value for property 'validationsEnabled'".
Definition: fs_xfa.h:206
Definition: fs_basictypes.h:227
common::Progressive StartLoad(common::PauseCallback *pause=0)
Start to load content for current XFA document.
XFA widget element: Run scripts.
Definition: fs_xfa.h:2044
XFA widget element: Auto save.
Definition: fs_xfa.h:1724
XFA widget element: Batch output.
Definition: fs_xfa.h:1642
String ID for case: Use string in local language for "December".
Definition: fs_xfa.h:354
XFA widget element: List.
Definition: fs_xfa.h:2134
bool OnLButtonDown(const PointF &point, uint32 flags)
Call this function when left mouse button is down.
void SetImage(const foxit::common::Image &image)
Set the image for current XFA widget.
virtual void NotifyWidgetChangeInfo(const XFADoc &doc, XFAWidgetModifyInfo change_info)=0
A callback function to notify XFA widget change information.
XFA widget element: Break after.
Definition: fs_xfa.h:2130
Matrix GetDisplayMatrix(int left, int top, int width, int height, common::Rotation rotate)
Get the display matrix, from PDF coordinate system to targeted device coordinate system.
Message box icon: Error.
Definition: fs_xfa.h:391
Edge position: top.
Definition: fs_xfa.h:2519
String ID for case: Use string in local language for "Thursday".
Definition: fs_xfa.h:326
XFA widget element: Float.
Definition: fs_xfa.h:2048
XFA widget element: Current page.
Definition: fs_xfa.h:1996
Definition: fx_coordinates.h:30
Sample message: "Unable to set the value for property 'platform'".
Definition: fs_xfa.h:204
XFA widget element: Data group.
Definition: fs_xfa.h:2016
Message box button ID: Yes.
Definition: fs_xfa.h:429
XFA widget element: Page set.
Definition: fs_xfa.h:1854
bool CanCut()
Check if the text of related XFA widget can be cut.
XFA widget element: Incremental merge.
Definition: fs_xfa.h:2112
WString new_value
The new value.
Definition: fs_xfa.h:2373
XFA widget element: Layout.
Definition: fs_xfa.h:1872
bool IsEmpty() const
Check whether current object is empty or not.
String ID for case: Use string in local language for "October".
Definition: fs_xfa.h:350
virtual void SetFocus(XFAWidget &xfa_widget, bool is_relayout)=0
A callback function used to set focus widget.
Message box button: Yes, No and Cancel.
Definition: fs_xfa.h:413
Align the radix indicator.
Definition: fs_xfa.h:2493
Definition: fs_xfa.h:2385
XFA widget element: Permissions.
Definition: fs_xfa.h:2084
XFA widget element: Encrypt methods.
Definition: fs_xfa.h:1694
XFA widget element: Page area.
Definition: fs_xfa.h:1906
Event type: after a page view is removed.
Definition: fs_xfa.h:665
This kind of event is triggered when a signature is about to be applied.
Definition: fs_xfa.h:1003
XFA widget element: Operation.
Definition: fs_xfa.h:1652
XFA widget element: Acrobat.
Definition: fs_xfa.h:1884
XFA widget element: Select.
Definition: fs_xfa.h:1784
XFA widget element: Type.
Definition: fs_xfa.h:1688
XFA widget element: Validate approval signatures.
Definition: fs_xfa.h:1966
XFA widget element: Compress object stream.
Definition: fs_xfa.h:1954
XFA widget element: Print high quality.
Definition: fs_xfa.h:2102
bool Subscript()
(Only useful for rich text) Make the rich text as subscript.
Align the text to the left edge of the available region.
Definition: fs_xfa.h:2491
XFA widget element: Digest methods.
Definition: fs_xfa.h:1850
WString GetJavaScript()
Get the JavaScript of validation for current XFA widget.
File reading interface.
Definition: fx_stream.h:587
XFA widget element: Reasons.
Definition: fs_xfa.h:2024
virtual WString Response(const wchar_t *question, const wchar_t *title, const wchar_t *default_answer, bool is_mask)=0
A callback function used to response.
WidgetAttributeType
Enumeration for XFA attribute type.
Definition: fs_xfa.h:2164
XFA widget element: Time.
Definition: fs_xfa.h:1686
PresenceProperty GetPresence()
Get the presence property of the XFA widget.
XFA widget type: image edit.
Definition: fs_xfa.h:2426
bool Underline()
(Only useful for rich text) Underline the rich text.
AppInfo
Enumeration for XFA application information type.
Definition: fs_xfa.h:126
Sample message: "Error:Argument mismatch in property or function argument.".
Definition: fs_xfa.h:381
Presence property: Visible. Participate in interaction, layout, and rendering.
Definition: fs_xfa.h:2455
MsgBoxIconType
Enumeration for icon type of XFA message box.
Definition: fs_xfa.h:389
XFA widget element: Oid.
Definition: fs_xfa.h:1580
bool OnMouseExit()
Call this function when mouse exits.
XFA widget element: Month mames.
Definition: fs_xfa.h:2142
XFA widget element: Typefaces.
Definition: fs_xfa.h:1654
XFA widget element: Zpl.
Definition: fs_xfa.h:1598
XFA widget element: Mode.
Definition: fs_xfa.h:1870
XFAPage(const XFAPage &other)
Constructor, with another XFA page object.
void SetPDFPath(const char *pdf_file_path)
Set the path of related PDF document.
Beep type: warning.
Definition: fs_xfa.h:150
XFA widget element: Key usage.
Definition: fs_xfa.h:1604
Text encoding: GB2312.
Definition: fs_xfa.h:641
Widget attribute type: Line height.
Definition: fs_xfa.h:2258
WidgetChoiceOption()
Constructor.
Definition: fs_xfa.h:53
WIDE STRING CLASS.
Definition: fx_string.h:1461
float GetHeight() const
Get the height of the XFA page.
XFAWidget GetWidgetAtDevicePoint(const Matrix &matrix, const PointF &device_point, float tolerance)
Get the XFA widget at a specified point, in device coordinate system.
XFA widget element: Number symbol.
Definition: fs_xfa.h:2152
bool IsEmpty() const
Check whether current object is empty or not.
int GetPageCount() const
Get XFA page count.
Widget attribute type: H. Height for layout purposes.
Definition: fs_xfa.h:2166
XFAPage & operator=(const XFAPage &other)
Assign operator.
Edge position: bottom.
Definition: fs_xfa.h:2523
XFA widget element: Connect.
Definition: fs_xfa.h:2082
XFA widget element: Config.
Definition: fs_xfa.h:1762
bool OnKeyDown(uint32 key_code, uint32 flags)
Call this function when key on the keyboard is down.
XFA widget element: Xsd connection.
Definition: fs_xfa.h:1876
This kind of event is triggered whenever the validation state of the target changes.
Definition: fs_xfa.h:1012
XFA widget element: Start page.
Definition: fs_xfa.h:1700
WString old_value
The old value.
Definition: fs_xfa.h:2370
WString GetToolTip()
Get tooltip string.
XFA widget element: Delta.
Definition: fs_xfa.h:1666
This kind of event is triggered when the user clicks in the field.
Definition: fs_xfa.h:928
Name type: full name.
Definition: fs_xfa.h:2475
bool IsRequired()
Check whether the widget requires a value at the time it is exported by a submit-form action.
String ID for case: Use string in local language for "November".
Definition: fs_xfa.h:352
XFA widget element: Date patterns.
Definition: fs_xfa.h:1558
Widget attribute type: Line through period.
Definition: fs_xfa.h:2244
XFA widget element: Submit.
Definition: fs_xfa.h:2088
XFA widget element: D sig data.
Definition: fs_xfa.h:2078
Hit test area: Title Bar.
Definition: fs_xfa.h:2398
bool OnChar(int input_char, uint32 flags)
Call this function when a character code is being input.
bool SetOptions(const addon::xfa::WidgetChoiceOptionArray &option_array)
Set options of a choice list or an Exclusion Group (for radio button only).
XFA widget element: Number patterns.
Definition: fs_xfa.h:1852
XFA widget element: Soap action.
Definition: fs_xfa.h:1926
This kind of event is triggered just after the returned data has been marshalled in the Connection Da...
Definition: fs_xfa.h:989
XFA widget element: Bind items.
Definition: fs_xfa.h:2068
Sample message: "Cannot find property '%s'".
Definition: fs_xfa.h:264
XFA widget element: slient print.
Definition: fs_xfa.h:1826
XFA widget element: Present.
Definition: fs_xfa.h:1624
bool ExportData(const char *output_file_path, ExportDataType export_type)
Export data to a file.
XFAWidget & operator=(const XFAWidget &other)
Assign operator.
Sample message: "Unable to set the value for property 'language'".
Definition: fs_xfa.h:200
Definition: fs_pdfdoc.h:776
XFA widget element: Severity.
Definition: fs_xfa.h:2144
XFA widget type: text edit.
Definition: fs_xfa.h:2436
bool operator !=(const WidgetMenu &other) const
Not equal operator.
XFA widget type: numeric edit.
Definition: fs_xfa.h:2420
bool Delete()
Delete all the text of related XFA widget.
XFA widget element: Compress logical structure.
Definition: fs_xfa.h:2110
XFA widget element: Ps Map.
Definition: fs_xfa.h:1816
This kind of event represents the first run calculate.
Definition: fs_xfa.h:1014
Widget attribute type: Margin right.
Definition: fs_xfa.h:2202
XFA widget element: Date time edit.
Definition: fs_xfa.h:1760
XFA widget element: Xdp.
Definition: fs_xfa.h:1592
XFA widget element: Manifest.
Definition: fs_xfa.h:1930
Sample message: "'%s' redefinition".
Definition: fs_xfa.h:230
Event type: after an XFA widget is added.
Definition: fs_xfa.h:677
int page_index
The page index.
Definition: fs_xfa.h:2356
Sample message: "'%s' argument is expected to be a container".
Definition: fs_xfa.h:290
Name type: field name. Name in this type will be retrieved from XFA widget's name entry and this may ...
Definition: fs_xfa.h:2471
XFA widget element: Xfa.
Definition: fs_xfa.h:1594
EventType
Enumeration for XFA event type.
Definition: fs_xfa.h:917
XFA widget element: Submit format.
Definition: fs_xfa.h:1808
XFA widget element: Number symbols.
Definition: fs_xfa.h:2100
Sample message: "Argument mismatch in property or function argument".
Definition: fs_xfa.h:302
Sample message: "Unsupported character '%c'".
Definition: fs_xfa.h:220
Align the text so that it is centered between the top and bottom of the available region.
Definition: fs_xfa.h:2509
String ID for case: Use string in local language for "September".
Definition: fs_xfa.h:348
Widget attribute type: Access.
Definition: fs_xfa.h:2200
addon::xfa::WidgetChoiceOptionArray GetOptions() const
Get options of a choice list or an Exclusion Group (for radio button only).
bool OnMouseMove(const PointF &point, uint32 flags)
Call this function when mouse moves.
Widget attribute type: X. X coordinate of the container's anchor point relative to the top-left corne...
Definition: fs_xfa.h:2174
Header file for image and bitmap related definitions and classes.
PrintOption
Enumeration for XFA print options.
Definition: fs_xfa.h:591
This kind of event is triggered just before the rendering for printing begins.
Definition: fs_xfa.h:926
bool SelectAll()
Select all the text of related XFA widget.
bool CanSelectAll()
Check if the text of related XFA widget can be selected all.
XFA widget element: Validate.
Definition: fs_xfa.h:1848
virtual WString GetTitle(const XFADoc &doc)=0
A callback function used to get title of current XFA document.
Widget attribute type: Rotate.
Definition: fs_xfa.h:2204
XFA widget element: Signature properties.
Definition: fs_xfa.h:2026
XFA widget element: Ui.
Definition: fs_xfa.h:1534
XFA widget element: Record.
Definition: fs_xfa.h:1796
XFA widget element: Pick tray by PDF size.
Definition: fs_xfa.h:2140
XFA widget element: Host pseudo model.
Definition: fs_xfa.h:1792
virtual void Release()=0
A callback function used to release current callback object itself.
XFA widget element: Effective output policy.
Definition: fs_xfa.h:1986
Message box icon: Status.
Definition: fs_xfa.h:397
Invalidate all pages.
Definition: fs_xfa.h:581
String ID for case: Use string in local language for "Monday".
Definition: fs_xfa.h:320
XFAWidget(const XFAWidget &other)
Constructor, with another XFA widget object.
WidgetElement
Enumeration for the positon of XFA widget element.
Definition: fs_xfa.h:1528
bool CanCopy()
Check if the text of related XFA widget can be copied.
The submit data is packaged in XFD format, as described in XFDF.
Definition: fs_xfa.h:619
XFA widget element: Conformance.
Definition: fs_xfa.h:2124
XFA widget element: Currency symbol.
Definition: fs_xfa.h:1936
Align the text to the right edge of the available region.
Definition: fs_xfa.h:2495
WString GetName(WidgetNameType type)
Get Widget name.
Sample message: "The value you entered for %s is invalid.".
Definition: fs_xfa.h:366
Widget attribute type: Unknown.
Definition: fs_xfa.h:2276
XFA widget element: Xsl.
Definition: fs_xfa.h:1596
XFA widget element: Corner.
Definition: fs_xfa.h:1834
XFA widget element: Rename.
Definition: fs_xfa.h:1650
XFA widget element: Packets.
Definition: fs_xfa.h:1970
WString Copy()
Copy the text of related XFA widget.
XFA widget element: Solid.
Definition: fs_xfa.h:1732
XFA widget element: XDP content.
Definition: fs_xfa.h:1962
void ResetForm()
Reset form.
Sample message: "'%s' is not an array".
Definition: fs_xfa.h:282
XFA widget type: password edit.
Definition: fs_xfa.h:2430
bool OnLButtonDoubleClick(const PointF &point, uint32 flags)
Call this function when left mouse button is double-clicked .
Widget attribute type: Fill color.
Definition: fs_xfa.h:2272
XFA widget element: Print.
Definition: fs_xfa.h:2072
Text encoding: UTF-16.
Definition: fs_xfa.h:651
XFA widget element: Subset below.
Definition: fs_xfa.h:1538
XFA widget element: Execute.
Definition: fs_xfa.h:1756
XFA widget element: Encryption level.
Definition: fs_xfa.h:1736
No text encoding.
Definition: fs_xfa.h:631
StringID
Enumeration for string ID used to specify a case.
Definition: fs_xfa.h:164
WidgetMenu(const XFAWidget &xfa_widget)
Constructor, from XFA widget object.
Sample message: "Unknown error is caught!".
Definition: fs_xfa.h:181
The submit data is packaged in PDF format as described in the PDF Reference.
Definition: fs_xfa.h:615
bool IsSupportMultiline()
Check whether the widget supports multiple lines.
bool OnRButtonDown(const PointF &point, uint32 flags)
Call this function when right mouse is down.
Sample message: "Expected 'endif' instead of '%s'".
Definition: fs_xfa.h:246
XFA widget element: Event.
Definition: fs_xfa.h:1630
XFA widget element: Deltas.
Definition: fs_xfa.h:1940
XFA widget element: Pdf.
Definition: fs_xfa.h:1584
String ID for case: Application's name. Sample message: "Foxit Phantom".
Definition: fs_xfa.h:174
Presence property: Hidden. Participate in interaction but not layout or rendering.
Definition: fs_xfa.h:2457
XFA widget element: Render policy.
Definition: fs_xfa.h:2050
XFA widget element: Draw.
Definition: fs_xfa.h:2006
XFA widget element: Output bin.
Definition: fs_xfa.h:1714
XFA widget element: Uri.
Definition: fs_xfa.h:1588
virtual void SetCurrentPage(const XFADoc &doc, int current_page_index)=0
A callback function used to set index of current page.
XFAWidget GetNextWidget(const XFAWidget &widget)
Get the next XFA widget of a specified XFA widget in current tab order.
XFA widget element: Day.
Definition: fs_xfa.h:1566
Message box button ID: No.
Definition: fs_xfa.h:427
TextEncoding
Enumeration for text encoding for XFA submit.
Definition: fs_xfa.h:629
bool Bold()
(Only useful for rich text) Make the rich text bold.
XFA widget element: Date time symbols.
Definition: fs_xfa.h:1734
Widget attribute type: Number of cells.
Definition: fs_xfa.h:2224
String ID for case: Not allow to modify field. Sample message: "You are not allowed to modify this fi...
Definition: fs_xfa.h:172
XFA widget element: Meridiem.
Definition: fs_xfa.h:1746
Definition: fs_xfa.h:3011
XFA widget element: Web client.
Definition: fs_xfa.h:1828
XFA widget element: Field.
Definition: fs_xfa.h:1716
XFA widget element: Open action.
Definition: fs_xfa.h:2064
Definition: fs_xfa.h:910
String ID for case: Use string in local language for "Wednesday".
Definition: fs_xfa.h:324
XFA widget element: Encoding.
Definition: fs_xfa.h:1628
bool operator !=(const XFADoc &other) const
Not equal operator.
uint32 ARGB
ARGB color type, 32 bits, ((b) | ((g) << 8) | ((r) << 16)) | ((a) << 24)
Definition: fs_basictypes.h:209
Sample message: "'%s' operator cannot support array calculation".
Definition: fs_xfa.h:286
Beep type: error.
Definition: fs_xfa.h:148
XFA widget element: Template.
Definition: fs_xfa.h:1882
XFA widget element: Adjust data.
Definition: fs_xfa.h:1722
XFA widget element: Traverse.
Definition: fs_xfa.h:1878
String ID for case: Use string in local language for "Friday".
Definition: fs_xfa.h:328
XFA widget element: Tool tip.
Definition: fs_xfa.h:1750
This kind of event is triggered after successfully applying a signature.
Definition: fs_xfa.h:987
XFA widget element: Creator.
Definition: fs_xfa.h:2080
XFA widget element: bind.
Definition: fs_xfa.h:1978
XFA widget element: Sharpxml.
Definition: fs_xfa.h:1874
XFA widget element: Dynamic render.
Definition: fs_xfa.h:1552
XFA widget element: Output.
Definition: fs_xfa.h:1814
This kind of event is triggered when user moves the mouse pointer out of the field,...
Definition: fs_xfa.h:971
Sample message: "Invalid node type: '%s'".
Definition: fs_xfa.h:312
XFA widget element: Msg Id.
Definition: fs_xfa.h:1836
Sample message: "Error:Invalid enumerated value:%s".
Definition: fs_xfa.h:372
XFA widget element: Presence.
Definition: fs_xfa.h:1794
bool IsSupportMultiSelect()
Check whether the widget supports multiple selections.
This kind of event is triggered after an XFA DOM has finished loading.
Definition: fs_xfa.h:1010
XFA widget element: Template cache.
Definition: fs_xfa.h:1952
Sample message: "Expected operator '%s' instead of '%s'".
Definition: fs_xfa.h:256
XFA widget element: Radial.
Definition: fs_xfa.h:2114
XFA widget element: Behavior override.
Definition: fs_xfa.h:1770
Application information: name.
Definition: fs_xfa.h:136
XFA widget element: Linear.
Definition: fs_xfa.h:1934
virtual WString LoadString(StringID string_id)=0
A callback function used to load a string in local language for a specified case.
Widget attribute type: Locale.
Definition: fs_xfa.h:2250
File stream interface, reading & writing.
Definition: fx_stream.h:692
XFA widget element: Form.
Definition: fs_xfa.h:2036
virtual bool PutRequestURL(const wchar_t *url, const wchar_t *data, const wchar_t *encode)=0
A callback function used to put data to the given URL.
Widget attribute type: Overline period.
Definition: fs_xfa.h:2210
XFA widget element: Record set.
Definition: fs_xfa.h:1536
Sample message: "%s cannot be left blank. To ignore validations for %s, click Ignore....
Definition: fs_xfa.h:360
XFA widget element: Output XSL.
Definition: fs_xfa.h:1720
Sample message: "Validate access index '%s' out of array".
Definition: fs_xfa.h:276
WidgetChoiceOption(const WidgetChoiceOption &option)
Constructor, with another choice option object.
Definition: fs_xfa.h:73
Widget attribute type: Text encoding.
Definition: fs_xfa.h:2262
XFAWidgetModifyInfo(XFADoc::EventType event_type, int page_index, WidgetElement element, WidgetAttributeType attribute_type, WString old_value, WString new_value, WString widget_name)
Constructor, with parameters.
Definition: fs_xfa.h:2336
XFA widget element: Bookend.
Definition: fs_xfa.h:2058
If set, print page as image; otherwise, as text.
Definition: fs_xfa.h:599
Beep type: default.
Definition: fs_xfa.h:156
XFA widget element: Encrypt data.
Definition: fs_xfa.h:2148
Widget attribute type: Min W.
Definition: fs_xfa.h:2238
XFA widget element: Compress.
Definition: fs_xfa.h:1752
int GetIndex() const
Get index of the XFA page.
Widget attribute type: Right inset.
Definition: fs_xfa.h:2242
bool OnMouseEnter()
Call this function when mouse enters current XFA widget.
void FlattenTo(const char *output_file_path)
Flatten current XFA document to a file.
XFA widget element: Comb.
Definition: fs_xfa.h:1706
XFA widget element: Font info.
Definition: fs_xfa.h:1548
XFA widget element: Sign data.
Definition: fs_xfa.h:1968
If set, shrink page to fit within content area.
Definition: fs_xfa.h:597
void ResetData()
Reset XFA Widget Data.
Widget attribute type: Line through.
Definition: fs_xfa.h:2182
Text encoding: GBK.
Definition: fs_xfa.h:637
XFA widget element: Pagination.
Definition: fs_xfa.h:1626
XFA widget element: Pattern.
Definition: fs_xfa.h:1708
XFA widget element: Locale set.
Definition: fs_xfa.h:1788
XFA widget element: Producer.
Definition: fs_xfa.h:1832
XFA widget element: Para.
Definition: fs_xfa.h:1616
Application information: version.
Definition: fs_xfa.h:128
Widget attribute type: Text intent.
Definition: fs_xfa.h:2190
Widget attribute type: Type face.
Definition: fs_xfa.h:2186
XFA widget element: traversal.
Definition: fs_xfa.h:1824
String GetXMLContent()
Get the xml content of current XFA widget.
XFA widget element: Currency symbols.
Definition: fs_xfa.h:1646
bool Undo()
Undo the operation of related XFA widget. (No effect for rich text)
Definition: fx_basic.h:3758
XFA widget element: Time pattern.
Definition: fs_xfa.h:1640
Sample message: "Invalidate character '%c'".
Definition: fs_xfa.h:228
Type of exported data: XDP.
Definition: fs_xfa.h:1048
Edge position: right.
Definition: fs_xfa.h:2521
XFA widget element: Range.
Definition: fs_xfa.h:2090
XFA widget element: If empty.
Definition: fs_xfa.h:1710
virtual ARGB GetHighlightColor(const XFADoc &doc)=0
A callback function get the highlight color.
WidgetHAlignType GetHAlign()
Get text horizontal alignment.
XFA widget element: Ref.
Definition: fs_xfa.h:1586
Sample message: "Function 's' is built-in.
Definition: fs_xfa.h:294
WString GetValue()
Get the value string.
XFA widget element: Mdp.
Definition: fs_xfa.h:1576
This kind of event is not a real event activity, just sign script in variables.
Definition: fs_xfa.h:1016
String ID for case: Use string in local language for "Saturday".
Definition: fs_xfa.h:330
virtual bool SubmitData(const XFADoc &doc, const WString &target, SubmitFormat format, TextEncoding text_encoding, const WString &content)=0
A callback function to submit data.
XFA widget element: Packet.
Definition: fs_xfa.h:2094
Center the text horizontally within the available region.
Definition: fs_xfa.h:2485
Widget attribute type: Shape.
Definition: fs_xfa.h:2246
XFA widget element: Overprint.
Definition: fs_xfa.h:1690
XFA widget element: Base.
Definition: fs_xfa.h:1976
bool OnKeyUp(uint32 key_code, uint32 flags)
Call this function when key on the keyboard is up.
Sample message: "Cannot modify the '%s' value".
Definition: fs_xfa.h:242
Sample message: "%s.%s cannot covert to object".
Definition: fs_xfa.h:260
XFA widget element: Command.
Definition: fs_xfa.h:1802
String ID for case: Use string in local language for "Sunday".
Definition: fs_xfa.h:318
XFA widget element: Wsdl connection.
Definition: fs_xfa.h:1662
XFA widget element: Line.
Definition: fs_xfa.h:2132
This kind of event is triggered when keyboard focus is yielded from a field directly or indirectly wi...
Definition: fs_xfa.h:945
XFA widget element: Margin.
Definition: fs_xfa.h:1602
Beep type: question.
Definition: fs_xfa.h:152
Definition: fs_common.h:373
String ID for case: Server denies. Sample message: "Server does not permit".
Definition: fs_xfa.h:316
foxit::pdf::Signature GetSignature()
Get the signature object from current XFA widget.
XFA document type: Dynamic.
Definition: fs_xfa.h:1030
String ID for case: Use string in local language for "May".
Definition: fs_xfa.h:340
Sample message: "Illegal break".
Definition: fs_xfa.h:252
XFA widget element: Oids.
Definition: fs_xfa.h:1910
XFA widget element: Printer name.
Definition: fs_xfa.h:1698
Type of exported data: XML.
Definition: fs_xfa.h:1044
virtual void Print(const XFADoc &doc, int start_page_index, int end_page_index, uint32 options)=0
A callback function used to print.
XFA widget type: push button.
Definition: fs_xfa.h:2412
XFA widget element: XML data.
Definition: fs_xfa.h:2062
Message box button: OK and Cancel.
Definition: fs_xfa.h:409
XFA widget element: Driver.
Definition: fs_xfa.h:2104
This kind of event is triggered just before the form data is written out in PDF or XDP format.
Definition: fs_xfa.h:1001
Message box button: Yes and No.
Definition: fs_xfa.h:411
virtual void PageViewEvent(int page_index, PageViewEventType page_view_event_type)=0
A callback function to execute page view event.
Sample message: "Unsupported property %s.".
Definition: fs_xfa.h:191
Presence property: Unknown.
Definition: fs_xfa.h:2453
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:195
XFA widget element: Signing.
Definition: fs_xfa.h:1888
XFAWidget GetWidgetByFullName(const WString &full_name)
Get the XFA widget which matches the specified full name.
This kind of event is triggered after data binding is complete.
Definition: fs_xfa.h:957
Type
Enumeration for XFA document type.
Definition: fs_xfa.h:1028
XFA widget element: Text.
Definition: fs_xfa.h:1684
Widget attribute type: Space below.
Definition: fs_xfa.h:2222
Sample message: "Invalidate instruction".
Definition: fs_xfa.h:272
XFA widget element: compression.
Definition: fs_xfa.h:1980
XFA widget element: Subform set.
Definition: fs_xfa.h:1540
Sample message: "The element [%s] has violated its allowable number of occurrences".
Definition: fs_xfa.h:214
bool CanDeSelect()
Check if the selection of the text in related XFA widget can be canceled.
Widget attribute type: Overline.
Definition: fs_xfa.h:2256
XFA widget element: Trace.
Definition: fs_xfa.h:2046
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:213
bool CanPaste()
Check if the text of related XFA widget can be pasted.
Sample message: "Invalid enumerated value: %s".
Definition: fs_xfa.h:304
XFA widget element: Hyphenation.
Definition: fs_xfa.h:1682
XFA widget element: Duplex option.
Definition: fs_xfa.h:1974
bool Paste(const wchar_t *text)
Paste the text to related XFA widget.
XFA widget element: Interactive.
Definition: fs_xfa.h:1992
XFA widget type: check button.
Definition: fs_xfa.h:2414
Header file for common definitions and classes.
This kind of event is related to pre-open event for drop-down choice lists.
Definition: fs_xfa.h:983
XFA widget element: Attributes.
Definition: fs_xfa.h:1742
Align the text to the top of the available region.
Definition: fs_xfa.h:2505
MsgBoxButtonType
Enumeration for button type of XFA message box.
Definition: fs_xfa.h:405
XFA widget element: Xml connection .
Definition: fs_xfa.h:1964
XFA widget element: Page range.
Definition: fs_xfa.h:1864
Presence property: Invisible. Participate in interaction and layout but not rendering.
Definition: fs_xfa.h:2461
XFA widget element: Pdfa.
Definition: fs_xfa.h:1620
XFA widget element: Add viewer preferences.
Definition: fs_xfa.h:1894
WidgetType GetType()
Get type of XFA widget.
virtual void SetChangeMark(const XFADoc &doc)=0
A callback function used to set change mark flag to current XFA document.
String ID for case: Use string in local language for "January".
Definition: fs_xfa.h:332
bool operator !=(const XFAWidget &other) const
Not equal operator.
Sample message: "Expected identifier instead of '%s'".
Definition: fs_xfa.h:224
Widget attribute type: Bottom inset.
Definition: fs_xfa.h:2194
Sample message: "Cannot find const '%s'".
Definition: fs_xfa.h:268
XFA widget element: Accessible content.
Definition: fs_xfa.h:1958
This kind of event is triggered just after the form has been written out in PDF or XDP format.
Definition: fs_xfa.h:985
XFA widget element: Subform.
Definition: fs_xfa.h:1782
Widget attribute type: Margin left digits.
Definition: fs_xfa.h:2214
This kind of event is triggered when the user changes the field value.
Definition: fs_xfa.h:930
XFA widget element: Number pattern.
Definition: fs_xfa.h:1550
Type of exported data: Static XDP.
Definition: fs_xfa.h:1046
BeepType
Enumeration for XFA beep type.
Definition: fs_xfa.h:146
WString GetDefaultValue()
Get the default value string.
XFA widget element: Barcode.
Definition: fs_xfa.h:1638
Widget attribute type: Placement.
Definition: fs_xfa.h:2268
XFA widget element: Password.
Definition: fs_xfa.h:2042
XFA document type: Static.
Definition: fs_xfa.h:1032
XFA widget element: Data value.
Definition: fs_xfa.h:1956
If set, show printing dialog box.
Definition: fs_xfa.h:593
Sample message: "Invalid Barcode Value: %s is an invalid value for barcodes of type %s....
Definition: fs_xfa.h:379
XFA widget element: Medium.
Definition: fs_xfa.h:1948
XFA widget element: Message.
Definition: fs_xfa.h:1812
bool operator !=(const XFAPage &other) const
Not equal operator.
Sample message: "Invalid append operation: %s cannot have a child element of %s".
Definition: fs_xfa.h:306
XFA widget element: Form field filling.
Definition: fs_xfa.h:1862
Sample message: "Unable to set the value for property 'className'".
Definition: fs_xfa.h:216
XFA widget element: Insert.
Definition: fs_xfa.h:1844
Hit test area: Client.
Definition: fs_xfa.h:2396
XFADoc & operator=(const XFADoc &other)
Assign operator.
Application information: type.
Definition: fs_xfa.h:138
XFAPage GetPage(int page_index)
Get XFA page by index.
virtual MsgBoxButtonID MsgBox(const wchar_t *message, const wchar_t *title, MsgBoxIconType icon_type, MsgBoxButtonType button_type)=0
A callback function used to set message box.
Text encoding: font specific.
Definition: fs_xfa.h:635
XFA widget element: Incremental load.
Definition: fs_xfa.h:2106
XFA widget element: Equate range.
Definition: fs_xfa.h:1946
Text encoding: Big5.
Definition: fs_xfa.h:633
String ID for case: Use string in local language for "August".
Definition: fs_xfa.h:346
If set, print annotations.
Definition: fs_xfa.h:603
XFA widget element: Encodings.
Definition: fs_xfa.h:1880
XFAWidget GetWidget(int widget_index) const
Get XFA widget by index.
XFA widget element: Page offset.
Definition: fs_xfa.h:1702
virtual bool GetPopupPos(int page_index, float min_popup, float max_popup, const RectF &rect_widget, RectF &inout_rect_popup)=0
A callback function used to get the pop-up position.
XFA widget element: Connect string.
Definition: fs_xfa.h:1868
Definition: fs_basictypes.h:451
XFA widget element: Ex data.
Definition: fs_xfa.h:1922
int GetWidgetCount() const
Get the count of XFA widget.
XFA widget element: Data.
Definition: fs_xfa.h:1998
XFA widget element: Data window.
Definition: fs_xfa.h:1890
Sample message: "Expected '%s' instead of '%s'".
Definition: fs_xfa.h:226
XFA widget element: Query.
Definition: fs_xfa.h:1842
XFA widget element: Speak.
Definition: fs_xfa.h:2014
XFA widget element: Type face.
Definition: fs_xfa.h:1544
Sample message: "Unable to set the value for property 'version'".
Definition: fs_xfa.h:210
virtual void WidgetEvent(const XFAWidget &xfa_widget, WidgetEventType widget_event_type)=0
A callback function to execute XFA widget event.
bool selected
Used to indicate whether the option is selected or not.
Definition: fs_xfa.h:108
XFA widget element: user.
Definition: fs_xfa.h:1982
XFA widget element: Proto.
Definition: fs_xfa.h:2076
XFA widget element: Arc.
Definition: fs_xfa.h:1564
XFA widget element: Set property.
Definition: fs_xfa.h:1696
bool OnRButtonUp(const PointF &point, uint32 flags)
Call this function when right button is up.
bool DeSelect()
Cancel the selection of the text in related XFA widget.
bool operator==(const XFAPage &other) const
Equal operator.
XFA widget type: Exclusion Group for radio button only.
Definition: fs_xfa.h:2440
Sample message: "Compiler error".
Definition: fs_xfa.h:240
XFA widget element: Suppress banner.
Definition: fs_xfa.h:1712
Sample message: "Value!".
Definition: fs_xfa.h:185
XFA widget element: DateTime.
Definition: fs_xfa.h:1704
XFA widget element: Xdc.
Definition: fs_xfa.h:1590
XFA widget element: Part.
Definition: fs_xfa.h:1618
Sample message: "Invalidate expression '%s'".
Definition: fs_xfa.h:234
Message box button: OK.
Definition: fs_xfa.h:407
bool ValidateValue(const wchar_t *value, WString &format)
Validate whether the value conforms to the format of current XFA widget.
Sample message: "Cannot find method '%s'".
Definition: fs_xfa.h:266
XFA widget element: Delete.
Definition: fs_xfa.h:1938
XFA widget element: Change.
Definition: fs_xfa.h:1904
String ID for case: Use string in local language for "April".
Definition: fs_xfa.h:338
XFA widget element: DNs.
Definition: fs_xfa.h:1656
XFA widget element: Calendar symbols.
Definition: fs_xfa.h:1614
XFA widget element: Adobe extension level.
Definition: fs_xfa.h:1542
XFA widget element: Name attr.
Definition: fs_xfa.h:2122
virtual WStringArray ShowFileDialog(const wchar_t *string_title, const wchar_t *string_filter, bool is_openfile_dialog)=0
A callback function used to show file dialog.
Widget attribute type: Max H.
Definition: fs_xfa.h:2232
Invalidate current page.
Definition: fs_xfa.h:583
XFA widget element: Picture.
Definition: fs_xfa.h:1822
Left-align the last line and spread-justify the rest.
Definition: fs_xfa.h:2487
XFA widget element: Wsdl address.
Definition: fs_xfa.h:1730
Sample message: "Calculate Override".
Definition: fs_xfa.h:168
HitTestArea
Enumeration for hit test area of XFA widget.
Definition: fs_xfa.h:2392
Sample message: "Divide by zero".
Definition: fs_xfa.h:258
Sample message: "Message limit exceeded. Remaining %d validation errors not reported....
Definition: fs_xfa.h:358
String ID for case: Use string in local language for "March".
Definition: fs_xfa.h:336
XFA widget element: Password edit .
Definition: fs_xfa.h:1898
XFA widget element: Equate.
Definition: fs_xfa.h:1860
WidgetChoiceOption & operator=(const WidgetChoiceOption &option)
Assign operator.
Definition: fs_xfa.h:84
Widget attribute type: Value.
Definition: fs_xfa.h:2260
XFA widget element: Debug.
Definition: fs_xfa.h:1664
XFADoc(const pdf::PDFDoc &document, DocProviderCallback *xfa_doc_provider_handler)
Constructor.
XFA widget element: Tagged.
Definition: fs_xfa.h:2154
String ID for case: Some setting operation to property is invalid. Sample message: "Invalid property ...
Definition: fs_xfa.h:196
Widget attribute type: Stroke.
Definition: fs_xfa.h:2216
WidgetEdgePosition
Enumeration for the positon of XFA widget edge position.
Definition: fs_xfa.h:2517
XFA widget element: Meridiem Names.
Definition: fs_xfa.h:2010
Text encoding: UCS-2.
Definition: fs_xfa.h:649
This kind of event is triggered when the field gains keyboard focus, whether caused by a user action ...
Definition: fs_xfa.h:940
String ID for case: Use string in local language for "June".
Definition: fs_xfa.h:342
Rotation
Enumeration for rotation.
Definition: fs_common.h:57
If set, that means printing process can be canceled.
Definition: fs_xfa.h:595
XFA widget element: Overflow.
Definition: fs_xfa.h:1932
Widget attribute type: Presence.
Definition: fs_xfa.h:2218
Widget attribute type: Horizontal text alignment control.
Definition: fs_xfa.h:2184
Foxit namespace.
Definition: fs_taggedpdf.h:27
Text encoding: KSC5601.
Definition: fs_xfa.h:645
XFA widget element: Choice list.
Definition: fs_xfa.h:1608
XFA widget element: Assist.
Definition: fs_xfa.h:1820
XFA widget element: Update.
Definition: fs_xfa.h:1866
Sample message: "Invalidate left-value '%s'".
Definition: fs_xfa.h:238
virtual common::file::ReaderCallback * DownLoadUrl(const wchar_t *url)=0
A callback function used to download from specified URL.
virtual void GotoURL(const XFADoc &doc, const WString &url)=0
A callback function used to go to a specified URL.
String ID for case: Filter for image files. Sample message: "Image Files(*.bmp;*.jpg;*....
Definition: fs_xfa.h:179
RectF GetRect()
Get rectangle of XFA widget.
virtual WString GetAppInfo(AppInfo app_info)=0
A callback function used to get application information for a specified information type.
XFA widget element: Linearized.
Definition: fs_xfa.h:2092
XFA widget element: Sharptext.
Definition: fs_xfa.h:2020
WString Cut()
Cut the text of related XFA widget.
XFAWidgetModifyInfo()
Constructor.
Definition: fs_xfa.h:2281
XFA widget element: Pagination override.
Definition: fs_xfa.h:2022
XFA widget element: Enforce.
Definition: fs_xfa.h:1644
Event type: all page views are removed.
Definition: fs_xfa.h:667
XFA widget element: Calculate.
Definition: fs_xfa.h:2070
Widget attribute type: Allow rich text.
Definition: fs_xfa.h:2196
XFA widget element: Keep.
Definition: fs_xfa.h:1840
BYTE STRING CLASS.
Definition: fx_string.h:317
virtual WString PostRequestURL(const wchar_t *url, const wchar_t *data, const wchar_t *content_type, const wchar_t *encode, const wchar_t *header)=0
A callback function used to post data to the given URL.
Event type: Unknown.
Definition: fs_xfa.h:919
Widget attribute type: Y. Y coordinate of the container's anchor point relative to the top-left corne...
Definition: fs_xfa.h:2180
Application information: language.
Definition: fs_xfa.h:130
bool Superscript()
(Only useful for rich text) Make the rich text as superscript.
bool CanUndo()
Check if the operation of related XFA widget can be undone.
XFA widget element: Appearance filter.
Definition: fs_xfa.h:2030
MsgBoxButtonID
Enumeration for button ID of XFA message box.
Definition: fs_xfa.h:421
XFA widget element: Transform.
Definition: fs_xfa.h:2126
Application information: platform.
Definition: fs_xfa.h:132
Application information: variation.
Definition: fs_xfa.h:134
XFA widget element: Script.
Definition: fs_xfa.h:1892
Sample message: "'%s' function's %d argument cannot be array".
Definition: fs_xfa.h:288
XFA widget element: Fill.
Definition: fs_xfa.h:2032
XFA widget element: Color.
Definition: fs_xfa.h:1838
XFA widget element: Destination.
Definition: fs_xfa.h:2054
ExportDataType
Enumeration for the type of exported data.
Definition: fs_xfa.h:1042
XFA widget element: Log.
Definition: fs_xfa.h:1572
XFA widget element: Break before.
Definition: fs_xfa.h:1578
XFA widget element: Signature pseudo model.
Definition: fs_xfa.h:1660
XFA widget element: Exclude.
Definition: fs_xfa.h:1606
XFA widget element: Time patterns.
Definition: fs_xfa.h:2118
XFA widget element: Node list.
Definition: fs_xfa.h:1960
XFA widget element: Handler.
Definition: fs_xfa.h:1790
XFA widget element: Soap address.
Definition: fs_xfa.h:1858
Widget attribute type: Vertical text alignment control.
Definition: fs_xfa.h:2230
XFA widget element: Desc.
Definition: fs_xfa.h:2002
XFA widget element: Cache.
Definition: fs_xfa.h:1600
String ID for case: Use string in local language for "February".
Definition: fs_xfa.h:334
Align the text to the bottom of the available region.
Definition: fs_xfa.h:2507
XFA widget element: Items.
Definition: fs_xfa.h:2156
Edge position: left.
Definition: fs_xfa.h:2525
XFA widget element: Acrobat7.
Definition: fs_xfa.h:1990
bool IsListBox()
Check whether the widget is listbox or not.
Spread-justify all lines to fill the available region.
Definition: fs_xfa.h:2489
Sample message: "%s cannot be left blank.".
Definition: fs_xfa.h:362
Sample message: "Expected number instead of '%s'".
Definition: fs_xfa.h:274
XFA widget element: Map.
Definition: fs_xfa.h:1574
XFA widget element: ADBE JS Debugger.
Definition: fs_xfa.h:1988
Widget attribute type: Max W.
Definition: fs_xfa.h:2234
This kind of event is triggered when a request is sent to a web service via WSDL, just after the data...
Definition: fs_xfa.h:994
XFA widget element: Signature.
Definition: fs_xfa.h:1912
Widget attribute type: Frac digits.
Definition: fs_xfa.h:2212
Sample message: "Undefined identifier '%s'".
Definition: fs_xfa.h:236
XFA widget element: Plain text metadata.
Definition: fs_xfa.h:2098
Sample message: "%s : %s".
Definition: fs_xfa.h:296
This kind of event is triggered when the user has entered the maximum allowed amount of content into ...
Definition: fs_xfa.h:950
XFA widget element: Default Ui.
Definition: fs_xfa.h:1634
#define NULL
The null-pointer value.
Definition: fx_system.h:792
Definition: fs_signature.h:99
XFA widget element: Flip label.
Definition: fs_xfa.h:1920
XFA widget element: Instance manager.
Definition: fs_xfa.h:1944
XFA widget element: Common.
Definition: fs_xfa.h:2018
Hit test area: HyperLink.
Definition: fs_xfa.h:2400
XFA widget element: DN.
Definition: fs_xfa.h:2108
XFA widget element: Boolean.
Definition: fs_xfa.h:1810
XFA widget element: Numeric edit.
Definition: fs_xfa.h:1900
This kind of event is triggered when the user moves the mouse pointer into the region of the field,...
Definition: fs_xfa.h:966
XFA widget element: Ps.
Definition: fs_xfa.h:1530
bool ClearStyle()
(Only useful for rich text) Clear the style of the rich text.
Definition: fx_coordinates.h:1076
bool operator==(const XFADoc &other) const
Equal operator.
Event type: before an XFA widget is removed.
Definition: fs_xfa.h:679
XFA widget element: Image edit.
Definition: fs_xfa.h:1846
XFA widget type: radio button.
Definition: fs_xfa.h:2432
Widget attribute type: Layout.
Definition: fs_xfa.h:2240
Sample message: "At least one required field was empty. Please fill in the required fields(highlighte...
Definition: fs_xfa.h:377
WidgetChoiceOption(const wchar_t *option_label, bool selected)
Constructor, with parameters.
Definition: fs_xfa.h:64
XFA widget element: Add silent print.
Definition: fs_xfa.h:1648
Sample message: "Cannot find container '%s'".
Definition: fs_xfa.h:262
XFA widget element: Validation messaging.
Definition: fs_xfa.h:1886
XFA widget element: Copies.
Definition: fs_xfa.h:1804
XFA widget element: Threshold.
Definition: fs_xfa.h:2028
bool CanRedo()
Check if the operation of related XFA widget can be redone.
void KillFocus()
Kill the focus of XFA widget.
Widget attribute type: Min H.
Definition: fs_xfa.h:2236
XFA widget element: Check button.
Definition: fs_xfa.h:1556
This kind of event represents a validate operation.
Definition: fs_xfa.h:1020
XFA widget element: Amd.
Definition: fs_xfa.h:1562
Sample message: "Cannot directly assign the value to object".
Definition: fs_xfa.h:270
XFA widget element: Sharpx HTML.
Definition: fs_xfa.h:1766
This kind of event is triggered at the very end of processing if and only if all validations succeede...
Definition: fs_xfa.h:932
XFA widget element: Default typeface.
Definition: fs_xfa.h:1928
Widget attribute type: Border color.
Definition: fs_xfa.h:2270
XFA widget element: Time stamp.
Definition: fs_xfa.h:1772
Text encoding: ShiftJIS.
Definition: fs_xfa.h:647
bool IsEmpty() const
Check whether current object is empty or not.
Sample message: "Cannot assign to '%s'".
Definition: fs_xfa.h:278
Sample message: "Function '%s' does not have %d parameters".
Definition: fs_xfa.h:244
XFA widget element: Effective input policy.
Definition: fs_xfa.h:2120
Sample message: "'%s' doesn't have property '%s'".
Definition: fs_xfa.h:310
Message box icon: Warning.
Definition: fs_xfa.h:393
Beep type: status.
Definition: fs_xfa.h:154
Name type: caption name. Name in this type will be retrieved from caption entry.
Definition: fs_xfa.h:2473
XFA widget element: Button.
Definition: fs_xfa.h:1674
Text encoding: ISO8859NN.
Definition: fs_xfa.h:643
XFA widget element: Era.
Definition: fs_xfa.h:1568
void ProcessEvent(EventType event_type)
Process a kind of event for all the XFA widgets in current XFA document.
This kind of event applies only to drop-down choice lists for which open="userControl" or open="onEnt...
Definition: fs_xfa.h:999
XFA widget element: Format.
Definition: fs_xfa.h:1676
void SetDefaultValue(const wchar_t *value)
Set the default value string.
void SetFocus(XFAWidget xfa_widget)
Set the focus of XFA widget.
bool IsChecked() const
Check if current XFA widget is checked.
Sample message: "Illegal value:cannot assign '%s' to %s.".
Definition: fs_xfa.h:368
bool operator==(const WidgetMenu &other) const
Equal operator.
XFA widget element: Caption.
Definition: fs_xfa.h:1916
XFA widget element: Encrypt.
Definition: fs_xfa.h:2004
XFA widget element: Viewer preferences.
Definition: fs_xfa.h:1776
XFA widget element: Group parent.
Definition: fs_xfa.h:2146
Widget attribute type: Font color.
Definition: fs_xfa.h:2274
Sample message: "Unable to set".
Definition: fs_xfa.h:183
Definition: fs_image.h:459
virtual void Release()=0
A callback function used to release current callback object itself.
String ID for case: Use string in local language for "Today".
Definition: fs_xfa.h:356
XFA widget element: Version control.
Definition: fs_xfa.h:1744
XFA widget element: Content copy.
Definition: fs_xfa.h:1758
XFA widget element: Level.
Definition: fs_xfa.h:1610
Sample message: "Unexpected expression '%s'".
Definition: fs_xfa.h:248
Sample message: "Incorrect number of parameters are used when calling method '%s'".
Definition: fs_xfa.h:300
float GetWidth() const
Get the width.
Widget attribute type: Underline.
Definition: fs_xfa.h:2206
bool IsEmpty() const
Check whether current object is empty or not.
Widget attribute type: Weight.
Definition: fs_xfa.h:2252
The submit data is packaged in XDP format, as described in XDP Specification.
Definition: fs_xfa.h:613
XFA widget element: Print scaling.
Definition: fs_xfa.h:1554
XFA widget type: image.
Definition: fs_xfa.h:2442
bool IsAllowRichText()
Check whether the widget allows rich text formatting.
XFAWidget GetLastWidget()
Get the last XFA widget in current tab order.
Widget attribute type: Multiline.
Definition: fs_xfa.h:2220
XFA widget element: Locale.
Definition: fs_xfa.h:1994
String ID for case: Some enumerate value is invalid. Sample message: "Invalid enumerate value:".
Definition: fs_xfa.h:187
XFA widget element: Certificate.
Definition: fs_xfa.h:2040
XFA widget element: Month.
Definition: fs_xfa.h:1774
XFA widget element: Version.
Definition: fs_xfa.h:1800
XFA widget element: Window.
Definition: fs_xfa.h:1786
XFA widget element: Extras.
Definition: fs_xfa.h:2074
Type GetType() const
Get the XFA document type.
Widget attribute type: Password char.
Definition: fs_xfa.h:2228
WidgetElement element
The XFA widget element. Please refer to values starting from XFAWidgetModifyInfo::e_WidgetElementPs a...
Definition: fs_xfa.h:2362
XFA widget element: Source set.
Definition: fs_xfa.h:1560
XFA widget element: Edge.
Definition: fs_xfa.h:1738
SubmitFormat
Enumeration for XFA submit format.
Definition: fs_xfa.h:611
virtual bool PopupMenu(int page_index, const PointF &rect_popup)=0
A callback function used to pop up the context menu.
Definition: fx_coordinates.h:771
XFAWidget GetFirstWidget()
Get the first XFA widget in current tab order.
Hit test area: Unknown.
Definition: fs_xfa.h:2394
Widget attribute type: Top inset.
Definition: fs_xfa.h:2198
XFA document type: XDP, as Raw XML data.
Definition: fs_xfa.h:1034
XFA widget type: choice list.
Definition: fs_xfa.h:2424
Event type: after a page view is added.
Definition: fs_xfa.h:663
This kind of event is triggered before the document is rendered but after data binding.
Definition: fs_xfa.h:934
XFA widget element: Excl group.
Definition: fs_xfa.h:1748
XFA widget element: Connection set.
Definition: fs_xfa.h:2086
Text encoding: UTF-8.
Definition: fs_xfa.h:653
XFA widget element: To.
Definition: fs_xfa.h:1532