Bug 42600 - [PATCH] can not create page break in RTF
Summary: [PATCH] can not create page break in RTF
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: rtf (show other bugs)
Version: 0.93
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2007-06-06 01:33 UTC by Steffen
Modified: 2012-04-01 06:19 UTC (History)
1 user (show)



Attachments
Patch proposal (8.83 KB, patch)
2008-11-25 01:22 UTC, Max Aster
Details | Diff
Example fo for testing (1.53 KB, application/octet-stream)
2008-11-25 01:23 UTC, Max Aster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen 2007-06-06 01:33:37 UTC
I am using FOP version 0.93. I try to create some hard page breaks in the FOP
output. If FOP creates a PDF document I can create page breaks, if the output
format is RTF I can not.
The simple code I am using in my XSL style sheet is:

<fo:block break-before='page'>
   <xsl:apply-templates />
</fo:block>
Comment 1 Max Aster 2008-11-25 01:22:00 UTC
Created attachment 22930 [details]
Patch proposal

Tested with latest trunk version
Comment 2 Max Aster 2008-11-25 01:23:24 UTC
Created attachment 22931 [details]
Example fo for testing
Comment 3 Mehdi Houshmand 2010-10-21 09:47:30 UTC
Can a committer take a look at this patch, a separate user has stumbled across this and since a patch has been proposed, it seems as good a time as any to assess it.
Comment 4 Jeremias Maerki 2010-10-21 15:34:01 UTC
Patch applied: http://svn.apache.org/viewvc?rev=1026110&view=rev
Thanks, Maximilian. It's just embarrassing that this took so long.

I've had to do some cleanup work to commit the patch. I've also tried to add support for column/odd/even breaks. But I'm not sure they are working properly.
Comment 5 Glenn Adams 2012-04-01 06:19:11 UTC
batch transition to closed; if someone wishes to restore one of these to resolved in order to perform a verification step, then feel free to do so