54 , default_selected(false) {}
66 ChoiceOption(
const wchar_t* option_value,
const wchar_t* option_label,
bool selected,
bool default_selected)
67 : option_value(option_value)
68 , option_label(option_label)
70 , default_selected(default_selected) {}
78 : option_value(option.option_value)
79 , option_label(option.option_label)
80 , selected(option.selected)
81 , default_selected(option.default_selected) {}
110 void Set(
const wchar_t* option_value,
const wchar_t* option_label,
bool selected,
bool default_selected) {
111 this->option_value = option_value;
112 this->option_label = option_label;
113 this->selected = selected;
114 this->default_selected = default_selected;
156 e_TypePushButton = 1,
160 e_TypeRadioButton = 3,
176 typedef enum _Flags {
183 e_FlagReadOnly = 0x01,
185 e_FlagRequired = 0x02,
187 e_FlagNoExport = 0x04,
193 e_FlagButtonNoToggleToOff = 0x100,
199 e_FlagButtonRadiosInUnison = 0x200,
204 e_FlagTextMultiline = 0x100,
212 e_FlagTextPassword = 0x200,
217 e_FlagTextFileSelect = 0x400,
219 e_FlagTextNoSpellCheck = 0x800,
225 e_FlagTextDoNotScroll = 0x1000,
231 e_FlagTextComb = 0x2000,
236 e_FlagComboEdit = 0x100,
241 e_FlagChoiceMultiSelect = 0x100,
243 e_FlagTextRichText = 0x4000,
245 e_FlagChoiceSort = 0x200,
250 e_FlagChoiceCommitOnSelChange = 0x400
293 bool operator != (
const Field& other)
const;
305 bool IsEmpty()
const;
313 Type GetType()
const;
335 void SetFlags(
uint32 flags);
352 WString GetDefaultValue()
const;
364 void SetDefaultValue(
const wchar_t* value);
403 void SetValue(
const wchar_t* value);
447 WString GetAlternateName()
const;
462 void SetAlternateName(
const wchar_t* alternate_name);
491 WString GetMappingName()
const;
503 void SetMappingName(
const wchar_t* name);
512 int GetMaxLength()
const;
523 void SetMaxLength(
int max_length);
556 int GetTopVisibleIndex();
569 void SetTopVisibleIndex(
int index);
576 int GetControlCount()
const;
1055 #endif // #ifndef _FX_NO_JSE_ 1125 bool ExportToCSV(
const wchar_t* csv_file_path,
const wchar_t* pdf_file_name,
bool is_append);
1438 #endif // FS_PDFFORM_H_
File writing interface.
Definition: fx_stream.h:451
CFX_Object Object
Object type.
Definition: fs_basictypes.h:217
Header file for FDF doucument related definitions and classes.
Definition: fx_coordinates.h:30
Definition: fs_annot.h:51
WIDE STRING CLASS.
Definition: fx_string.h:1452
Definition: fs_pdfdoc.h:508
bool operator==(const char *str1, const CFX_ByteString &str2)
Check if two byte strings are equal.
Definition: fs_basictypes.h:128
File stream interface, reading & writing.
Definition: fx_stream.h:669
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:196
Definition: fs_pdfpage.h:411
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:214
Header file for common definitions and classes.
Alignment
Enumeration for alignment (horizontal).
Definition: fs_common.h:75
Header file for PDF object related definitions and classes.
Definition: fs_basictypes.h:407
Definition: fs_pdfobject.h:800
Foxit namespace.
Definition: fs_taggedpdf.h:27
Definition: fs_pdfobject.h:55
#define NULL
The null-pointer value.
Definition: fx_system.h:780
Definition: fx_coordinates.h:1076
Definition: fx_coordinates.h:771