Exportieren der Dokumentstruktur beim Konvertieren in PDF

Contents
[ ]

PDF-Logische Strukturfunktionen bieten einen Mechanismus zur Integration von Informationen zur Dokumenteninhaltsstruktur in einer PDF-Datei. Aspose.Cells für Python via .NET bewahrt Informationen über die Struktur aus einem Microsoft Excel-Dokument, wie Zelle, Zeile, Tabelle, Arbeitsblatt, Bild, Form, Header/Footer usw.

Mit der Option PdfSaveOptions.export_document_structure können Sie ein getaggtes PDF mit exportierter Dokumentenstruktur speichern.

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