PDF ye Dönüştürürken Belge Yapısını Dışa Aktar
PDF mantıksal yapı tesisleri, belge içerik yapısı hakkında bilgileri bir PDF dosyasına dahil etme mekanizması sağlar. Aspose.Cells, hücre, satır, tablo, çalışsayfa, görüntü, şekil, başlık/altbilgi vb. gibi Microsoft Excel belgesinden yapı bilgilerini korur.
PdfSaveOptions.ExportDocumentStructure seçeneği ile belge yapısını dışa aktarılmış bir etiketli PDF olarak kaydedebilirsiniz.
// 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); |