Go to the documentation of this file.
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;
1573 typedef enum _WordMatching {
1778 this->
name = search_index_config.
name;
1780 this->
path = search_index_config.
path;
1831 typedef enum _JSMediaPlayerState {
1859 virtual bool Play() = 0;
1868 virtual void Close() = 0;
1877 virtual bool Stop() = 0;
1888 virtual bool Seek(
int current_pos) = 0;
1924 typedef enum _Language {
1964 typedef enum _AppInfoType {
1982 typedef enum _MailType {
1996 typedef enum _JSFieldValueChangeType {
2010 typedef enum _JSMediaPlayerState {
2028 typedef enum _LayoutMode {
2044 typedef enum _JsMailResult {
2058 typedef enum _SearchScope {
2286 virtual bool Beep(
int type) = 0;
2306 virtual WString Response(
const wchar_t* question,
const wchar_t* title,
const wchar_t* default_value,
2307 const wchar_t* label,
bool is_password) = 0;
2386 bool is_shrunk_to_fit,
bool is_printed_as_image,
2387 bool is_reversed,
bool is_to_print_annots) = 0;
2429 virtual bool LaunchURL(
const char* url) = 0;
2455 virtual WString BrowseFile(
bool is_open_dialog,
const wchar_t* file_format,
const wchar_t* file_filter) = 0;
2499 virtual int Alert(
const wchar_t* msg,
const wchar_t* title,
int type,
int icon) = 0;
2599 virtual bool MailData(
void* data,
MailType data_type,
bool is_ui,
const wchar_t* to,
2600 const wchar_t* subject,
const wchar_t* cc,
const wchar_t* bcc,
const wchar_t* message) = 0;
2783 const wchar_t* to_address,
const wchar_t* cc_address,
const wchar_t* bcc_address,
2784 const wchar_t* subject,
const wchar_t* message,
bool is_ui) = 0;
2849 virtual void SelectPageNthWord(
int page_index,
int start_offset,
int end_offset,
bool is_show_selection) = 0;
2996 #endif // FS_ACTIONCALLBACK_H_
virtual bool SetIdentityProperties(const IdentityProperties &identity_properties)=0
A callback function used to set identity properties of current user.
Unknown language.
Definition: fs_actioncallback.h:1926
WString name
The user name.
Definition: fs_actioncallback.h:287
virtual WString PopupMenu(const MenuListArray &menus, bool &is_selected_item)=0
A callback function to pop up a menu window.
bool is_print_as_image
true means that pages should be printed as image.
Definition: fs_actioncallback.h:1007
Definition: fs_annot.h:4271
String align_children
The alignment for all descendants.
Definition: fs_actioncallback.h:791
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
virtual void SetLayoutMode(LayoutMode layout_mode, bool is_cover_mode)=0
A callback function to set the page layout of the current document.
bool is_ignore_accents
Specifies whether accents and diacriticals are ignored while searching the query term....
Definition: fs_actioncallback.h:1710
Chinese Traditional.
Definition: fs_actioncallback.h:1930
Print Content: print the document contents, not comments.
Definition: fs_actioncallback.h:807
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
Print Handling: No page scaling is applied.
Definition: fs_actioncallback.h:888
virtual void UpdateLogicalLabel()=0
A callback function to update logical label.
int max_docs
The maximum number of documents that will be returned as part of the search query....
Definition: fs_actioncallback.h:1728
virtual int GetOpenedDocCount()=0
A callback function to receive the count of opened documents.
Definition: fs_actioncallback.h:211
int width
Specifies the width of the element in pixels.
Definition: fs_actioncallback.h:620
FileFormatType
Enumeration for file format type.
Definition: fs_common.h:233
RectF rect
A rectangle specifies the location and size of the floating window in device coordinate system.
Definition: fs_actioncallback.h:1267
Booklet Duplex Mode: only prints all pages that appear on the front side of the paper.
Definition: fs_actioncallback.h:837
SearchOption & operator=(const SearchOption &search_option)
Assign operator.
Definition: fs_actioncallback.h:1646
virtual bool AddMenuItem(const MenuItemConfig &menu_item_config, bool is_prepend)=0
A callback function to adds a menu item to a menu.
Definition: fs_actioncallback.h:483
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
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.
Definition: fs_actioncallback.h:480
Definition: fs_actioncallback.h:1917
Off screen action: move or resize the window so that it is on-screen.
Definition: fs_actioncallback.h:1141
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
Print Content: print the document contents and comments.
Definition: fs_actioncallback.h:809
javascript field value changed type : calculation.
Definition: fs_actioncallback.h:2000
Print Handling: Small pages are printed small, and large pages are shrunk to fit on the printer's pap...
Definition: fs_actioncallback.h:892
Korean.
Definition: fs_actioncallback.h:1944
media player state: Playing.
Definition: fs_actioncallback.h:2016
virtual void SetPageScale(foxit::pdf::Destination::ZoomMode zoom_mode, const foxit::pdf::Destination &dest)=0
A callback function to set current page zoom value.
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.
Resize type: may not be resized.
Definition: fs_actioncallback.h:1125
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 audio_format
The audio format, such as "audio/wav".
Definition: fs_actioncallback.h:1559
Layout mode: two pages.
Definition: fs_actioncallback.h:2034
virtual SearchIndexConfig AddSearchIndex(const wchar_t *di_path, bool is_selected)=0
A callback function to add a search index.
Off screen action: cancel playing the media clip.
Definition: fs_actioncallback.h:1143
bool is_print_auto_center
true means that each page is automatically centered relative to the paper.
Definition: fs_actioncallback.h:1009
Resize type: may be resized without preserving the aspect ratio.
Definition: fs_actioncallback.h:1129
CFX_Object Object
Object type.
Definition: fs_basictypes.h:217
WString corporation
The corporation name.
Definition: fs_actioncallback.h:281
int height
Specifies the height of the element in pixels.
Definition: fs_actioncallback.h:627
Definition: fs_actioncallback.h:1566
bool has_title
true means a title should be displayed in the title bar, while false means not.
Definition: fs_actioncallback.h:1255
bool is_search_bookmarks
Specifies whether bookmarks are searched for the query. Defaule value: false.
Definition: fs_actioncallback.h:1704
FloatingInfo()
Constructor.
Definition: fs_actioncallback.h:1148
virtual RectF GetPageWindowRect()=0
A callback function to get the rectangle for the page view window. The page view window is the area i...
Print Handling: Pages are rescaled to print multiple pages on each printer page.
Definition: fs_actioncallback.h:894
JsMailResult
Enumeration for result of the mail.
Definition: fs_actioncallback.h:2044
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
virtual WStringArray GetSignatureAPStyleNameList()=0
A callback function to get the name list of signature appearance style.
LayoutMode
Enumeration for layout mode.
Definition: fs_actioncallback.h:2028
PrintParams(const PrintParams &print_params)
Constructor, with another print parameters object.
Definition: fs_actioncallback.h:937
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:1972
Window position: at the center left.
Definition: fs_actioncallback.h:1089
DuplexType duplex_type
Sets the printing duplex mode to simplex, duplex long edge, or duplex short edge feed....
Definition: fs_actioncallback.h:1040
WString title
The user title.
Definition: fs_actioncallback.h:293
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
Mailed result: mail failed.
Definition: fs_actioncallback.h:2046
Header file for common definitions and classes.
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...
Brazilian Portuguese.
Definition: fs_actioncallback.h:1952
bool is_search_in_markup
Specifies whether markup (annotations) are searched for the query. Defaule value: false.
Definition: fs_actioncallback.h:1706
Relative type: align the floating window relative to the document (page) window.
Definition: fs_actioncallback.h:1109
Search scope: index.
Definition: fs_actioncallback.h:2064
virtual float GetPageScale()=0
A callback function to get current page zoom value.
PageOrder
Enumeration for the values used to determine how the multiple pages are laid out on the sheet.
Definition: fs_actioncallback.h:872
Resize type: may be resized only if the aspect ratio is preserved.
Definition: fs_actioncallback.h:1127
int width
The width of the dialog box in pixels.
Definition: fs_actioncallback.h:767
WordMatching word_matching
How individual words in the query will be matched to words in the document. This property is relevant...
Definition: fs_actioncallback.h:1734
virtual PointF GetMousePosition()=0
A callback function to get current mouse position.
virtual IdentityProperties GetIdentityProperties()=0
A callback function used to get identity properties of current user.
Window position: at the center right.
Definition: fs_actioncallback.h:1093
String name
The title bar of the dialog box.
Definition: fs_actioncallback.h:753
PrintContent print_content
Specif content for printing. Please refer to values starting from PrintParams::e_PrintContentDocument...
Definition: fs_actioncallback.h:1029
BookletBinding binding
The value determines the paper binding direction and the page arrange order. Please refer to values s...
Definition: fs_actioncallback.h:1056
Norwegian.
Definition: fs_actioncallback.h:1950
WordMatching
Enumeration for word matching.
Definition: fs_actioncallback.h:1573
DialogDescriptionElement(const DialogDescriptionElement &dlg_des_element)
Constructor, with another dialog description element object.
Definition: fs_actioncallback.h:528
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.
BookletBinding
Enumeration for the values used to determine the duplex printing mode when printing a booklet.
Definition: fs_actioncallback.h:847
virtual bool GetFullScreen()=0
A callback function to get whether the full screen mode is set.
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:1940
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
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.
Layout mode: continuous page.
Definition: fs_actioncallback.h:2032
virtual bool RemoveToolButtom(const wchar_t *button_name)=0
A callback function to remove a tool button added by the function ActionCallback::AddToolButton.
Booklet Binding: Right-side binding for text with right-to-left reading direction or Japanese-style v...
Definition: fs_actioncallback.h:864
virtual bool ShowDialog(const DialogDescriptionConfig &dlg_config)=0
A callback function to show the dialog.
bool tile_mark
true means to cut the page, and false means not.
Definition: fs_actioncallback.h:1044
Page Order type: pages are placed from top to bottom, from left to right.
Definition: fs_actioncallback.h:878
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
bool is_tile_label
Label each page of tiled output. Labeled pages indicate row and column, file name,...
Definition: fs_actioncallback.h:1042
WString department
The department name.
Definition: fs_actioncallback.h:295
Page Order type: pages are placed from right to left, from top to bottom.
Definition: fs_actioncallback.h:876
pdf::annots::Screen screen_annot
A pdf::annots::Screen object.
Definition: fs_actioncallback.h:1546
Chinese Simplified.
Definition: fs_actioncallback.h:1928
Relative type: align the floating window relative to the full virtual desktop.
Definition: fs_actioncallback.h:1113
PrintHandling handling
The print handling type.Please refer to values starting from PrintParams::e_PrintHandlingNone and thi...
Definition: fs_actioncallback.h:1052
virtual pdf::PDFDoc GetCurrentDoc()=0
A callback function to receive current PDF document object.
Relative type: align the floating window relative to the application window.
Definition: fs_actioncallback.h:1111
Duplex type: prints on one side of the paper.
Definition: fs_actioncallback.h:821
void Set(WString name, bool is_available, WString path, bool is_selected)
Set values.
Definition: fs_actioncallback.h:1795
media player state: Stop.
Definition: fs_actioncallback.h:2018
DuplexType
Enumeration for the values used to set the printing duplex mode.
Definition: fs_actioncallback.h:819
virtual WString GetUntitledBookmarkName()=0
A callback function to get the new name for an untitled bookmark.
virtual bool LaunchURL(const char *url)=0
A callback function to launch to a specified URL.
bool is_reverse
true means that the printing order should be from parameter end to parameter start.
Definition: fs_actioncallback.h:1005
AppInfoType
Enumeration for application's information type.
Definition: fs_actioncallback.h:1964
RelativeTarget
Enumeration for the values used to set relative position of floating window.
Definition: fs_actioncallback.h:1107
Page Order type: pages are placed from left to right, from top to bottom.
Definition: fs_actioncallback.h:874
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.
Print Content: print the contents of form fields only. Useful for printing onto pre-preprinted forms.
Definition: fs_actioncallback.h:811
SearchOption(const SearchOption &search_option)
Constructor, with another search option object.
Definition: fs_actioncallback.h:1625
Print Handling: Pages are enlarged or shrunk to fit the printe's paper.
Definition: fs_actioncallback.h:890
BYTE STRING CLASS.
Definition: fx_string.h:317
bool is_stemming
Specifies whether the search query will take the stemming of words (for example, run,...
Definition: fs_actioncallback.h:1720
Window position: at the bottom center.
Definition: fs_actioncallback.h:1097
bool is_whole_word
Specifies whether search finds only occurrences of complete words that are specified in the query....
Definition: fs_actioncallback.h:1700
javascript field value changed type: format.
Definition: fs_actioncallback.h:1998
virtual void SetCurrentPage(const pdf::PDFDoc &document, int page_index)=0
A callback function used to set the current page by index.
Mailed result: mail success.
Definition: fs_actioncallback.h:2048
virtual void Release()=0
A callback function used to release current callback object itself.
float tile_scale
The amount that tiled pages are scaled.
Definition: fs_actioncallback.h:1048
Booklet Binding: Left-side binding for Western-style left-to-right reading direction....
Definition: fs_actioncallback.h:859
virtual bool AddSubMenu(const MenuItemConfig &menu_item_config)=0
A callback function to add a menu item with a submenu to the application.
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.
bool is_available
Specifies whether the serch index is available for selection and searching. true means the index is a...
Definition: fs_actioncallback.h:1808
PrintParams()
Constructor.
Definition: fs_actioncallback.h:906
SearchIndexConfig()
Constructor.
Definition: fs_actioncallback.h:1743
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
WString last_name
The user last name.
Definition: fs_actioncallback.h:291
Definition: fs_signature.h:97
DialogDescriptionElement()
Constructor.
Definition: fs_actioncallback.h:486
SearchOption()
Constructor.
Definition: fs_actioncallback.h:1584
Definition: fx_coordinates.h:30
int char_height
Specifies the height of the element in characters.
Definition: fs_actioncallback.h:639
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
JSFieldValueChangeType
Enumeration for javascript field value change type.
Definition: fs_actioncallback.h:1996
Rotation
Enumeration for rotation.
Definition: fs_common.h:57
Window position: at the top center.
Definition: fs_actioncallback.h:1085
bool is_selected
Specifies whether the search index participates in the search. true means the index is searched as pa...
Definition: fs_actioncallback.h:1817
media player state: Suspend.
Definition: fs_actioncallback.h:2020
Booklet Duplex Mode: automatically prints both sides of the paper.
Definition: fs_actioncallback.h:835
Application's forms version information.
Definition: fs_actioncallback.h:1966
SearchIndexConfig & operator=(const SearchIndexConfig &search_index_config)
Assign operator.
Definition: fs_actioncallback.h:1777
WString URL
Either URL or rendition is required, with URL taking precedence.
Definition: fs_actioncallback.h:1556
bool is_proximity
Specifies whether the search query will reflect the proximity of words in the results ranking when pe...
Definition: fs_actioncallback.h:1715
OffScreenAction
Enumeration for the action can be taken if the floating window is positioned totally or partially off...
Definition: fs_actioncallback.h:1137
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
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:1948
Definition: fs_actioncallback.h:1458
bool is_simulate_overprinting
true means to do overprint preview when printing. false means not.
Definition: fs_actioncallback.h:1016
Word matching: match phrase.
Definition: fs_actioncallback.h:1575
void Set(bool is_whole_word, bool is_case_sensitive, bool is_search_bookmarks, bool is_search_in_marup, bool is_search_in_attachments, bool is_ignore_accents, bool is_proximity, bool is_stemming, bool is_ignore_full_width, int max_docs, WordMatching word_matching, bool is_search_doc_text)
Set values.
Definition: fs_actioncallback.h:1682
int char_height
The height of the dialog box in characters.
Definition: fs_actioncallback.h:788
bool is_search_doc_text
Specifies whether the document text is searched for the query. Defaule value: true.
Definition: fs_actioncallback.h:1736
int height
The height of the dialog box in pixels.
Definition: fs_actioncallback.h:774
German.
Definition: fs_actioncallback.h:1934
Search scope: active document.
Definition: fs_actioncallback.h:2060
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
Danish.
Definition: fs_actioncallback.h:1932
Foxit namespace.
Definition: fs_taggedpdf.h:27
virtual bool OpenDoc(const WString &file_path, const WString &password)=0
A callback function to open a PDF file.
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.
FloatingInfo & operator=(const FloatingInfo &floating_info)
Assign operator.
Definition: fs_actioncallback.h:1195
pdf::PDFDoc doc
The PDFDoc object of the document.
Definition: fs_actioncallback.h:1539
SearchScope
Enumeration for search scope.
Definition: fs_actioncallback.h:2058
Definition: fs_action.h:65
Search scope: folder.
Definition: fs_actioncallback.h:2062
WString login_name
The login name. Usually, this is the name used to log in current operating system.
Definition: fs_actioncallback.h:285
English.
Definition: fs_actioncallback.h:1936
bool is_ignore_full_width
Specifies whether full width and half width characters in the document exactly match the search query...
Definition: fs_actioncallback.h:1726
virtual MenuListArray GetMenuItemNameList()=0
A callback function to get the menu item name list.
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
bool bold
Specify if the font is bold.
Definition: fs_actioncallback.h:652
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
PrintHandling
Enumeration for the values used to determine how the multiple pages are laid out on the sheet.
Definition: fs_actioncallback.h:886
WString first_name
The user first name.
Definition: fs_actioncallback.h:289
virtual MenuItemEx PopupMenuEx(const MenuItemExArray &menus, bool &is_selected_item)=0
A callback function to pop up a menu window.
virtual foxit::pdf::Destination::ZoomMode GetPageZoomMode()=0
A callback function to get the current page zoom mode.
String font
The font to use for this element.
Definition: fs_actioncallback.h:650
Word matching: match any word.
Definition: fs_actioncallback.h:1579
Layout mode: single page.
Definition: fs_actioncallback.h:2030
PlayerArgs & operator=(const PlayerArgs &player_args)
Assign operator.
Definition: fs_actioncallback.h:1502
virtual WString GetFilePath(const pdf::PDFDoc &document)=0
A callback function to get the file path of current PDF document.
bool is_case_sensitive
Specifies whether the search query is case sensitive. Defaule value: false.
Definition: fs_actioncallback.h:1702
WString email
The email address.
Definition: fs_actioncallback.h:283
virtual void CloseDoc(const pdf::PDFDoc &document, bool is_prompt_to_save)=0
A callback function to close document.
virtual int GetCurrentPage(const pdf::PDFDoc &document)=0
A callback function used to receive current page index.
BookletDuplexMode
Enumeration for the values used to determine the duplex printing mode when printing a booklet.
Definition: fs_actioncallback.h:833
Application's viewer variation information.
Definition: fs_actioncallback.h:1970
JSMediaPlayerState
Enumeration for media player state.
Definition: fs_actioncallback.h:2010
DialogDescriptionConfig & operator=(const DialogDescriptionConfig &dlg_des_config)
Assign operator.
Definition: fs_actioncallback.h:714
Definition: fs_actioncallback.h:1074
Header file for PDF document related definitions and classes.
Japanese.
Definition: fs_actioncallback.h:1946
bool italic
Specify if the font is italic.
Definition: fs_actioncallback.h:654
bool has_close
true means the floating window should have a close window control button, while false means not.
Definition: fs_actioncallback.h:1252
javascript field value changed type: field set.
Definition: fs_actioncallback.h:2002
Mailed data type: form.
Definition: fs_actioncallback.h:1986
MailType
Enumeration for data type to be mailed.
Definition: fs_actioncallback.h:1982
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
Italian.
Definition: fs_actioncallback.h:1942
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 ...
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.
virtual WString GetAttachmentsFilePath(const pdf::PDFDoc &pdf_doc, const wchar_t *name)=0
A callback function to get the file path of attachments file.
WindowPosition
Enumeration for the window position used for media player.
Definition: fs_actioncallback.h:1081
Definition: fx_coordinates.h:771
virtual MediaPlayerCallback * OpenMediaPlayer(const PlayerArgs &player_args)=0
A callback function to open media player.
DialogDescriptionElementArray element_array
An array of object literals that describe the subelements of this dialog box element.
Definition: fs_actioncallback.h:660
Booklet Binding: Left-side binding for Western-style left-to-right reading direction....
Definition: fs_actioncallback.h:849
OffScreenAction off_screen
Specify what action should be taken if the floating window is positioned totally or partially offscre...
Definition: fs_actioncallback.h:1264
Window position: at the top left corner.
Definition: fs_actioncallback.h:1083
uint32 RGB
RGB color type, 24 bits, ((b) | ((g) << 8) | ((r) << 16)))
Definition: fs_basictypes.h:212
Definition: fs_pdfdoc.h:509
DialogDescriptionConfig()
Constructor.
Definition: fs_actioncallback.h:667
pdf::Rendition rendition
A pdf::Rendition object (either a MediaRendition or a RenditionList).
Definition: fs_actioncallback.h:1553
Print Handling: Small or normal pages are printed in the original size and large pages are printed on...
Definition: fs_actioncallback.h:899
PrintParams & operator=(const PrintParams &print_params)
Assign operator.
Definition: fs_actioncallback.h:969
Duplex type: prints on both sides of the paper; the paper flips along the long edge.
Definition: fs_actioncallback.h:823
Window position: at the bottom left corner.
Definition: fs_actioncallback.h:1095
Layout mode: continuous two pages.
Definition: fs_actioncallback.h:2036
ZoomMode
Enumeration for zoom mode.
Definition: fs_action.h:72
int char_width
The width of the dialog box in characters.
Definition: fs_actioncallback.h:781
Window position: at the center.
Definition: fs_actioncallback.h:1091
String name
The displayed name of the dialog box element.
Definition: fs_actioncallback.h:608
Finnish.
Definition: fs_actioncallback.h:1954
MediaSettings player_settings
A MediaSettings object.
Definition: fs_actioncallback.h:1562
Mailed result: user abort.
Definition: fs_actioncallback.h:2050
Relative type: align the floating window relative to the (selected) monitor display screen.
Definition: fs_actioncallback.h:1115
Search scope: active indexes.
Definition: fs_actioncallback.h:2066
Print Handling: Prints multiple pages on the same sheet of paper in the order required to read correc...
Definition: fs_actioncallback.h:901
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
IdentityProperties(const IdentityProperties &id_properities)
Constructor, with another identity properties object.
Definition: fs_actioncallback.h:244
Mailed data type: string message.
Definition: fs_actioncallback.h:1988
Window position: at the top right corner.
Definition: fs_actioncallback.h:1087
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
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
Application's app version information.
Definition: fs_actioncallback.h:1974
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...
Definition: fs_basictypes.h:224
Off screen action: take no action.
Definition: fs_actioncallback.h:1139
media player state: Open.
Definition: fs_actioncallback.h:2012
String type
The type of this dialog box element.
Definition: fs_actioncallback.h:612
Duplex type: prints on both sides of the paper; the paper flips along the short edge.
Definition: fs_actioncallback.h:825
Definition: fs_actioncallback.h:664
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
WString path
The path of the search index.
Definition: fs_actioncallback.h:1811
ResizeType
Enumeration for the resize type, which specifies whether a floating window may be resized by the user...
Definition: fs_actioncallback.h:1123
Word matching: match all words.
Definition: fs_actioncallback.h:1577
String next_tab
An ItemID for the next dialog box item in the tab order.
Definition: fs_actioncallback.h:614
String first_tab
An ItemID for the dialog box item that should be first in the tab order.
Definition: fs_actioncallback.h:760
Mailed data type: document.
Definition: fs_actioncallback.h:1984
DialogDescriptionConfig(const DialogDescriptionConfig &dlg_des_config)
Constructor, with another dialog description config object.
Definition: fs_actioncallback.h:697
bool is_search_in_attachments
Specifies whether any PDF file attachments should be searched along with the base document....
Definition: fs_actioncallback.h:1708
WString name
The name of search index.
Definition: fs_actioncallback.h:1802
media player state: Close.
Definition: fs_actioncallback.h:2014
Definition: fs_actioncallback.h:1740
PlayerArgs()
Constructor.
Definition: fs_actioncallback.h:1461
virtual bool IsLocalFile(const pdf::PDFDoc &document)=0
A callback function to check whether the file is local file.
Spanish.
Definition: fs_actioncallback.h:1938
DialogDescriptionElementArray element_array
An array of dialog description element array object.
Definition: fs_actioncallback.h:794
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:1956
WString title
This title to be displayed if has_title is true.
Definition: fs_actioncallback.h:1258
String item_id
An ItemID for this dialog box.
Definition: fs_actioncallback.h:610
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 LayoutMode GetLayoutMode()=0
A callback function to get the page layout of the current document.
PrintContent
Enumeration for the values used to set the contents of the print job.
Definition: fs_actioncallback.h:805
WIDE STRING CLASS.
Definition: fx_string.h:1452
virtual void SetFullScreen(bool is_full_screen)=0
A callback function to set full screen mode.
virtual uint32 VerifySignature(const pdf::PDFDoc &document, const pdf::Signature &pdf_signature)=0
A callback function to verify specified signature..
Definition: fs_common.h:1189
Definition: fs_image.h:36
float tile_overlap
The number of points that tiled pages have in common.
Definition: fs_actioncallback.h:1046
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 ...
String alignment
The alignment for this element.
Definition: fs_actioncallback.h:656
virtual pdf::PDFDoc CreateBlankDoc()=0
A callback function to create a blank PDF document object.
virtual void SelectPageNthWord(int page_index, int start_offset, int end_offset, bool is_show_selection)=0
A callback function to change the current page number and selects the specified word on the page.
SearchOption(bool is_whole_word, bool is_case_sensitive, bool is_search_bookmarks, bool is_search_in_marup, bool is_search_in_attachments, bool is_ignore_accents, bool is_proximity, bool is_stemming, bool is_ignore_full_width, int max_docs, WordMatching word_matching, bool is_search_doc_text)
Constructor, with parameters.
Definition: fs_actioncallback.h:1604
FloatingInfo(const FloatingInfo &floating_info)
Constructor, with another floating infomation object.
Definition: fs_actioncallback.h:1178
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
virtual bool RemoveSearchIndex(const SearchIndexConfig &search_index_config)=0
(Reserved, unsupported yet) A callback function to remove a search index.
Definition: fs_actioncallback.h:798
Language
Enumeration for language.
Definition: fs_actioncallback.h:1924
virtual bool AddToolButton(const ButtonItem &button_item)=0
A callback function to add a tool button.
Application's viewer type information.
Definition: fs_actioncallback.h:1968
Window position: at the bottom right corner.
Definition: fs_actioncallback.h:1099
IdentityProperties()
Constructor.
Definition: fs_actioncallback.h:214
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:196
PlayerArgs(const PlayerArgs &player_args)
Constructor, with another player args object.
Definition: fs_actioncallback.h:1487
Booklet Duplex Mode: only prints all pages that appear on the back side of the paper.
Definition: fs_actioncallback.h:839
virtual WString GetTemporaryDirectory()=0
A callback function to get temporary directory.
SearchIndexConfig(const SearchIndexConfig &search_index_config)
Constructor, with another search index config object.
Definition: fs_actioncallback.h:1764
int num_copies
The number of copies to be printed.
Definition: fs_actioncallback.h:1035
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.
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
WString printer_name
The default printer name for printing.
Definition: fs_actioncallback.h:1031
String align_children
The alignment for all descendants.
Definition: fs_actioncallback.h:658
virtual WStringArray GetPrinterNameList()=0
A callback function to get the printer name list.
virtual void Query(const wchar_t *keywords, SearchScope search_scope, const SearchOption &search_option, const wchar_t *di_path)=0
A callback function to query the text keywords.
SearchIndexConfig(WString name, bool is_available, WString path, bool is_selected)
Constructor, with parameters.
Definition: fs_actioncallback.h:1753
int char_width
Specifies the width of the element in characters.
Definition: fs_actioncallback.h:633
@2023 Foxit Software Incorporated. All rights reserved.