Hi there
I encountered an issue related to Ultimate PDF. After downloading and opening the PDF file, I noticed that some long content inside a cell appears outside of the cell, as shown in the image below. This issue occurs randomly. Are there any solution for this issue ?
Thanks
Hi Thuan Pham Dinh
This is a known behavior of Ultimate PDF (ODC) and it is not random, even though it may appear that way.
Apply explicit CSS rules on the cell or text container:
.td {
word-wrap: break-word;
word-break: break-word;
white-space: normal;
}
YOu can addtionally set the table layout to "fixed" via CSS. Hope that helps
@Thuan Pham Dinh check in your table if you mentioned any height as inline css of the table cell.
Hi @Shogun
This usually happens due to HTML/CSS rendering limitations in the PDF engine, especially with table cells containing long dynamic text. Try applying word-wrap, overflow-wrap, table-layout: fixed, and avoid fixed row heights or complex CSS (flex/grid/absolute positioning) inside tables.
Also check for long unbroken strings and custom fonts, as these can cause random overflow issues during PDF rendering.
Hello,
Check if you have any fixed sizes in your table, inline or in your CSS classes.
You can adjust this behavior by creating a wrapper specifically for your PDF in the theme base.
For example, by adding a .pdf class as a wrapper.
.pdf .table {
CSS code
.pdf .td {
And adjust your table as needed only in the PDF.
Let me know if I helped.
Hi @Shogun ,
I believe you have designed your PDF in such way that the data is coming as a list, if it is coming as list, you should design the table and then proceeding with the rest as per your requirement.Please check this also, it is in 011 might help you out in ODC too
https://www.outsystems.com/forums/discussion/65541/ultimate-pdf-ultimatepdf-with-reactive-web-only-getting-the-first-page-of-cont/
Thank You.