Go to the documentation of this file.
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
305 bool IsEmpty()
const;
313 Type GetType()
const;
335 void SetFlags(
uint32 flags);
351 WString GetDefaultValue()
const;
363 void SetDefaultValue(
const wchar_t* value);
402 void SetValue(
const wchar_t* value);
446 WString GetAlternateName()
const;
461 void SetAlternateName(
const wchar_t* alternate_name);
490 WString GetMappingName()
const;
502 void SetMappingName(
const wchar_t* name);
511 int GetMaxLength()
const;
522 void SetMaxLength(
int max_length);
555 int GetTopVisibleIndex();
568 void SetTopVisibleIndex(
int index);
575 int GetControlCount()
const;
1052 #endif // #ifndef _FX_NO_JSE_
1122 bool ExportToCSV(
const wchar_t* csv_file_path,
const wchar_t* pdf_file_name,
bool is_append);
1435 #endif // FS_PDFFORM_H_
File writing interface.
Definition: fx_stream.h:453
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:214
CFX_Object Object
Object type.
Definition: fs_basictypes.h:221
File stream interface, reading & writing.
Definition: fx_stream.h:675
Header file for common definitions and classes.
Alignment
Enumeration for alignment (horizontal).
Definition: fs_common.h:75
Definition: fs_pdfobject.h:55
Definition: fx_coordinates.h:30
bool operator==(const char *str1, const CFX_ByteString &str2)
Check if two byte strings are equal.
Definition: fs_basictypes.h:128
Header file for PDF object related definitions and classes.
Foxit namespace.
Definition: fs_taggedpdf.h:27
Definition: fs_pdfobject.h:809
bool operator!=(const char *str1, const CFX_ByteString &str2)
Check if two byte strings are not equal.
Definition: fs_basictypes.h:140
Header file for FDF doucument related definitions and classes.
#define NULL
The null-pointer value.
Definition: fx_system.h:780
Definition: fx_coordinates.h:771
Definition: fs_pdfdoc.h:610
Definition: fs_pdfpage.h:412
Definition: fx_coordinates.h:1076
Definition: fs_annot.h:52
WIDE STRING CLASS.
Definition: fx_string.h:1452
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:196
Definition: fs_basictypes.h:427
@2024 Foxit Software Incorporated. All rights reserved.