33
Views
5
Comments
[Ultimate PDF] (ODC)  Text going outside of the cell
Ultimate PDF
Forge asset by OutSystems Labs
Application Type
Reactive

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

2025-03-19 06-26-09
Mayur Budukale
Champion

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

2022-09-05 08-23-51
Naveen N

@Thuan Pham Dinh  check in your table if you mentioned any height as inline css of the table cell.

2025-07-22 10-30-27
Mandar Deshpande

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.

2025-11-18 12-43-07
Mariana Junges
Champion

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  {  

CSS code

}

And adjust your table as needed only in the PDF.


Let me know if I helped.

2025-01-31 03-15-38
Irfan Ahamed Abdul Shukoor

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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.