Customizable Print Formats GSoC 2015

Robert Helling helling at atdotde.de
Fri Mar 6 00:53:47 PST 2015


Hi,

> On 06.03.2015, at 00:52, Gehad Elrobey <gehadelrobey at gmail.com> wrote:
> 
> I managed to print a QTextDocument directly after generating the HTML code by Grantlee with Qt5.
> I attached a pdf of the print out.

as I said, my worry is not so much that you can use templates to generate some html. I am concerned that the Qt subset of html is not expressive enough to produce decent layouts beyond simple tables. To get an idea what people’s paper divelogs look like in the wild, do a google image search for “dive log template”. Compared to what we have now, we need much better control over spacing (inclunding whitespace, there we currently waste far too much precious room on the paper), fields for which we don’t have information should in many cases not be displayed and the room be used for what we actually have etc. For me, for example, beyond the very basic information (date, depth, time, location, buddy), the notes are by far the most important textual element and should occupy sufficient room (in a decent font size).

So, I think what the first natural step would be, is to use some html editor or similar to produce any layout or mock-up which looks good enough on paper that we can then try to reproduce from within Qt, just for fixed data. If that turns out to be impossible we will have to look for something better.

Just my $.02.

Best
Robert



--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics
                      Scientific Coordinator
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik
                      Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
                      http://www.atdotde.de

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1D    and
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150306/035fe4d9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150306/035fe4d9/attachment.sig>


More information about the subsurface mailing list