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 {
182 e_FlagReadOnly = 0x01,
184 e_FlagRequired = 0x02,
186 e_FlagNoExport = 0x04,
192 e_FlagButtonNoToggleToOff = 0x100,
198 e_FlagButtonRadiosInUnison = 0x200,
203 e_FlagTextMultiline = 0x100,
210 e_FlagTextPassword = 0x200,
215 e_FlagTextFileSelect = 0x400,
217 e_FlagTextNoSpellCheck = 0x800,
223 e_FlagTextDoNotScroll = 0x1000,
229 e_FlagTextComb = 0x2000,
234 e_FlagComboEdit = 0x100,
239 e_FlagChoiceMultiSelect = 0x100,
241 e_FlagTextRichText = 0x4000,
243 e_FlagChoiceSort = 0x200,
248 e_FlagChoiceCommitOnSelChange = 0x400
290 bool operator != (
const Field& other)
const;
302 bool IsEmpty()
const;
310 Type GetType()
const;
332 void SetFlags(
uint32 flags);
348 WString GetDefaultValue()
const;
360 void SetDefaultValue(
const wchar_t* value);
399 void SetValue(
const wchar_t* value);
440 WString GetAlternateName()
const;
454 void SetAlternateName(
const wchar_t* alternate_name);
483 WString GetMappingName()
const;
495 void SetMappingName(
const wchar_t* name);
504 int GetMaxLength()
const;
515 void SetMaxLength(
int max_length);
548 int GetTopVisibleIndex();
561 void SetTopVisibleIndex(
int index);
568 int GetControlCount()
const;
1037 #endif // #ifndef _FX_NO_JSE_ 1107 bool ExportToCSV(
const wchar_t* csv_file_path,
const wchar_t* pdf_file_name,
bool is_append);
1415 #endif // FS_PDFFORM_H_
文件写入接口。
Definition: fx_stream.h:470
CFX_Object Object
对象类型。
Definition: fs_basictypes.h:221
Definition: fx_coordinates.h:30
Definition: fs_annot.h:50
宽字符串类
Definition: fx_string.h:1457
Definition: fs_pdfdoc.h:771
bool operator==(const char *str1, const CFX_ByteString &str2)
检查两个字节字符串是否相等。
Definition: fs_basictypes.h:128
文件流接口,用于读取和写入。
Definition: fx_stream.h:692
FX_UINT32 uint32
无符号 32 位整数。
Definition: fs_basictypes.h:196
Definition: fs_pdfpage.h:421
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:214
Alignment
对齐方式(水平)枚举。
Definition: fs_common.h:94
Definition: fs_basictypes.h:449
Definition: fs_pdfobject.h:848
Foxit命名空间。
Definition: fs_taggedpdf.h:27
Definition: fs_pdfobject.h:55
#define NULL
空指针值。
Definition: fx_system.h:792
Definition: fx_coordinates.h:1076
Definition: fx_coordinates.h:771