Document

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。

アクセサーメソッド

名前型アクセス説明
DocumentDocument読み取りドキュメントを取得します。

メソッド

シグネチャ説明
Document() → Documentこの Document インスタンスで Document を呼び出します。
IsEncrypted() → boolencrypted が設定されている場合、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 を呼び出します。

参照

 日本語