681
Views
10
Comments
Solved
[Ultimate PDF] [Ultimate PDF] - Page header and content merging for the next pages
Question
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes

Hi!

We are using UltimatePDF for exporting a specific webpage of ours into PDF. We are coming across an issue where our Page headers are merging with the contents of a table for the next pages in which the table holds multiple numbers of rows.

"Project details" along with the print date and page number is the header. As seen in the image below, the header merges with the table containing multiple rows or data. It seems to as the table isn't having a page break.

Hoping for your assistance.


Thanks!

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP
Solution

Hi.

The newer version should fix your problems.

However, I found that Google Chrome does not always produce a good pagination on tables. Sometimes a row of the table is split between two pages. Your mileage may vary.

I would recommend you to inspect if your table is not inside any inline-block element, specially any container that has been resized using the column grid (e.g. with width = 1 col, 2 col, etc). Elements with inline-block will probably cause you problems with incorrect pagination. You can usually replace inline-block elements with OutSystems UI's column widgets (which use flex instead of inline-block).

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP

Hi. Could you please provide an example report reproducing your issue?

UserImage.jpg
Source Solutions

Leonardo Fernandes wrote:

Hi. Could you please provide an example report reproducing your issue?

Hi!

What do you mean by report, would it be the actual pdf produced? 

UserImage.jpg
Source Solutions

Source Solutions wrote:

Leonardo Fernandes wrote:

Hi. Could you please provide an example report reproducing your issue?

Hi!

What do you mean by report, would it be the actual pdf produced? 

Here is a sample pdf. Kindly see attached

The Page block in the main content also contains web blocks inside of it.

sample.pdf
UserImage.jpg
Source Solutions

Source Solutions wrote:

Source Solutions wrote:

Leonardo Fernandes wrote:

Hi. Could you please provide an example report reproducing your issue?

Hi!

What do you mean by report, would it be the actual pdf produced? 

Here is a sample pdf. Kindly see attached

The Page block in the main content also contains web blocks inside of it.

Updates please. Thank you!


2019-07-08 11-04-35
Leonardo Fernandes
 
MVP

No, I need the module that is producing this PDF.

Or, if you can't share that, create a module that produces a similar PDF that has the same issue. You can replace dynamic content with static content, and you don't need to have the same data. For the table records, you could create a static entity, put some records in there, and then use the static entity to populate the table records.

2023-01-25 05-43-21
Murugan S S

Hi All, 

Am facing  issue is ultimate pdf page number showing double shade in the page,

I need to show clear page number

 

Kindly help me some one for this,


Thanks

2021-06-07 08-50-47
Shi

Me too, how to....

UserImage.jpg
Senthilkumar Ramakrishnan

Yes, I have also face the similar issue, header and footer merging with data.  Any solution?

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP
Solution

Hi.

The newer version should fix your problems.

However, I found that Google Chrome does not always produce a good pagination on tables. Sometimes a row of the table is split between two pages. Your mileage may vary.

I would recommend you to inspect if your table is not inside any inline-block element, specially any container that has been resized using the column grid (e.g. with width = 1 col, 2 col, etc). Elements with inline-block will probably cause you problems with incorrect pagination. You can usually replace inline-block elements with OutSystems UI's column widgets (which use flex instead of inline-block).

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP

Google Chrome has improved table pagination a lot recently, and upgrading to Ultimate PDF 7.0.0 will enable those improvements. This should fix most, if not all, table layout issues.

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