Page 1 of 1

SetWorldTransform - PDF

Posted: Wed Nov 15, 2023 1:01 am
by Ceprotec
I have documents that have rotated cells and I need to convert them to PDF.

The problem is that no Delphi components support this (SynPDF/llPDFLib/litePDF/eDocEngine).

Is there anything that can be done? Do not use SetWorldTransform or perhaps even transform the cell contents into an image?

Re: SetWorldTransform - PDF

Posted: Wed Jan 31, 2024 9:17 pm
by Ceprotec
Up

Re: SetWorldTransform - PDF

Posted: Thu Feb 01, 2024 9:52 am
by jonjon
The latest versions of SynPDF seems to support SetWorldTransform: https://github.com/synopse/SynPDF/blob/ ... SynPdf.pas
And testing it with RV's rotated cells works fine.

Re: SetWorldTransform - PDF

Posted: Thu Feb 01, 2024 1:19 pm
by Ceprotec
Image

Re: SetWorldTransform - PDF

Posted: Thu Feb 01, 2024 1:36 pm
by jonjon
Here is what I got with the latest SynPDF from GitHub. Text direction is OK but underline is not and border lines are not looking great either.
synpdf.png
synpdf.png (11.98 KiB) Viewed 90391 times

Re: SetWorldTransform - PDF

Posted: Thu Feb 01, 2024 2:40 pm
by Ceprotec
I downloaded SynPDF directly from the repository before testing again.

What code do you use to generate the PDF?