Open HemaSudha1498 opened 3 months ago
Nice one. And if using Table (not PdfPTable) then you will get an endless loop.
Related to #1163 and #1021
Hi @asturio,
Thank you for your response. However, using Table does not meet my requirements. My use case involves multi-lingual text, images, icons, symbols, and shapes within a table cell. Therefore, I am utilizing PdfPTable
.
I am handling large datasets, including hundreds of thousands of rows, which makes it impractical to hold all chunks, phrases, PdfPCell
s, and rows in the JVM. To manage this, I am using PdfPTable.writeSelectedRows()
to write the table row by row.
Additionally, I need to position my table at a specific positionX and start from a particular positionY within a specified width.
Hello,
In PdfPTable, we have support to write tables in two ways:
In the first approach, if a table row's content is too long to fit on a single page, the content is properly split across multiple pages. However, the same handling is not available in the second approach leading to data loss.
Can someone guide me on how to achieve the similar behavior in the second approach? Or, please navigate me to the respective code logic that handles this behavior in the first approach.
PDF via document.add(table);![Screenshot from 2024-05-24 12-57-32](https://github.com/LibrePDF/OpenPDF/assets/149143987/9fa02507-af58-4e67-9ff3-aa3248d92e38)
PDF via table.writeSelectedRows();![Screenshot from 2024-05-24 12-57-44](https://github.com/LibrePDF/OpenPDF/assets/149143987/a53aef46-81cc-4c03-a1dd-8a9843403097)
Thank you!