You are not logged in.
Pages: 1
Hello,
I've spent some time playing with pdf engine. Can you tell me if I can...
1. ...draw a jpg inside a table cell? (with auto resizing height of a cell to fit that image)
2. ...place a table inside another table cell?
3. ...draw multiple jpgs next to each other? (using width and height of a file, moving to next line if needed)
I took a look inside sqlite3pages and I think it's not possible. Correct me if I'm wrong or tell me if you plan to add those features.
Thank you.
Offline
The SynPDF engine is capable of everything you want, but, as you stated, mORMotReport.pas (former Sqlite3Pages.pas) unit is not able to do this.
You can create a PDF using its custom TCanvas, just as with VCL.
Offline
Thanks, that's a great news.
Edit.
Wait... are you telling me that if I need to have nested tables I need to drawn them by myself drawing boxes, calulating row heights and drawing text without auto moving to next line? Do I need to do that all by myself? Just as painting on canvas?
Last edited by dzbanek (2013-03-28 12:46:11)
Offline
I can't imagine having a pdf up to 3000 pages filled with large metafile per page. Any plans to add new features to TGdiPages?
Offline
TGdiPages will create one metafile per page, also.
You can create one page after the other, then render it one by one directly by TPdfDocument.
Or save the metafile content on disk.
A metafile is just a block of memory - it does not use any GDI resource - only the TMetaFileCanvas uses GDI handles.
And metafiles compress very well, by the way.
I've created reports of more than 5000 pages with TGdiPages, with no problem, by using the "Export" feature of our SynDBExplorer tool, saving a huge grid content as pdf.
http://blog.synopse.info/tag/SynDBExplorer
Offline
Pages: 1