15 #ifndef FS_ACTIONCALLBACK_H_ 16 #define FS_ACTIONCALLBACK_H_ 50 this->sub_menu_list_array = sub_menu_list_array;
59 level = menu_list.
level;
60 name = menu_list.
name;
72 this->level = menu_list.
level;
73 this->name = menu_list.
name;
91 this->sub_menu_list_array = sub_menu_list_array;
424 ,
pos(menu_item_config.
pos)
506 DialogDescriptionElement(
const char* name,
const char* item_id,
const char* type,
const char* next_tab,
int width,
int height,
int char_width,
int char_height,
514 , char_width(char_width)
515 , char_height(char_height)
519 , alignment(alignment)
520 , align_children(align_children)
521 , element_array(element_array) {}
529 : name(dlg_des_element.name)
530 , item_id(dlg_des_element.item_id)
531 , type(dlg_des_element.type)
532 , next_tab(dlg_des_element.next_tab)
533 , width(dlg_des_element.width)
534 , height(dlg_des_element.height)
535 , char_width(dlg_des_element.char_width)
536 , char_height(dlg_des_element.char_height)
537 , font(dlg_des_element.font)
538 , bold(dlg_des_element.bold)
539 , italic(dlg_des_element.italic)
540 , alignment(dlg_des_element.alignment)
541 , align_children(dlg_des_element.align_children)
542 , element_array(dlg_des_element.element_array) {}
552 this->name = dlg_des_element.
name;
553 this->item_id = dlg_des_element.
item_id;
554 this->type = dlg_des_element.
type;
555 this->next_tab = dlg_des_element.
next_tab;
556 this->width = dlg_des_element.
width;
557 this->height = dlg_des_element.
height;
558 this->char_width = dlg_des_element.
char_width;
560 this->font = dlg_des_element.
font;
561 this->bold = dlg_des_element.
bold;
562 this->italic = dlg_des_element.
italic;
563 this->alignment = dlg_des_element.
alignment;
589 void Set(
const char* name,
const char* item_id,
const char* type,
const char* next_tab,
int width,
int height,
int char_width,
int char_height,
592 this->item_id = item_id;
594 this->next_tab = next_tab;
596 this->height = height;
597 this->char_width = char_width;
598 this->char_height = char_height;
601 this->italic = italic;
602 this->alignment = alignment;
603 this->align_children = align_children;
604 this->element_array = element_array;
805 typedef enum _PrintContent {
819 typedef enum _DuplexType {
833 typedef enum _BookletDuplexMode {
847 typedef enum _BookletBinding {
872 typedef enum _PageOrder {
886 typedef enum _PrintHandling {
1081 typedef enum _WindowPosition {
1107 typedef enum _RelativeTarget {
1123 typedef enum _ResizeType {
1137 typedef enum _OffScreenAction {
1228 this->title =
title;
1278 typedef enum _PlayerWindowType {
1503 this->
doc = player_args.
doc;
1506 this->
URL = player_args.
URL;
1576 typedef enum _JSMediaPlayerState {
1604 virtual bool Play() = 0;
1613 virtual void Close() = 0;
1622 virtual bool Stop() = 0;
1633 virtual bool Seek(
int current_pos) = 0;
1669 typedef enum _Language {
1709 typedef enum _AppInfoType {
1727 typedef enum _MailType {
1741 typedef enum _JSFieldValueChangeType {
1755 typedef enum _JSMediaPlayerState {
1773 typedef enum _LayoutMode {
1789 typedef enum _JsMailResult {
2015 virtual bool Beep(
int type) = 0;
2035 virtual WString Response(
const wchar_t* question,
const wchar_t* title,
const wchar_t* default_value,
2036 const wchar_t* label,
bool is_password) = 0;
2115 bool is_shrunk_to_fit,
bool is_printed_as_image,
2116 bool is_reversed,
bool is_to_print_annots) = 0;
2158 virtual bool LaunchURL(
const char* url) = 0;
2184 virtual WString BrowseFile(
bool is_open_dialog,
const wchar_t* file_format,
const wchar_t* file_filter) = 0;
2228 virtual int Alert(
const wchar_t* msg,
const wchar_t* title,
int type,
int icon) = 0;
2328 virtual bool MailData(
void* data,
MailType data_type,
bool is_ui,
const wchar_t* to,
2329 const wchar_t* subject,
const wchar_t* cc,
const wchar_t* bcc,
const wchar_t* message) = 0;
2512 const wchar_t* to_address,
const wchar_t* cc_address,
const wchar_t* bcc_address,
2513 const wchar_t* subject,
const wchar_t* message,
bool is_ui) = 0;
2577 virtual void SelectPageNthWord(
int page_index,
int word_index,
bool is_show_selection) = 0;
2672 #endif // FS_ACTIONCALLBACK_H_ WString audio_format
The audio format, such as "audio/wav".
Definition: fs_actioncallback.h:1559
virtual foxit::pdf::Destination::ZoomMode GetPageZoomMode()=0
A callback function to get the current page zoom mode.
virtual void Release()=0
A callback function used to release current callback object itself.
LayoutMode
Enumeration for layout mode.
Definition: fs_actioncallback.h:1773
Print Handling: Pages are enlarged or shrunk to fit the printe's paper.
Definition: fs_actioncallback.h:890
String type
The type of this dialog box element.
Definition: fs_actioncallback.h:612
PrintParams(const PrintParams &print_params)
Constructor, with another print parameters object.
Definition: fs_actioncallback.h:937
WString last_name
The user last name.
Definition: fs_actioncallback.h:291
int num_copies
The number of copies to be printed.
Definition: fs_actioncallback.h:1035
MailType
Enumeration for data type to be mailed.
Definition: fs_actioncallback.h:1727
Definition: fs_annot.h:4209
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 bool Beep(int type)=0
A callback function to cause the system to play a sound.
Mailed data type: string message.
Definition: fs_actioncallback.h:1733
French.
Definition: fs_actioncallback.h:1685
JSFieldValueChangeType
Enumeration for javascript field value change type.
Definition: fs_actioncallback.h:1741
virtual int GetOpenedDocCount()=0
A callback function to receive the count of opened documents.
Definition: fs_common.h:1179
Print Content: print the document contents and comments.
Definition: fs_actioncallback.h:809
float tile_overlap
The number of points that tiled pages have in common.
Definition: fs_actioncallback.h:1046
PrintContent
Enumeration for the values used to set the contents of the print job.
Definition: fs_actioncallback.h:805
PageOrder page_order
The value determines how the multiple pages are laid out on the sheet. Please refer to values startin...
Definition: fs_actioncallback.h:1070
Definition: fs_image.h:36
WindowPosition
Enumeration for the window position used for media player.
Definition: fs_actioncallback.h:1081
bool is_print_auto_center
true means that each page is automatically centered relative to the paper.
Definition: fs_actioncallback.h:1009
virtual WString PopupMenu(const MenuListArray &menus, bool &is_selected_item)=0
A callback function to pop up a menu window.
virtual bool SubmitForm(const pdf::PDFDoc &document, void *form_data, uint32 length, const char *url, common::FileFormatType file_format_type)=0
A callback function to submit the form data to a specified URL.
int width
The width of the dialog box in pixels.
Definition: fs_actioncallback.h:767
Resize type: may be resized without preserving the aspect ratio.
Definition: fs_actioncallback.h:1129
String name
The displayed name of the dialog box element.
Definition: fs_actioncallback.h:608
virtual void Scroll(const PointF &point)=0
A callback function to scroll the specified point on the current page into the middle of the current ...
MediaSettings player_settings
A MediaSettings object.
Definition: fs_actioncallback.h:1562
virtual PointF GetMousePosition()=0
A callback function to get current mouse position.
RelativeTarget
Enumeration for the values used to set relative position of floating window.
Definition: fs_actioncallback.h:1107
CFX_Object Object
Object type.
Definition: fs_basictypes.h:217
Window position: at the bottom center.
Definition: fs_actioncallback.h:1097
virtual WString GetFilePath(const pdf::PDFDoc &document)=0
A callback function to get the file path of current PDF document.
BookletBinding binding
The value determines the paper binding direction and the page arrange order. Please refer to values s...
Definition: fs_actioncallback.h:1056
String font
The font to use for this element.
Definition: fs_actioncallback.h:650
virtual Language GetLanguage()=0
A callback function to get the language of the running viewer application.
Window position: at the top center.
Definition: fs_actioncallback.h:1085
RelativeTarget relative_target
Specify the target to which the floating window is to be aligned. Please refer to values starting fro...
Definition: fs_actioncallback.h:1243
Window position: at the bottom left corner.
Definition: fs_actioncallback.h:1095
Unknown language.
Definition: fs_actioncallback.h:1671
virtual pdf::PDFDoc GetCurrentDoc()=0
A callback function to receive current PDF document object.
Header file for PDF document related definitions and classes.
Layout mode: two pages.
Definition: fs_actioncallback.h:1779
Definition: fs_actioncallback.h:211
WString department
The department name.
Definition: fs_actioncallback.h:295
String align_children
The alignment for all descendants.
Definition: fs_actioncallback.h:791
Booklet Binding: Left-side binding for Western-style left-to-right reading direction....
Definition: fs_actioncallback.h:849
Booklet Binding: Right-side binding for text with right-to-left reading direction or Japanese-style v...
Definition: fs_actioncallback.h:854
Definition: fs_rendition.h:38
Definition: fs_basictypes.h:224
Off screen action: take no action.
Definition: fs_actioncallback.h:1139
Resize type: may not be resized.
Definition: fs_actioncallback.h:1125
FloatingInfo & operator=(const FloatingInfo &floating_info)
Assign operator.
Definition: fs_actioncallback.h:1195
IdentityProperties()
Constructor.
Definition: fs_actioncallback.h:214
uint32 RGB
RGB color type, 24 bits, ((b) | ((g) << 8) | ((r) << 16)))
Definition: fs_basictypes.h:212
Application's app version information.
Definition: fs_actioncallback.h:1719
Brazilian Portuguese.
Definition: fs_actioncallback.h:1697
Mailed data type: document.
Definition: fs_actioncallback.h:1729
virtual void SelectPageNthWord(int page_index, int word_index, bool is_show_selection)=0
A callback function to change the current page number and selects the specified word on the page.
Application's forms version information.
Definition: fs_actioncallback.h:1711
virtual void SetCurrentPage(const pdf::PDFDoc &document, int page_index)=0
A callback function used to set the current page by index.
Window position: at the top left corner.
Definition: fs_actioncallback.h:1083
Definition: fx_coordinates.h:30
virtual WString GetTemporaryFileName(const pdf::PDFDoc &document, const wchar_t *file_suffix_name)=0
A callback function to get the temporary file path. The temporary file name combine the document name...
void Set(const pdf::PDFDoc &doc, const pdf::annots::Screen &screen_annot, const pdf::Rendition &rendition, const wchar_t *URL, const wchar_t *audio_format, const MediaSettings &player_settings)
Set values.
Definition: fs_actioncallback.h:1524
Mailed result: mail failed.
Definition: fs_actioncallback.h:1791
Relative type: align the floating window relative to the (selected) monitor display screen.
Definition: fs_actioncallback.h:1115
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.
PlayerArgs & operator=(const PlayerArgs &player_args)
Assign operator.
Definition: fs_actioncallback.h:1502
Booklet Duplex Mode: only prints all pages that appear on the front side of the paper.
Definition: fs_actioncallback.h:837
German.
Definition: fs_actioncallback.h:1679
Print Handling: Prints multiple pages on the same sheet of paper in the order required to read correc...
Definition: fs_actioncallback.h:901
PrintContent print_content
Specif content for printing. Please refer to values starting from PrintParams::e_PrintContentDocument...
Definition: fs_actioncallback.h:1029
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.
WString title
The user title.
Definition: fs_actioncallback.h:293
virtual MenuItemEx PopupMenuEx(const MenuItemExArray &menus, bool &is_selected_item)=0
A callback function to pop up a menu window.
String name
The title bar of the dialog box.
Definition: fs_actioncallback.h:753
PrintHandling handling
The print handling type.Please refer to values starting from PrintParams::e_PrintHandlingNone and thi...
Definition: fs_actioncallback.h:1052
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 ...
Norwegian.
Definition: fs_actioncallback.h:1695
bool has_close
true means the floating window should have a close window control button, while false means not.
Definition: fs_actioncallback.h:1252
WIDE STRING CLASS.
Definition: fx_string.h:1452
String next_tab
An ItemID for the next dialog box item in the tab order.
Definition: fs_actioncallback.h:614
media player state: Playing.
Definition: fs_actioncallback.h:1761
pdf::annots::Screen screen_annot
A pdf::annots::Screen object.
Definition: fs_actioncallback.h:1546
DialogDescriptionElementArray element_array
An array of object literals that describe the subelements of this dialog box element.
Definition: fs_actioncallback.h:660
FileFormatType
Enumeration for file format type.
Definition: fs_common.h:227
virtual JsMailResult MailDoc(const pdf::PDFDoc &document, const wchar_t *to_address, const wchar_t *cc_address, const wchar_t *bcc_address, const wchar_t *subject, const wchar_t *message, bool is_ui)=0
A callback function to mails a document as an attachment.
Definition: fs_action.h:65
bool is_tile_label
Label each page of tiled output. Labeled pages indicate row and column, file name,...
Definition: fs_actioncallback.h:1042
Definition: fs_pdfdoc.h:508
PageOrder
Enumeration for the values used to determine how the multiple pages are laid out on the sheet.
Definition: fs_actioncallback.h:872
int width
Specifies the width of the element in pixels.
Definition: fs_actioncallback.h:620
bool italic
Specify if the font is italic.
Definition: fs_actioncallback.h:654
virtual pdf::PDFDoc CreateBlankDoc()=0
A callback function to create a blank PDF document object.
DuplexType
Enumeration for the values used to set the printing duplex mode.
Definition: fs_actioncallback.h:819
Resize type: may be resized only if the aspect ratio is preserved.
Definition: fs_actioncallback.h:1127
Chinese Simplified.
Definition: fs_actioncallback.h:1673
virtual bool OpenDoc(const WString &file_path, const WString &password)=0
A callback function to open a PDF file.
virtual void SetLayoutMode(LayoutMode layout_mode, bool is_cover_mode)=0
A callback function to set the page layout of the current document.
Layout mode: continuous page.
Definition: fs_actioncallback.h:1777
Window position: at the center right.
Definition: fs_actioncallback.h:1093
Language
Enumeration for language.
Definition: fs_actioncallback.h:1669
int char_width
Specifies the width of the element in characters.
Definition: fs_actioncallback.h:633
Definition: fs_actioncallback.h:1074
WString corporation
The corporation name.
Definition: fs_actioncallback.h:281
BookletBinding
Enumeration for the values used to determine the duplex printing mode when printing a booklet.
Definition: fs_actioncallback.h:847
DuplexType duplex_type
Sets the printing duplex mode to simplex, duplex long edge, or duplex short edge feed....
Definition: fs_actioncallback.h:1040
virtual void SetPageScale(foxit::pdf::Destination::ZoomMode zoom_mode, const foxit::pdf::Destination &dest)=0
A callback function to set current page zoom value.
Page Order type: pages are placed from right to left, from top to bottom.
Definition: fs_actioncallback.h:876
virtual void UpdateLogicalLabel()=0
A callback function to update logical label.
Definition: fs_actioncallback.h:480
PlayerArgs(const PlayerArgs &player_args)
Constructor, with another player args object.
Definition: fs_actioncallback.h:1487
media player state: Suspend.
Definition: fs_actioncallback.h:1765
AppInfoType
Enumeration for application's information type.
Definition: fs_actioncallback.h:1709
Print Handling: Pages are rescaled to print multiple pages on each printer page.
Definition: fs_actioncallback.h:894
virtual RectF GetPageWindowRect()=0
A callback function to get the rectangle for the page view window. The page view window is the area i...
virtual bool AddToolButton(const ButtonItem &button_item)=0
A callback function to add a tool button.
ResizeType resize_type
Specify whether the floating window may be resized by the user. Please refer to values starting from ...
Definition: fs_actioncallback.h:1249
int char_height
The height of the dialog box in characters.
Definition: fs_actioncallback.h:788
bool tile_mark
true means to cut the page, and false means not.
Definition: fs_actioncallback.h:1044
PrintParams()
Constructor.
Definition: fs_actioncallback.h:906
Mailed result: user abort.
Definition: fs_actioncallback.h:1795
Print Handling: No page scaling is applied.
Definition: fs_actioncallback.h:888
Definition: fs_actioncallback.h:1662
virtual MenuListArray GetMenuItemNameList()=0
A callback function to get the menu item name list.
IdentityProperties(const wchar_t *corporation, const wchar_t *email, const wchar_t *login_name, const wchar_t *name, const wchar_t *first_name, const wchar_t *last_name, const wchar_t *title, const wchar_t *department)
Constructor, with parameters.
Definition: fs_actioncallback.h:228
Window position: at the bottom right corner.
Definition: fs_actioncallback.h:1099
JsMailResult
Enumeration for result of the mail.
Definition: fs_actioncallback.h:1789
WString title
This title to be displayed if has_title is true.
Definition: fs_actioncallback.h:1258
virtual void OnFieldValueChanged(const wchar_t *field_name, JSFieldValueChangeType type, const WStringArray &value_before_changed, const WStringArray &value_after_changed)=0
A callback function to notify the value change of the field.
Mailed result: mail success.
Definition: fs_actioncallback.h:1793
javascript field value changed type: format.
Definition: fs_actioncallback.h:1743
PlayerArgs()
Constructor.
Definition: fs_actioncallback.h:1461
Window position: at the center left.
Definition: fs_actioncallback.h:1089
Page Order type: pages are placed from left to right, from top to bottom.
Definition: fs_actioncallback.h:874
Off screen action: move or resize the window so that it is on-screen.
Definition: fs_actioncallback.h:1141
WString first_name
The user first name.
Definition: fs_actioncallback.h:289
virtual LayoutMode GetLayoutMode()=0
A callback function to get the page layout of the current document.
virtual bool ExecuteNamedAction(const pdf::PDFDoc &document, const char *named_action)=0
A callback function to execute a named action.
virtual WString GetTemporaryDirectory()=0
A callback function to get temporary directory.
Print Handling: Small pages are printed small, and large pages are shrunk to fit on the printer's pap...
Definition: fs_actioncallback.h:892
FloatingInfo(WindowPosition window_pos, RelativeTarget relative_target, ResizeType resize_type, bool has_close, bool has_title, const wchar_t *title, OffScreenAction off_screen, const RectF &rect)
Constructor, with parameters.
Definition: fs_actioncallback.h:1162
Booklet Binding: Left-side binding for Western-style left-to-right reading direction....
Definition: fs_actioncallback.h:859
String alignment
The alignment for this element.
Definition: fs_actioncallback.h:656
WString name
The user name.
Definition: fs_actioncallback.h:287
virtual void SetFullScreen(bool is_full_screen)=0
A callback function to set full screen mode.
FloatingInfo()
Constructor.
Definition: fs_actioncallback.h:1148
virtual bool AddSubMenu(const MenuItemConfig &menu_item_config)=0
A callback function to add a menu item with a submenu to the application.
ZoomMode
Enumeration for zoom mode.
Definition: fs_action.h:72
bool is_simulate_overprinting
true means to do overprint preview when printing. false means not.
Definition: fs_actioncallback.h:1016
Booklet Duplex Mode: only prints all pages that appear on the back side of the paper.
Definition: fs_actioncallback.h:839
Definition: fs_actioncallback.h:1458
int height
Specifies the height of the element in pixels.
Definition: fs_actioncallback.h:627
DialogDescriptionConfig & operator=(const DialogDescriptionConfig &dlg_des_config)
Assign operator.
Definition: fs_actioncallback.h:714
media player state: Stop.
Definition: fs_actioncallback.h:1763
float tile_scale
The amount that tiled pages are scaled.
Definition: fs_actioncallback.h:1048
Print Handling: Small or normal pages are printed in the original size and large pages are printed on...
Definition: fs_actioncallback.h:899
String item_id
An ItemID for this dialog box.
Definition: fs_actioncallback.h:610
void Set(const char *name, const char *first_tab, int width, int height, int char_width, int char_height, const char *align_children, DialogDescriptionElementArray element_array)
Set values.
Definition: fs_actioncallback.h:740
int char_height
Specifies the height of the element in characters.
Definition: fs_actioncallback.h:639
Definition: fs_actioncallback.h:798
OffScreenAction off_screen
Specify what action should be taken if the floating window is positioned totally or partially offscre...
Definition: fs_actioncallback.h:1264
bool bold
Specify if the font is bold.
Definition: fs_actioncallback.h:652
ResizeType
Enumeration for the resize type, which specifies whether a floating window may be resized by the user...
Definition: fs_actioncallback.h:1123
bool is_reverse
true means that the printing order should be from parameter end to parameter start.
Definition: fs_actioncallback.h:1005
BookletDuplexMode
Enumeration for the values used to determine the duplex printing mode when printing a booklet.
Definition: fs_actioncallback.h:833
Dutch.
Definition: fs_actioncallback.h:1693
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.
DialogDescriptionConfig()
Constructor.
Definition: fs_actioncallback.h:667
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:196
Print Content: print the contents of form fields only. Useful for printing onto pre-preprinted forms.
Definition: fs_actioncallback.h:811
JSMediaPlayerState
Enumeration for media player state.
Definition: fs_actioncallback.h:1755
Header file for common definitions and classes.
Danish.
Definition: fs_actioncallback.h:1677
virtual float GetPageScale()=0
A callback function to get current page zoom value.
Duplex type: prints on one side of the paper.
Definition: fs_actioncallback.h:821
int num_pages_v
The number of pages to lay out in the vertical direction when printing Multiple Pages Per Sheet.
Definition: fs_actioncallback.h:1065
virtual void CloseDoc(const pdf::PDFDoc &document, bool is_prompt_to_save)=0
A callback function to close document.
FloatingInfo(const FloatingInfo &floating_info)
Constructor, with another floating infomation object.
Definition: fs_actioncallback.h:1178
virtual WString GetUntitledBookmarkName()=0
A callback function to get the new name for an untitled bookmark.
String align_children
The alignment for all descendants.
Definition: fs_actioncallback.h:658
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...
WString URL
Either URL or rendition is required, with URL taking precedence.
Definition: fs_actioncallback.h:1556
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...
DialogDescriptionConfig(const DialogDescriptionConfig &dlg_des_config)
Constructor, with another dialog description config object.
Definition: fs_actioncallback.h:697
virtual bool IsLocalFile(const pdf::PDFDoc &document)=0
A callback function to check whether the file is local file.
DialogDescriptionElement(const char *name, const char *item_id, const char *type, const char *next_tab, int width, int height, int char_width, int char_height, const char *font, bool bold, bool italic, const char *alignment, const char *align_children, DialogDescriptionElementArray element_array)
Constructor, with parameters.
Definition: fs_actioncallback.h:506
IdentityProperties(const IdentityProperties &id_properities)
Constructor, with another identity properties object.
Definition: fs_actioncallback.h:244
RectF rect
A rectangle specifies the location and size of the floating window in device coordinate system.
Definition: fs_actioncallback.h:1267
DialogDescriptionElement()
Constructor.
Definition: fs_actioncallback.h:486
virtual pdf::PDFDoc GetOpenedDoc(int index)=0
A callback function to receive an opened PDF document object by index.
virtual WString GetAttachmentsFilePath(const pdf::PDFDoc &pdf_doc, const wchar_t *name)=0
A callback function to get the file path of attachments file.
Mailed data type: form.
Definition: fs_actioncallback.h:1731
Off screen action: cancel playing the media clip.
Definition: fs_actioncallback.h:1143
javascript field value changed type : calculation.
Definition: fs_actioncallback.h:1745
bool has_title
true means a title should be displayed in the title bar, while false means not.
Definition: fs_actioncallback.h:1255
DialogDescriptionElementArray element_array
An array of dialog description element array object.
Definition: fs_actioncallback.h:794
int height
The height of the dialog box in pixels.
Definition: fs_actioncallback.h:774
virtual IdentityProperties GetIdentityProperties()=0
A callback function used to get identity properties of current user.
media player state: Close.
Definition: fs_actioncallback.h:1759
bool is_print_auto_rotate
true means that automatically rotates each page to match the page orientation to the available paper ...
Definition: fs_actioncallback.h:1014
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.
WString login_name
The login name. Usually, this is the name used to log in current operating system.
Definition: fs_actioncallback.h:285
virtual bool SetIdentityProperties(const IdentityProperties &identity_properties)=0
A callback function used to set identity properties of current user.
Relative type: align the floating window relative to the application window.
Definition: fs_actioncallback.h:1111
Korean.
Definition: fs_actioncallback.h:1689
void Set(WindowPosition window_pos, RelativeTarget relative_target, ResizeType resize_type, bool has_close, bool has_title, const wchar_t *title, OffScreenAction off_screen, const RectF &rect)
Set values.
Definition: fs_actioncallback.h:1221
Rotation
Enumeration for rotation.
Definition: fs_common.h:57
Page Order type: pages are placed from top to bottom, from left to right.
Definition: fs_actioncallback.h:878
virtual bool AddMenuItem(const MenuItemConfig &menu_item_config, bool is_prepend)=0
A callback function to adds a menu item to a menu.
pdf::Rendition rendition
A pdf::Rendition object (either a MediaRendition or a RenditionList).
Definition: fs_actioncallback.h:1553
Foxit namespace.
Definition: fs_taggedpdf.h:27
Booklet Duplex Mode: automatically prints both sides of the paper.
Definition: fs_actioncallback.h:835
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.
Print Content: print the document contents, not comments.
Definition: fs_actioncallback.h:807
bool is_print_page_border
A boolean value that if true, draws and prints a page boundary around each of the pages during Multip...
Definition: fs_actioncallback.h:1018
PrintHandling
Enumeration for the values used to determine how the multiple pages are laid out on the sheet.
Definition: fs_actioncallback.h:886
Window position: at the top right corner.
Definition: fs_actioncallback.h:1087
Duplex type: prints on both sides of the paper; the paper flips along the long edge.
Definition: fs_actioncallback.h:823
Duplex type: prints on both sides of the paper; the paper flips along the short edge.
Definition: fs_actioncallback.h:825
BYTE STRING CLASS.
Definition: fx_string.h:317
Layout mode: continuous two pages.
Definition: fs_actioncallback.h:1781
int num_pages_h
The number of pages to lay out in the horizontal direction when printing Multiple Pages Per Sheet.
Definition: fs_actioncallback.h:1063
WString printer_name
The default printer name for printing.
Definition: fs_actioncallback.h:1031
PlayerArgs(const pdf::PDFDoc &doc, const pdf::annots::Screen &screen_annot, const pdf::Rendition &rendition, const wchar_t *URL, const wchar_t *audio_format, const MediaSettings &player_settings)
Constructor, with parameters.
Definition: fs_actioncallback.h:1473
void Set(const wchar_t *corporation, const wchar_t *email, const wchar_t *login_name, const wchar_t *name, const wchar_t *first_name, const wchar_t *last_name, const wchar_t *title, const wchar_t *department)
Set values.
Definition: fs_actioncallback.h:268
PrintParams & operator=(const PrintParams &print_params)
Assign operator.
Definition: fs_actioncallback.h:969
virtual WString GetAppInfo(AppInfoType type)=0
A callback function to get application information.
int char_width
The width of the dialog box in characters.
Definition: fs_actioncallback.h:781
bool is_print_as_image
true means that pages should be printed as image.
Definition: fs_actioncallback.h:1007
virtual bool RemoveToolButtom(const wchar_t *button_name)=0
A callback function to remove a tool button added by the function ActionCallback::AddToolButton.
Italian.
Definition: fs_actioncallback.h:1687
Window position: at the center.
Definition: fs_actioncallback.h:1091
Relative type: align the floating window relative to the document (page) window.
Definition: fs_actioncallback.h:1109
Spanish.
Definition: fs_actioncallback.h:1683
virtual bool GetFullScreen()=0
A callback function to get whether the full screen mode is set.
Application's viewer version information.
Definition: fs_actioncallback.h:1717
void Set(const char *name, const char *item_id, const char *type, const char *next_tab, int width, int height, int char_width, int char_height, const char *font, bool bold, bool italic, const char *alignment, const char *align_children, DialogDescriptionElementArray element_array)
Set values.
Definition: fs_actioncallback.h:589
pdf::PDFDoc doc
The PDFDoc object of the document.
Definition: fs_actioncallback.h:1539
media player state: Open.
Definition: fs_actioncallback.h:1757
Definition: fs_signature.h:93
Relative type: align the floating window relative to the full virtual desktop.
Definition: fs_actioncallback.h:1113
Swedish.
Definition: fs_actioncallback.h:1701
virtual WString GetExtractedEmbeddedFilePath(const pdf::PDFDoc &pdf_doc, const wchar_t *name)=0
A callback function to get the file path of extracted embedded file.
English.
Definition: fs_actioncallback.h:1681
String first_tab
An ItemID for the dialog box item that should be first in the tab order.
Definition: fs_actioncallback.h:760
virtual bool LaunchURL(const char *url)=0
A callback function to launch to a specified URL.
Finnish.
Definition: fs_actioncallback.h:1699
Application's viewer variation information.
Definition: fs_actioncallback.h:1715
virtual bool ShowDialog(const DialogDescriptionConfig &dlg_config)=0
A callback function to show the dialog.
Application's viewer type information.
Definition: fs_actioncallback.h:1713
virtual MediaPlayerCallback * OpenMediaPlayer(const PlayerArgs &player_args)=0
A callback function to open media player.
WindowPosition window_pos
Specify how the floating window is to be positioned relative to the window specified by the relative...
Definition: fs_actioncallback.h:1237
DialogDescriptionConfig(const char *name, const char *first_tab, int width, int height, int char_width, int char_height, const char *align_children, DialogDescriptionElementArray element_array)
Constructor, with parameters.
Definition: fs_actioncallback.h:681
Layout mode: single page.
Definition: fs_actioncallback.h:1775
Booklet Binding: Right-side binding for text with right-to-left reading direction or Japanese-style v...
Definition: fs_actioncallback.h:864
WString email
The email address.
Definition: fs_actioncallback.h:283
virtual int GetCurrentPage(const pdf::PDFDoc &document)=0
A callback function used to receive current page index.
DialogDescriptionElement(const DialogDescriptionElement &dlg_des_element)
Constructor, with another dialog description element object.
Definition: fs_actioncallback.h:528
Definition: fs_actioncallback.h:483
common::Range page_range
A range object to specify the page range for printing. All the indexes represented in this range woul...
Definition: fs_actioncallback.h:1024
WString output_file_name
The device-independent path for a file name to be used instead of sending the print job to the printe...
Definition: fs_actioncallback.h:1033
virtual WString BrowseFile()=0
A callback function to show a file selection dialog, and the selected file path should be returned.
BookletDuplexMode booklet_duplex_mode
The value determines the duplex printing mode when printing a booklet.Please refer to values starting...
Definition: fs_actioncallback.h:1061
bool is_show_ui
true means that a UI should be presented to the user to obtain printing information and confirm the a...
Definition: fs_actioncallback.h:1000
Chinese Traditional.
Definition: fs_actioncallback.h:1675
Japanese.
Definition: fs_actioncallback.h:1691
Definition: fs_actioncallback.h:664
javascript field value changed type: field set.
Definition: fs_actioncallback.h:1747
Definition: fx_coordinates.h:771
virtual uint32 VerifySignature(const pdf::PDFDoc &document, const pdf::Signature &pdf_signature)=0
A callback function to verify specified signature..
OffScreenAction
Enumeration for the action can be taken if the floating window is positioned totally or partially off...
Definition: fs_actioncallback.h:1137
virtual WStringArray GetPrinterNameList()=0
A callback function to get the printer name list.