SetWorldTransform - PDF

General TRichView support forum. Please post your questions here
Post Reply
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

SetWorldTransform - PDF

Post 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?
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Re: SetWorldTransform - PDF

Post by Ceprotec »

Up
jonjon
Posts: 467
Joined: Sat Aug 27, 2005 4:19 pm

Re: SetWorldTransform - PDF

Post 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.
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Re: SetWorldTransform - PDF

Post by Ceprotec »

Image
jonjon
Posts: 467
Joined: Sat Aug 27, 2005 4:19 pm

Re: SetWorldTransform - PDF

Post 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 87387 times
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Re: SetWorldTransform - PDF

Post by Ceprotec »

I downloaded SynPDF directly from the repository before testing again.

What code do you use to generate the PDF?
Post Reply