TPPDF icon indicating copy to clipboard operation
TPPDF copied to clipboard

Complex Layout / Absolute Position

Open phr85 opened this issue 3 years ago • 1 comments

Hello First thank you for this amazing library!

I have following structure of PDF which I have to generate Page 1 - X looks like this: page_1

Titel & main content are easy and clear how to set. But as I don't see any function to set absolute position of "Company Name", "Company Address" & Page Number, I'm not sure how I can reach this.

Same on last page of PDF export:

page_2

Additional to previous issues, here I have to set footer block on bottom of page and also page number on same vertical position as last line of main text.

If someone could give me a hint, I would be very graceful.

phr85 avatar Sep 25 '21 12:09 phr85

Hi there.

My initial approach would be adding the Company Name to a left-container header.

Regarding the Page 2/2, the pagination can be set in different container, but I have never thought about setting it inside a main content container. But you could try changing PDFPagination.container

philprime avatar Dec 07 '21 08:12 philprime

Closed due to inactivity

philprime avatar Dec 03 '22 14:12 philprime