Esportare la Struttura del Documento Durante la Conversione in PDF

Contents
[ ]

Le strutture logiche dei PDF forniscono un meccanismo per incorporare informazioni sulla struttura del contenuto del documento in un file PDF. Aspose.Cells conserva le informazioni sulla struttura da un documento di Microsoft Excel, come celle, righe, tabelle, fogli di lavoro, immagini, forme, intestazioni/piede di pagina, ecc.

Con l’opzione PdfSaveOptions.ExportDocumentStructure, è possibile salvare in un PDF contrassegnato con la struttura del documento esportata.

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