1 #ifndef FS_OFD_ATTACHMENT_H_ 2 #define FS_OFD_ATTACHMENT_H_ 16 class AttachmentDirectory;
402 typedef enum _ElectronicBillsType {
655 #endif // FS_OFD_ATTACHMENT_H_ bool IsEditable()
检查附件是否可编辑。
void SetFormat(const String &format)
设置格式。
bool operator==(const Attachment &other) const
相等操作符。
bool ExportElectronicBillsFile(int index, const String &file_path)
导出指定索引的电子凭证文件到指定路径。
void EnableExportable(bool exportable)
设置附件可导出性。
电子凭证类型:铁路电子客票接收方。
Definition: fs_ofdattachment.h:408
文件写入接口。
Definition: fx_stream.h:470
void SetCreationDate(const foxit::DateTime &creation_date)
设置创建日期。
void EnableVisible(bool visible)
设置附件可见性。
CFX_Object Object
对象类型。
Definition: fs_basictypes.h:220
电子凭证类型:增值税电子专用发票开具方。
Definition: fs_ofdattachment.h:414
String GetModifier()
获取修改者名称。
void SetDescription(const String &description)
设置描述。
bool operator==(const Attachments &other) const
相等操作符。
ElectronicBillsType GetElectronicBillsType(int index)
获取指定索引的电子凭证类型。
电子凭证类型:数电票专用发票。
Definition: fs_ofdattachment.h:426
Definition: fs_ofdattachment.h:122
电子凭证类型:增值税电子普通发票开具方。
Definition: fs_ofdattachment.h:410
Definition: fs_basictypes.h:498
bool RemoveAllAttachments()
删除所有附件对象。
bool IsDeletable()
检查附件是否可删除。
void SetModDate(const foxit::DateTime &modification_date)
设置修改日期。
电子凭证类型:银行电子回单开具方。
Definition: fs_ofdattachment.h:418
电子凭证类型:财政电子票据。
Definition: fs_ofdattachment.h:436
文件读取接口。
Definition: fx_stream.h:587
电子凭证类型:电子客票行程单接收方。
Definition: fs_ofdattachment.h:430
电子凭证类型:银行电子回单接收方。
Definition: fs_ofdattachment.h:420
bool IsEmpty() const
检查当前对象是否为空。
宽字符串类
Definition: fx_string.h:1457
int GetAttachmentCount()
获取附件的数量。
AttachmentInfo GetAttachmentInfo()
获取附件信息。
Attachment GetAttachmentDirectoryExtAttribute(int index)
获取指定索引的附件目录扩展属性。
bool operator !=(const Attachments &other) const
不相等操作符。
bool GetFile(const String &file_path)
导出文件到指定路径。
String format
附件格式。
Definition: fs_ofdattachment.h:100
Definition: fs_ofdattachment.h:395
bool SetFile(const String &file_path, const String &name=String())
通过文件设置附件内容。
void SetName(const String &name)
设置名称。
void SetAttachmentInfo(const AttachmentInfo &info)
设置附件信息。
Attachments(const Attachments &other)
构造函数,通过另一个附件集合对象。
Attachments & operator=(const Attachments &other)
赋值操作符。
Attachment(const Attachment &other)
构造函数,通过另一个附件对象。
Attachment GetAttachment(int index)
获取指定索引的附件对象。
String GetAttachmentDirectoryExtInfoFile()
获取附件目录扩展信息,格式为xml。
foxit::uint32 GetID()
获取ID。
bool IsEmpty() const
检查当前对象是否为空。
电子凭证类型:增值税电子专用发票接收方。
Definition: fs_ofdattachment.h:416
String GetDescription()
获取描述。
Attachment AddAttachment()
添加一个新的附件对象。
电子凭证类型:未知。
Definition: fs_ofdattachment.h:404
bool SetAttachmentDirectoryExtInfoFile(const String &file_path)
通过文件设置附件目录扩展信息,格式为xml。
电子凭证类型:电子非税收入一般缴款书开具方。
Definition: fs_ofdattachment.h:432
电子凭证类型:银行电子对账单。
Definition: fs_ofdattachment.h:422
FX_UINT32 uint32
无符号 32 位整数。
Definition: fs_basictypes.h:195
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:213
CFX_ByteString String
字节字符串。
Definition: fs_basictypes.h:224
int GetAttachmentDirectoryExtAttributeCount()
获取附件目录扩展属性数量。
String name
附件名称。
Definition: fs_ofdattachment.h:94
Attachment & operator=(const Attachment &other)
赋值操作符。
bool RemoveAttachment(int index)
删除指定索引的附件对象。
void SetModifier(const String &modifier)
设置修改者名称。
Definition: fs_basictypes.h:465
电子凭证类型:数电票普通发票。
Definition: fs_ofdattachment.h:424
AttachmentInfo(const AttachmentInfo &other)
构造函数,通过另一个附件信息对象。
Definition: fs_ofdattachment.h:47
电子凭证类型:电子客票行程单开具方。
Definition: fs_ofdattachment.h:428
Definition: fs_ofdattachmentdirectory.h:20
AttachmentDirectory GetAttachmentDirectory()
获取附件目录对象。
foxit::DateTime creation_date
附件创建日期。
Definition: fs_ofdattachment.h:112
void EnableEditable(bool editable)
设置附件可编辑性。
Foxit命名空间。
Definition: fs_pdf3d.h:26
电子凭证类型:铁路电子客票开具方。
Definition: fs_ofdattachment.h:406
bool IsVisible()
检查附件是否可见。
void SetUsage(const String &usage)
设置用途。
字节字符串类
Definition: fx_string.h:317
Attachment GetAttachmentByID(foxit::uint32 id)
通过ID获取附件对象。
bool operator !=(const Attachment &other) const
不相等操作符。
AttachmentInfo(const String &name, const String &format, const String &usage, const foxit::DateTime &creation_date, const foxit::DateTime &modification_date)
带参数的构造函数。
Definition: fs_ofdattachment.h:35
AttachmentDirectory CreateAttachmentDirectory()
创建附件目录对象。
foxit::DateTime modification_date
附件修改日期。
Definition: fs_ofdattachment.h:118
void EnableDeletable(bool deletable)
设置附件可删除性。
AttachmentInfo()
构造函数。
Definition: fs_ofdattachment.h:24
bool IsExportable()
检查附件是否可导出。
电子凭证类型:增值税电子普通发票接收方 。
Definition: fs_ofdattachment.h:412
ElectronicBillsType
OFD电子凭证定义枚举类型。
Definition: fs_ofdattachment.h:402
电子凭证类型:电子非税收入一般缴款书接收方。
Definition: fs_ofdattachment.h:434
int GetElectronicBillsCount()
获取电子凭证的数量。
Definition: fs_ofdattachment.h:19
void Set(const String &name, const String &format, const String &usage, const foxit::DateTime &creation_date, const foxit::DateTime &modification_date)
设置值。
Definition: fs_ofdattachment.h:82
String usage
附件用途。
Definition: fs_ofdattachment.h:106
AttachmentInfo & operator=(const AttachmentInfo &other)
赋值操作符。
Definition: fs_ofdattachment.h:62