15 #ifndef FS_ACTIONCALLBACK_H_ 16 #define FS_ACTIONCALLBACK_H_ 93 IdentityProperties(
const wchar_t* corporation,
const wchar_t* email,
const wchar_t* login_name,
const wchar_t* name)
94 : corporation(corporation)
96 , login_name(login_name)
105 : corporation(id_properities.corporation)
106 , email(id_properities.email)
107 , login_name(id_properities.login_name)
108 , name(id_properities.name) {}
120 void Set(
const wchar_t* corporation,
const wchar_t* email,
const wchar_t* login_name,
const wchar_t* name) {
121 this->corporation = corporation;
123 this->login_name = login_name;
149 typedef enum _Language {
189 typedef enum _AppInfoType {
207 typedef enum _MailType {
374 virtual bool Beep(
int type) = 0;
395 virtual WString Response(
const wchar_t* question,
const wchar_t* title,
const wchar_t* default_value,
396 const wchar_t* label,
bool is_password) = 0;
435 bool is_shrunk_to_fit,
bool is_printed_as_image,
436 bool is_reversed,
bool is_to_print_annots) = 0;
463 virtual bool LaunchURL(
const char* url) = 0;
517 virtual int Alert(
const wchar_t* msg,
const wchar_t* title,
int type,
int icon) = 0;
590 virtual bool MailData(
void* data,
MailType data_type,
bool is_ui,
const wchar_t* to,
591 const wchar_t* subject,
const wchar_t* cc,
const wchar_t* bcc,
const wchar_t* message) = 0;
598 #endif // FS_ACTIONCALLBACK_H_ Unknown language.
Definition: fs_actioncallback.h:151
WString name
The user name.
Definition: fs_actioncallback.h:134
Chinese Traditional.
Definition: fs_actioncallback.h:155
virtual int GetOpenedDocCount()=0
A callback function to receive the count of opened documents.
Definition: fs_actioncallback.h:80
virtual bool SubmitForm(const pdf::PDFDoc &document, void *form_data, uint32 length, const char *url)=0
A callback function to submit the form data to a specified url.
Definition: fs_actioncallback.h:142
void Set(const wchar_t *corporation, const wchar_t *email, const wchar_t *login_name, const wchar_t *name)
Set values.
Definition: fs_actioncallback.h:120
Korean.
Definition: fs_actioncallback.h:169
CFX_Object Object
Object type.
Definition: fs_basictypes.h:219
WString corporation
The corporation name.
Definition: fs_actioncallback.h:128
virtual Language GetLanguage()=0
A callback function to get the language of the running viewer application.
virtual bool SetDocChangeMark(const pdf::PDFDoc &document, bool change_mark)=0
A callback function to set the change mark which indicates whether the content of document is changed...
Application's viewer version information.
Definition: fs_actioncallback.h:197
Header file for common definitions and classes.
Brazilian Portuguese.
Definition: fs_actioncallback.h:177
virtual IdentityProperties GetIdentityProperties()=0
A callback function used to get identity properties of current user.
Norwegian.
Definition: fs_actioncallback.h:175
virtual common::Rotation GetPageRotation(const pdf::PDFDoc &document, int page_index)=0
A callback function used to receive current displaying rotation of a page on PDF viewer.
virtual WString BrowseFile()=0
A callback function to show a file selection dialog, and the selected file path should be returned.
virtual bool Beep(int type)=0
A callback function to cause the system to play a sound.
French.
Definition: fs_actioncallback.h:165
Chinese Simplified.
Definition: fs_actioncallback.h:153
virtual bool LaunchURL(const char *url)=0
A callback function to launch to a specified url.
AppInfoType
Enumeration for application's information type.
Definition: fs_actioncallback.h:189
virtual int Alert(const wchar_t *msg, const wchar_t *title, int type, int icon)=0
A callback function used to pop up a dialog to show warnings or hints.
virtual pdf::PDFDoc GetOpenedDoc(int index)=0
A callback function to receive an opened PDF document object by index.
virtual void SetCurrentPage(const pdf::PDFDoc &document, int page_index)=0
A callback function used to set the current page by index.
virtual void Release()=0
A callback function used to release current callback object itself.
virtual bool MailData(void *data, MailType data_type, bool is_ui, const wchar_t *to, const wchar_t *subject, const wchar_t *cc, const wchar_t *bcc, const wchar_t *message)=0
A callback function to mail data or message, with or without user interaction.
Rotation
Enumeration for rotation.
Definition: fs_common.h:221
Application's forms version information.
Definition: fs_actioncallback.h:191
virtual bool InvalidateRect(const pdf::PDFDoc &document, int page_index, const RectF &pdf_rect)=0
A callback function to invalidate the client area within the specified rectangle.
Dutch.
Definition: fs_actioncallback.h:173
German.
Definition: fs_actioncallback.h:159
Danish.
Definition: fs_actioncallback.h:157
Foxit namespace.
Definition: fs_connectedpdf.h:26
virtual bool SetPageRotation(const pdf::PDFDoc &document, int page_index, common::Rotation rotation)=0
A callback function used to set the rotation value of a page on PDF viewer.
WString login_name
The login name. Usually, this is the name used to log in current operating system.
Definition: fs_actioncallback.h:132
English.
Definition: fs_actioncallback.h:161
virtual WString GetFilePath(const pdf::PDFDoc &document)=0
A callback function to get the file path of current PDF document.
WString email
The email address.
Definition: fs_actioncallback.h:130
virtual int GetCurrentPage(const pdf::PDFDoc &document)=0
A callback function used to receive current page index.
Application's viewer variation information.
Definition: fs_actioncallback.h:195
virtual WString PopupMenu(const MenuListArray &menus)=0
A callback function to pop up a menu window.
Japanese.
Definition: fs_actioncallback.h:171
Mailed data type: form.
Definition: fs_actioncallback.h:211
MailType
Enumeration for data type to be mailed.
Definition: fs_actioncallback.h:207
Italian.
Definition: fs_actioncallback.h:167
virtual WString Response(const wchar_t *question, const wchar_t *title, const wchar_t *default_value, const wchar_t *label, bool is_password)=0
A callback function to display a dialog box containing a question and an entry field for the user to ...
Definition: fx_coordinates.h:763
Definition: fs_pdfdoc.h:338
Finnish.
Definition: fs_actioncallback.h:179
IdentityProperties(const IdentityProperties &id_properities)
Constructor, with another identity properties object.
Definition: fs_actioncallback.h:104
Mailed data type: string message.
Definition: fs_actioncallback.h:213
Application's app version information.
Definition: fs_actioncallback.h:199
virtual WString GetAppInfo(AppInfoType type)=0
A callback function to get application information.
virtual bool GetDocChangeMark(const pdf::PDFDoc &document)=0
A callback function to receive the change mark which indicates whether the content of document is cha...
Mailed data type: document.
Definition: fs_actioncallback.h:209
Spanish.
Definition: fs_actioncallback.h:163
virtual bool ExecuteNamedAction(const pdf::PDFDoc &document, const char *named_action)=0
A callback function to execute a named action.
Swedish.
Definition: fs_actioncallback.h:181
WIDE STRING CLASS.
Definition: fx_string.h:1470
IdentityProperties(const wchar_t *corporation, const wchar_t *email, const wchar_t *login_name, const wchar_t *name)
Constructor, with parameters.
Definition: fs_actioncallback.h:93
Definition: fs_common.h:1033
Language
Enumeration for language.
Definition: fs_actioncallback.h:149
Application's viewer type information.
Definition: fs_actioncallback.h:193
IdentityProperties()
Constructor.
Definition: fs_actioncallback.h:83
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:198
virtual bool Print(const pdf::PDFDoc &document, bool is_ui, const common::Range &page_range, bool is_silent, bool is_shrunk_to_fit, bool is_printed_as_image, bool is_reversed, bool is_to_print_annots)=0
A callback function to print pages within a specified index range.