PdfFileInfo
概要
PdfFileInfo は Aspose.PDF の C++ 用 FOSS に含まれるクラスです。
PdfFileInfo は、Author、Creator などの標準メタデータフィールドの getter と setter、そしてカスタムキーを GetMetaInfo(name) および SetMetaInfo(name, value) で提供します。
このクラスは C++ プログラムで PdfFileInfo オブジェクトを操作するための 39 のメソッドを提供します。利用可能なメソッドには、Author、BindPdf、ClearInfo、CreationDate、Creator、GetMetaInfo、GetPageHeight、GetPageRotation、GetPageWidth、GetPageXOffset、GetPageYOffset、GetPdfVersion、およびさらに 18 のメソッドがあります。Aspose.PDF の C++ 用 FOSS パッケージをインストールすれば、すべての public メンバーは任意の C++ アプリケーションから利用可能です。
メソッド
| シグネチャ | 説明 |
|---|---|
PdfFileInfo() | このPdfFileInfoインスタンスでPdfFileInfoを呼び出します。 |
BindPdf(srcDoc: Aspose::Pdf::Document) | このPdfFileInfoインスタンスでBindPdf(srcDoc)を呼び出します。 |
ClearInfo() | このPdfFileInfoインスタンスでClearInfoを呼び出します。 |
GetMetaInfo(name: std::string) → std::string | このPdfFileInfoインスタンスでGetMetaInfo(name)を呼び出します。 |
SetMetaInfo(name: std::string, value: std::string) | メタ情報の値を設定します。 |
GetPageHeight(pageNum: int) → float | この PdfFileInfo インスタンスで GetPageHeight(pageNum) を呼び出します。 |
GetPageRotation(pageNum: int) → float | この PdfFileInfo インスタンスで GetPageRotation(pageNum) を呼び出します。 |
GetPageWidth(pageNum: int) → float | この PdfFileInfo インスタンスで GetPageWidth(pageNum) を呼び出します。 |
GetPageXOffset(pageNum: int) → float | この PdfFileInfo インスタンスで GetPageXOffset(pageNum) を呼び出します。 |
GetPageYOffset(pageNum: int) → float | この PdfFileInfo インスタンスで GetPageYOffset(pageNum) を呼び出します。 |
GetPdfVersion() → std::string | pdf バージョンを返します。 |
SaveNewInfo(outputFile: std::string) → bool | この PdfFileInfo インスタンスで SaveNewInfo(outputFile) を呼び出します。 |
SaveNewInfoWithXmp(outputFileName: std::string) → bool | この PdfFileInfo インスタンスで SaveNewInfoWithXmp(outputFileName) を呼び出します。 |
Author() → std::string | この PdfFileInfo インスタンスで Author を呼び出します。 |
Author(value: std::string) | この PdfFileInfo インスタンスで Author(value) を呼び出します。 |
CreationDate() → std::string | この PdfFileInfo インスタンスで CreationDate を呼び出します。 |
CreationDate(value: std::string) | この PdfFileInfo インスタンスで CreationDate(value) を呼び出します。 |
Creator() → std::string | この PdfFileInfo インスタンスで Creator を呼び出します。 |
Creator(value: std::string) | この PdfFileInfo インスタンスで Creator(value) を呼び出します。 |
Keywords() → std::string | この PdfFileInfo インスタンスで Keywords を呼び出します。 |
Keywords(value: std::string) | この PdfFileInfo インスタンスで Keywords(value) を呼び出します。 |
ModDate() → std::string | この PdfFileInfo インスタンスで ModDate を呼び出します。 |
ModDate(value: std::string) | この PdfFileInfo インスタンスで ModDate(value) を呼び出します。 |
Producer() → std::string | この PdfFileInfo インスタンスで Producer を呼び出します。 |
Subject() → std::string | この PdfFileInfo インスタンスで Subject を呼び出します。 |
Subject(value: std::string) | この PdfFileInfo インスタンスで Subject(value) を呼び出します。 |
Title() → std::string | この PdfFileInfo インスタンスで Title を呼び出します。 |
Title(value: std::string) | この PdfFileInfo インスタンスで Title(value) を呼び出します。 |
IsEncrypted() → bool | encrypted が設定されている場合は true を返します。 |
IsPdfFile() → bool | pdf ファイルが設定されている場合は true を返します。 |
UseStrictValidation() → bool | この PdfFileInfo インスタンスで UseStrictValidation を呼び出します。 |
UseStrictValidation(value: bool) | この PdfFileInfo インスタンスで UseStrictValidation(value) を呼び出します。 |
HasCollection() → bool | コレクションが存在する場合は true を返します。 |
InputFile() → std::string | この PdfFileInfo インスタンスで InputFile を呼び出します。 |
InputFile(value: std::string) | この PdfFileInfo インスタンスで InputFile(value) を呼び出します。 |
NumberOfPages() → int | この PdfFileInfo インスタンスで NumberOfPages を呼び出します。 |
PasswordType() → Aspose::Pdf::PasswordType | この PdfFileInfo インスタンスで PasswordType を呼び出します。 |
HasOpenPassword() → bool | オープンパスワードが存在する場合は true を返します。 |
HasEditPassword() → bool | 編集パスワードが存在する場合は true を返します。 |