Document
概要
Document は Aspose.PDF の C++ 用 FOSS におけるクラスです。
ドキュメントのメタデータは Document.Info() とアクセサメソッド Title()、Author()、Creator()、Producer()、Subject()、および Keywords() を通じて取得できます。
このクラスは C++ プログラムで Document オブジェクトを操作するための 22 のメソッドを提供します。利用可能なメソッドは Decrypt、Document、EmbeddedFiles、Encrypt、Form、Info、IsEncrypted、Metadata、NamedDestinations、Optimize、OptimizeResources、Outlines、および追加の 5 つのメソッドです。Aspose.PDF の C++ 用 FOSS パッケージをインストールすれば、すべての公開メンバーは任意の C++ アプリケーションから利用可能になります。アクセサメソッド: Document。
アクセサーメソッド
| 名前 | 型 | アクセス | 説明 |
|---|---|---|---|
Document | Document | 読み取り | ドキュメントを取得します。 |
メソッド
| シグネチャ | 説明 |
|---|---|
Document() → Document | この Document インスタンスで Document を呼び出します。 |
IsEncrypted() → bool | encrypted が設定されている場合、true を返します。 |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm) | この Document インスタンスで Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm) を呼び出します。 |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | この Document インスタンスで Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm, usePdf20) を呼び出します。 |
Permissions() → int | この Document インスタンスで Permissions を呼び出します。 |
Optimize() | この Document インスタンスで Optimize を呼び出します。 |
OptimizeResources() | この Document インスタンスで OptimizeResources を呼び出します。 |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm) | この Document インスタンスで Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm) を呼び出します。 |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | この Document インスタンスで Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm, usePdf20) を呼び出します。 |
Decrypt() | この Document インスタンスで Decrypt を呼び出します。 |
Document() | |
Save(outputFileName: std::string) | この Document インスタンスで Save(outputFileName) を呼び出します。 |
Save() | |
SetTitle(title: std::string) | タイトルの値を設定します。 |
Info() → DocumentInfo | この Document インスタンスで Info を呼び出します。 |
Metadata() → Aspose::Pdf::Metadata | この Document インスタンスで Metadata を呼び出します。 |
Pages() → PageCollection | この Document インスタンスに対して Pages を呼び出します。 |
EmbeddedFiles() → EmbeddedFileCollection | この Document インスタンスに対して EmbeddedFiles を呼び出します。 |
NamedDestinations() → NamedDestinationCollection | この Document インスタンスに対して NamedDestinations を呼び出します。 |
Outlines() → OutlineCollection | この Document インスタンスに対して Outlines を呼び出します。 |
PageLabels() → PageLabelCollection | この Document インスタンスで PageLabels を呼び出します。 |
Form() → Aspose::Pdf::Forms::Form | この Document インスタンスで Form を呼び出します。 |