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,
218 e_FlagTextDoNotScroll = 0x400,
224 e_FlagTextComb = 0x800,
229 e_FlagComboEdit = 0x100,
234 e_FlagChoiceMultiSelect = 0x100
277 bool operator != (
const Field& other)
const;
289 bool IsEmpty()
const;
297 Type GetType()
const;
319 void SetFlags(
uint32 flags);
336 WString GetDefaultValue()
const;
348 void SetDefaultValue(
const wchar_t* value);
386 void SetValue(
const wchar_t* value);
430 WString GetAlternateName()
const;
445 void SetAlternateName(
const wchar_t* alternate_name);
474 WString GetMappingName()
const;
486 void SetMappingName(
const wchar_t* name);
495 int GetMaxLength()
const;
506 void SetMaxLength(
int max_length);
539 int GetTopVisibleIndex();
552 void SetTopVisibleIndex(
int index);
559 int GetControlCount()
const;
1271 #endif // FS_PDFFORM_H_
CFX_Object Object
Object type.
Definition: fs_basictypes.h:219
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:389
bool operator==(const char *str1, const CFX_ByteString &str2)
Check if two byte strings are equal.
Definition: fs_basictypes.h:128
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:198
Definition: fs_pdfpage.h:342
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:216
Header file for common definitions and classes.
Alignment
Enumeration for alignment (horizontal).
Definition: fs_common.h:362
Header file for PDF object related definitions and classes.
Definition: fs_basictypes.h:399
Definition: fs_pdfobject.h:763
Foxit namespace.
Definition: fs_compare.h:27
Definition: fs_pdfobject.h:55
#define NULL
The null-pointer value.
Definition: fx_system.h:767
Definition: fx_coordinates.h:1076
Definition: fx_coordinates.h:771