PDF への変換時にドキュメント構造をエクスポート

Contents
[ ]

PDF の論理構造機能は、PDF ファイルに文書コンテンツ構造に関する情報を組み込むメカニズムを提供します。Aspose.Cells は、Microsoft Excel ドキュメントからセル、行、テーブル、ワークシート、画像、シェイプ、ヘッダー/フッターなどの構造に関する情報を保存します。

オプション PdfSaveOptions.ExportDocumentStructure を使用すると、タグ付きの PDF としてドキュメント構造をエクスポートして保存できます。

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java
// Open the excel file with image, shape, chart, etc.
Workbook wb = new Workbook("document-structure-example.xlsx");
// Set to export document structure.
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.setExportDocumentStructure(true);
// Save the pdf file with PdfSaveOptions
wb.save("output.pdf", pdfSaveOptions);