| View previous topic :: View next topic |
| Author |
Message |
Sergey Tkachenko Site Admin
Joined: 27 Aug 2005 Posts: 6599
|
|
| Back to top |
|
 |
jonjon
Joined: 27 Aug 2005 Posts: 95
|
Posted: Mon Mar 02, 2009 4:17 pm Post subject: |
|
|
Does the same demo (with links) exists for Gnostice's eDocEngine ? That would be great!
John. |
|
| Back to top |
|
 |
Sergey Tkachenko Site Admin
Joined: 27 Aug 2005 Posts: 6599
|
Posted: Wed Mar 04, 2009 4:55 pm Post subject: |
|
|
| PDF export with eDocEngine was implemented by Gnostice. I did not tested it myself. I plan to review it and make improvements in future, but not right now, sorry. |
|
| Back to top |
|
 |
jonjon
Joined: 27 Aug 2005 Posts: 95
|
Posted: Wed Mar 04, 2009 6:26 pm Post subject: |
|
|
OK so I understand you wrote the llPdfLib one ?
Any chance you'd be able to give me your thoughts about both libraries regarding to PDF export from a TRichView document ?
On one hand I find the llPdfLib isn't really followed by its author (time between releases is really long and support has been criticized on the forums). On the other hand, it seems that it produces better looking and more customizable PDF documents coming from a TRichView source.
Thanks,
John. |
|
| Back to top |
|
 |
Sergey Tkachenko Site Admin
Joined: 27 Aug 2005 Posts: 6599
|
Posted: Thu Mar 05, 2009 8:21 am Post subject: |
|
|
I never used any of these libraries myself in real applications.
By the way, a new version of LLPDFLib is just released, and these demos need to be checked for compatibility with it.
There is a different approach in TRichView PDF generation for eDocEngine and llPDFLib.
llPDFLib contains nothing special related to TRichView. It just provides a Canvas where you can draw anything that you want, including TRichView documents. This drawing will be saved in PDF. Since you can implement drawing yourself (like it is shown in this demo), you can create any complex page layout, but it requires writing code.
eDocEngine provides a component for exporting TRichView in PDF. It is easier to use - just place a component and set its properties. But this approach is limited to features included in this component. If it, for example, does not support headers and footers, you cannot add them. I do not know, may be eDocEngine can be used in a low-level way, like llPDFLib. When I'll have time, I'll test it. |
|
| Back to top |
|
 |
Sergey Tkachenko Site Admin
Joined: 27 Aug 2005 Posts: 6599
|
Posted: Sat Mar 14, 2009 4:57 pm Post subject: |
|
|
The demo is updated for LLPDF v4 compatibility.
The following changes were made:
- "PDF" is removed from USES, "llPDFDocument, llPDFTypes, llPDFCanvas" is added there;
- assignment to Size and Orientation properties of PDF page is changed (since they are write-only properties in v4);
- CurrentPageIndex property is used instead of SetCurrentPage method. |
|
| Back to top |
|
 |
|