|
enum | InvalidateFlag { e_InvalidateFlagAllPages = 0,
e_InvalidateFlagCurrentPage = 1
} |
| Enumeration for XFA invalidate flag. More...
|
|
enum | PageViewEventType { e_PageViewEventTypeAdded = 0,
e_PageViewEventTypeRemoved = 1,
e_PageViewEventTypeAllRemoved = 2
} |
| Enumeration for the event type of page view. More...
|
|
enum | PrintOption {
e_PrintOptionShowDialog = 0x00000001,
e_PrintOptionCanCancel = 0x00000002,
e_PrintOptionShrinkPage = 0x00000004,
e_PrintOptionAsImage = 0x00000008,
e_PrintOptionReverseOrder = 0x00000010,
e_PrintOptionPrintAnnot = 0x00000020
} |
| Enumeration for XFA print options. More...
|
|
enum | SubmitFormat {
e_SubmitInXDP = 0,
e_SubmitInPDF = 1,
e_SubmitInUrlEncoded = 2,
e_SubmitInXFD = 3,
e_SubmitInXML = 4
} |
| Enumeration for XFA submit format. More...
|
|
enum | TextEncoding {
e_TextEncodingNone = 0,
e_TextEncodingBig5 = 1,
e_TextEncodingFontSpecific = 2,
e_TextEncodingGBK = 3,
e_TextEncodingGB18030 = 4,
e_TextEncodingGB2312 = 5,
e_TextEncodingISO8859NN = 6,
e_TextEncodingKSC5601 = 7,
e_TextEncodingShiftJIS = 8,
e_TextEncodingUCS2 = 9,
e_TextEncodingUTF16 = 10,
e_TextEncodingUTF8 = 11
} |
| Enumeration for text encoding for XFA submit. More...
|
|
enum | WidgetEventType { e_WidgetEventTypeAdded = 0,
e_WidgetEventTypeBeforeRemoved = 1
} |
| Enumeration for the type of xfa widget event. More...
|
|
|
virtual void | DisplayCaret (int page_index, bool is_visible, const RectF &rect)=0 |
| A callback function used to display or hide caret. More...
|
|
virtual void | ExportData (const XFADoc &doc, const WString &file_path)=0 |
| A callback function used to export data to file. More...
|
|
virtual int | GetCurrentPage (const XFADoc &doc)=0 |
| A callback function used to get index of current page. More...
|
|
virtual ARGB | GetHighlightColor (const XFADoc &doc)=0 |
| A callback function get the highlight color. More...
|
|
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. More...
|
|
virtual WString | GetTitle (const XFADoc &doc)=0 |
| A callback function used to get title of current XFA document. More...
|
|
virtual void | GotoURL (const XFADoc &doc, const WString &url)=0 |
| A callback function used to go to a specified URL. More...
|
|
virtual void | ImportData (const XFADoc &doc, const WString &file_path)=0 |
| A callback function used to import data from file. More...
|
|
virtual void | InvalidateRect (int page_index, const RectF &rect, InvalidateFlag flag)=0 |
| A callback function used to invalidate rectangle according the flag. More...
|
|
virtual void | PageViewEvent (int page_index, PageViewEventType page_view_event_type)=0 |
| A callback function to execute page view event. More...
|
|
virtual bool | PopupMenu (int page_index, const PointF &rect_popup)=0 |
| A callback function used to pop up the context menu. More...
|
|
virtual void | Print (const XFADoc &doc, int start_page_index, int end_page_index, uint32 options)=0 |
| A callback function used to print. More...
|
|
virtual void | Release ()=0 |
| A callback function used to release current DocProviderCallback object itself. More...
|
|
virtual void | SetChangeMark (const XFADoc &doc)=0 |
| A callback function used to set change mark flag to current XFA document. More...
|
|
virtual void | SetCurrentPage (const XFADoc &doc, int current_page_index)=0 |
| A callback function used to set index of current page. More...
|
|
virtual void | SetFocus (XFAWidget &xfa_widget)=0 |
| A callback function used to set focus widget. More...
|
|
virtual bool | SubmitData (const XFADoc &doc, const WString &target, SubmitFormat format, TextEncoding text_encoding, const WString &content)=0 |
| A callback function to submit data. More...
|
|
virtual void | WidgetEvent (const XFAWidget &xfa_widget, WidgetEventType widget_event_type)=0 |
| A callback function to execute xfa widget event. More...
|
|
This class represents a callback object as an XFA document provider. All the functions in this class are used as callback functions. Pure virtual functions should be implemented by user.