forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremias Maerki (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FOR-1072) [PATCH] Bugfixes and improvements for PDF output plugin
Date Tue, 04 Mar 2008 09:39:51 GMT

     [ https://issues.apache.org/jira/browse/FOR-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeremias Maerki closed FOR-1072.
--------------------------------

    Resolution: Fixed

I think that's it for the moment.

> [PATCH] Bugfixes and improvements for PDF output plugin
> -------------------------------------------------------
>
>                 Key: FOR-1072
>                 URL: https://issues.apache.org/jira/browse/FOR-1072
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Plugin: output.pdf
>    Affects Versions: 0.9-dev
>            Reporter: Jeremias Maerki
>             Fix For: 0.9-dev
>
>         Attachments: forrest-pdf-touchup.patch, forrest-pdf-touchup2.patch, forrest-pdf-touchup3.patch
>
>
> I've been playing with Forrest Trunk to get the FOP website to work. I found a number
of problems which I've fixed with the attached patch. The changes in detail:
> - PDFs generated from an FAQ page inserted the section number (1.1, 1.2 etc.) twice in
front of the section title. I've just filtered it now. It may not be the best way to fix this.
> - Added a bookmark entry for the table of contents if it is enabled.
> - Added keep-with-next.within-column="always" for all section titles, header elements
of note/warning/fixme boxes and table captions. The new FOP supports keeps so you should use
them. Otherwise, page break decision can be really ugly.
> - Added keep-with-previous.within-column="always" for note/warning/fixme boxes so the
don't land on a new page as first elements. This preserves the context.
> - table rows with th elements are now placed in the fo:table-header, so the headers are
repeated on each page the table spans.
> - Used proportional-column-width(1) instead of a fixed width calculation for the column
widths which automatically makes use of the whole page width regardless of the page margin
settings.
> - Fixed placement of page number and document title depending on "double-sided" setting.
--> Page number to the "outside" and document title to the "inside".
> - Filtered out link elements with no href (which are created by html-to-document.xsl
for "<a name=..."). Forrest 0.7 didn't generate them as links at all but trunk does. Maybe
that's wrong in the first place.
> I'd appreciate a quick turn-around with this patch (if possible) as this would allow
us to switch to Forrest Trunk for the FOP 0.95 release (we want to eat our own dogfood). Without
this patch, our compliance PDF page fails due to the "<link name=" in it. Thanks a lot!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message