[PATCH 0/3] some patches that fix printing for planned dive

Lubomir I. Ivanov neolit123 at gmail.com
Sun Nov 15 13:01:16 PST 2015


From: "Lubomir I. Ivanov" <neolit123 at gmail.com>

Lubomir I. Ivanov (3):
  qthelper.cpp: support line breaks for notes when printing

pretty much a hack to convert some planner HTML tags to <br>.
non-planned dive notes line breaks are also converted to <br>

  printing_templates: mark 'dive.notes' as 'safe'

this patch requires the previous one.
makes modifications to the bundled HTML templates (ouch!)

  Planner: support profile in planner print

this addition is nice. the implementation is questionable, but it works(tm)
and it does auto-pagination while the alternatives are much harder.

 desktop-widgets/mainwindow.cpp     | 29 +++++++++++++++++++++++++++++
 printing_templates/Flowlayout.html |  2 +-
 printing_templates/One Dive.html   |  2 +-
 printing_templates/Six Dives.html  |  2 +-
 printing_templates/Two Dives.html  |  2 +-
 profile-widget/profilewidget2.cpp  |  1 +
 subsurface-core/qthelper.cpp       | 20 +++++++++++++++-----
 7 files changed, 49 insertions(+), 9 deletions(-)

-- 
1.7.11.msysgit.0



More information about the subsurface mailing list