![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cxfa_ffapp.h>
Public Member Functions | |
| virtual | ~CallbackIface ()=default |
| virtual WideString | GetLanguage ()=0 |
| virtual WideString | GetPlatform ()=0 |
| virtual WideString | GetAppName ()=0 |
| virtual WideString | GetAppTitle () const =0 |
| virtual void | Beep (uint32_t dwType)=0 |
| virtual int32_t | MsgBox (const WideString &wsMessage, const WideString &wsTitle, uint32_t dwIconType, uint32_t dwButtonType)=0 |
| virtual WideString | Response (const WideString &wsQuestion, const WideString &wsTitle, const WideString &wsDefaultAnswer, bool bMask)=0 |
| virtual RetainPtr< IFX_SeekableReadStream > | DownloadURL (const WideString &wsURL)=0 |
| virtual bool | PostRequestURL (const WideString &wsURL, const WideString &wsData, const WideString &wsContentType, const WideString &wsEncode, const WideString &wsHeader, WideString &wsResponse)=0 |
| virtual bool | PutRequestURL (const WideString &wsURL, const WideString &wsData, const WideString &wsEncode)=0 |
| virtual CFX_Timer::HandlerIface * | GetTimerHandler () const =0 |
| virtual cppgc::Heap * | GetGCHeap () const =0 |
Definition at line 29 of file cxfa_ffapp.h.
|
virtualdefault |
|
pure virtual |
Causes the system to play a sound.
| [in] | dwType | The system code for the appropriate sound.0 (Error)1 (Warning)2 (Question)3 (Status)4 (Default) |
Implemented in CPDFXFA_Context.
|
pure virtual |
Download something from somewhere.
| [in] | wsURL | - http, ftp, such as "http://www.w3.org/TR/REC-xml-names/". |
Implemented in CPDFXFA_Context.
|
pure virtual |
Get application name, such as Phantom.
Implemented in CPDFXFA_Context.
|
pure virtual |
Get application message box title.
Implemented in CPDFXFA_Context.
|
pure virtual |
Implemented in CPDFXFA_Context.
|
pure virtual |
Returns the language of the running host application. Such as zh_CN
Implemented in CPDFXFA_Context.
|
pure virtual |
Returns the platform of the machine running the script. Such as WIN
Implemented in CPDFXFA_Context.
|
pure virtual |
Implemented in CPDFXFA_Context.
|
pure virtual |
Displays a message box.
| [in] | wsMessage | - Message string to display in box. |
| [in] | wsTitle | - Title string for box. |
| [in] | dwIconType | - Icon type, refer to XFA_MBICON. |
| [in] | dwButtonType | - Button type, refer to XFA_MESSAGEBUTTON. |
Implemented in CPDFXFA_Context.
Referenced by CXFA_FFField::CalculateNode().
|
pure virtual |
POST data to the given url.
| [in] | wsURL | the URL being uploaded. |
| [in] | wsData | the data being uploaded. |
| [in] | wsContentType | the content type of data including text/html, text/xml, text/plain, multipart/form-data, application/x-www-form-urlencoded, application/octet-stream, any valid MIME type. |
| [in] | wsEncode | the encode of data including UTF-8, UTF-16, ISO8859-1, any recognized [IANA]character encoding |
| [in] | wsHeader | any additional HTTP headers to be included in the post. |
| [out] | wsResponse | decoded response from server. |
Implemented in CPDFXFA_Context.
Referenced by CFXJSE_FormCalcContext::Post().
|
pure virtual |
PUT data to the given url.
| [in] | wsURL | the URL being uploaded. |
| [in] | wsData | the data being uploaded. |
| [in] | wsEncode | the encode of data including UTF-8, UTF-16, ISO8859-1, any recognized [IANA]character encoding |
Implemented in CPDFXFA_Context.
Referenced by CFXJSE_FormCalcContext::Put().
|
pure virtual |
Get a response from the user.
| [in] | wsQuestion | - Message string to display in box. |
| [in] | wsTitle | - Title string for box. |
| [in] | wsDefaultAnswer | - Initial contents for answer. |
| [in] | bMask | - Mask the user input with asterisks when true, |
Implemented in CPDFXFA_Context.