機能概要

機能サマリー

Aspose.PDF FOSS for Java は、PDF 文書の作成と操作のための包括的な Java ライブラリであり、以下の機能領域をカバーしています:

文書構造

  • 引数なしの Document クラスコンストラクタを使用して新しい PDF 文書を作成する
  • 既存の文書に Document(filePath) または Document(stream) コンストラクタでアクセスする
  • ページは PageCollection を介して Document.getPages() によって管理する
  • 各 Page は getMediaBox()、getCropBox()、getRotate()、および getAnnotations() を公開します
  • PDF カタログへは getCatalog() を介して、トレーラーへは getTrailer() を介してアクセスします。
  • getEmbeddedFiles() を介して埋め込みファイルを管理します。

注釈

Annotation 抽象クラスはすべての PDF 注釈の基礎です。具体的なタイプには WidgetAnnotation、FreeTextAnnotation、HighlightAnnotation、UnderlineAnnotation、CircleAnnotation、CaretAnnotation などがあります。各注釈は Page 上の Rectangle 位置に配置されます。

インタラクティブ フォーム

Form クラス(Document.getForm() 経由)は AcroForm フィールドを管理します。フィールドタイプには ButtonField、CheckboxField、RadioButtonField、TextBoxField、ComboBoxField、ListBoxField が含まれます。FormEditor クラスは大量のフォーム編集のための便利メソッドを提供します。

ページ操作

PdfFileEditor はページレベルのドキュメント操作のために concatenate()、extract()、splitToPages()、insert()、delete() を提供します。ContentsResizeParameters と ContentsResizeValue はページ境界内でのコンテンツのスケーリングを制御します。

PDF/A コンプライアンス

ActionRules は PDF/A のアクション適合性を検証します; ActionFixes は removeCatalogAA()、removePageAA()、removeWidgetAA() を通じて修正を提供します。AnnotationRules と AnnotationFixes は注釈レベルのコンプライアンスを処理します。

Security

AESCipher は AES-CBC 暗号化を encrypt(key, data)、decrypt(key, data)、および決定的 IV バリアントと共に提供します。PdfFileSecurity は文書レベルのパスワード保護とアクセス権限を管理します。

ページレンダリング

BmpDevice は PDF ページを BMP 画像ファイルにレンダリングし、サムネイル生成やプレビューに使用します。PdfPageRenderer はプログラムによるページレンダリングを提供します。

Facades

org.aspose.pdf.facades パッケージは、PdfAnnotationEditor、PdfBookmarkEditor、PdfContentEditor、PdfExtractor、PdfFileSecurity、PdfFileStamp、および PdfPageEditor を含むタスク指向のクラスを提供します。

参照

 日本語