Customizable Print Formats GSoC 2015

Gehad Elrobey gehadelrobey at gmail.com
Mon Mar 9 16:38:08 PDT 2015


On Tue, Mar 10, 2015 at 1:20 AM, Long, Martin <martin at longhome.co.uk> wrote:

> I've only really scanned this thread, so please excuse me if I'm
> raising something that's already been covered.
>
> It seems we're talking about rendering using HTML along with a few
> other things. Have we considered pagination? I know this is something
> that HTML isn't great at. You can, of course, print html, and it will
> paginate it, but is controlling how this happens easy? I understand
> there is support for pagination in CSS - is this enough for us to do
> reasonable looking 1 dive per page, 2 dives per page, etc?
>
>
CSS supports 'page-break-inside' property which define whether a page break
is allowed inside a specified element or not, also max/min height can be
used for pagination, but taking into consideration that the overflow of
long notes will either be trimmed or will expand the dive to more printing
area and in this case we can't ensure to have N dives per page (this can be
something like flow layout).
So as I expect yes we can control this easily.


-- 
regards,
Gehad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150310/5b502ab7/attachment.html>


More information about the subsurface mailing list