Exportera dokumentstruktur vid konvertering till PDF

Contents
[ ]

PDF:s logiska strukturfaciliteter ger en mekanism för att införliva information om dokumentets innehållsstruktur i en PDF-fil. Aspose.Cells bevarar information om strukturen från ett Microsoft Excel-dokument, som cell, rad, tabell, kalkylblad, bild, form, sidhuvud/fot, etc.

Med alternativet PdfSaveOptions.ExportDocumentStructure, kan du spara som en taggad PDF med dokumentstrukturen exporterad.

// 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);