|
Foxit PDF SDK
|
Public 类型 | |
| enum | ElectronicBillsType { e_ElectronicUnknown = 0, e_ElectronicRAIIssuer = 1, e_ElectronicRAIReceiver = 2, e_ElectronicInvoiceOrdIssuer = 3, e_ElectronicInvoiceOrdReceiver = 4, e_ElectronicInvoiceSpclIssuer = 5, e_ElectronicInvoiceSpclReceiver = 6, e_ElectronicBkerIssuer = 7, e_ElectronicBkerReceiver = 8, e_ElectronicBkrs = 9, e_ElectronicEinvOrd = 10, e_ElectronicEinvSpcl = 11, e_ElectronicATRIssuer = 12, e_ElectronicATRReceiver = 13, e_ElectronicNTREVIssuer = 14, e_ElectronicNTREVReceiver = 15, e_ElectronicEFI = 16 } |
| OFD电子凭证定义枚举类型。 更多... | |
此类表示和OFD附件集合相关的操作。
OFD电子凭证定义枚举类型。
该枚举值应单独使用。
| foxit::ofd::Attachments::Attachments | ( | const Attachments & | other | ) |
构造函数,通过另一个附件集合对象。
| [in] | other | 另一个附件集合对象。 |
| Attachment foxit::ofd::Attachments::AddAttachment | ( | ) |
添加一个新的附件对象。
| AttachmentDirectory foxit::ofd::Attachments::CreateAttachmentDirectory | ( | ) |
创建附件目录对象。
| bool foxit::ofd::Attachments::ExportElectronicBillsFile | ( | int | index, |
| const String & | file_path | ||
| ) |
导出指定索引的电子凭证文件到指定路径。
| [in] | index | 指定的索引。有效范围:从0到(count - 1)。 count由函数 foxit::ofd::Attachments::GetElectronicBillsCount 返回。 |
| [in] | file_path | 指定的文件路径。 |
| bool foxit::ofd::Attachments::ExportElectronicBillsFile | ( | int | index, |
| const WString & | file_path | ||
| ) |
导出指定索引的电子凭证文件到指定路径。
| [in] | index | 指定的索引。有效范围:从0到(count - 1)。 count由函数 foxit::ofd::Attachments::GetElectronicBillsCount 返回。 |
| [in] | file_path | 指定的文件路径。 |
| Attachment foxit::ofd::Attachments::GetAttachment | ( | int | index | ) |
获取指定索引的附件对象。
| [in] | index | 指定的索引。有效范围:从0到(count - 1)。 count由函数 foxit::ofd::Attachments::GetAttachmentCount 返回。 |
| Attachment foxit::ofd::Attachments::GetAttachmentByID | ( | foxit::uint32 | id | ) |
通过ID获取附件对象。
| [in] | index | 指定的ID。 |
| int foxit::ofd::Attachments::GetAttachmentCount | ( | ) |
获取附件的数量。
| AttachmentDirectory foxit::ofd::Attachments::GetAttachmentDirectory | ( | ) |
获取附件目录对象。
| Attachment foxit::ofd::Attachments::GetAttachmentDirectoryExtAttribute | ( | int | index | ) |
获取指定索引的附件目录扩展属性。
| [in] | index | 指定的索引。有效范围:从0到(count - 1)。 count由函数 foxit::ofd::Attachments::GetAttachmentDirectoryExtAttributeCount 返回。 |
| int foxit::ofd::Attachments::GetAttachmentDirectoryExtAttributeCount | ( | ) |
获取附件目录扩展属性数量。
| String foxit::ofd::Attachments::GetAttachmentDirectoryExtInfoFile | ( | ) |
获取附件目录扩展信息,格式为xml。
| bool foxit::ofd::Attachments::GetAttachmentDirectoryExtInfoFile | ( | const String & | file_path | ) |
导出附件目录扩展信息到文件,格式为xml。
| [in] | file_path | 指定的文件路径。 |
| bool foxit::ofd::Attachments::GetAttachmentDirectoryExtInfoFile | ( | const WString & | file_path | ) |
导出附件目录扩展信息到文件,格式为xml。
| [in] | file_path | 指定的文件路径。 |
| int foxit::ofd::Attachments::GetElectronicBillsCount | ( | ) |
获取电子凭证的数量。
| ElectronicBillsType foxit::ofd::Attachments::GetElectronicBillsType | ( | int | index | ) |
获取指定索引的电子凭证类型。
| [in] | index | 指定的索引。有效范围:从0到(count - 1)。 count由函数 foxit::ofd::Attachments::GetElectronicBillsCount 返回。 |
| bool foxit::ofd::Attachments::IsEmpty | ( | ) | const |
检查当前对象是否为空。
当前对象为空时,表示当前对象是无用的。
| bool foxit::ofd::Attachments::operator != | ( | const Attachments & | other | ) | const |
不相等操作符。
| [in] | other | 另一个附件集合对象。此函数将检查当前对象是否不等于这个对象。 |
| Attachments& foxit::ofd::Attachments::operator= | ( | const Attachments & | other | ) |
赋值操作符。
| [in] | other | 另一个附件集合对象,其值将被赋给当前对象。 |
| bool foxit::ofd::Attachments::operator== | ( | const Attachments & | other | ) | const |
相等操作符。
| [in] | other | 另一个附件集合对象。此函数将检查当前对象是否等于这个对象。 |
| bool foxit::ofd::Attachments::RemoveAllAttachments | ( | ) |
删除所有附件对象。
| bool foxit::ofd::Attachments::RemoveAttachment | ( | int | index | ) |
删除指定索引的附件对象。
| [in] | index | 指定的索引。有效范围:从0到(count - 1)。 count由函数 foxit::ofd::Attachments::GetAttachmentCount 返回。 |
| bool foxit::ofd::Attachments::SetAttachmentDirectoryExtInfoFile | ( | const String & | file_path | ) |
通过文件设置附件目录扩展信息,格式为xml。
| [in] | file_path | 指定的文件路径。 |
| bool foxit::ofd::Attachments::SetAttachmentDirectoryExtInfoFile | ( | const WString & | file_path | ) |
通过文件设置附件目录扩展信息,格式为xml。
| [in] | file_path | 指定的文件路径。 |