incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis E. Hamilton" <dennis.hamil...@acm.org>
Subject RE: Problem with page break in export to rtf
Date Thu, 12 Jul 2012 20:10:32 GMT
>From the RTF Specification version 1.9.1 (published in 2008): 

\pagebb is for "Break Page before the paragraph."  It is a paragraph-formatting property.
 It can appear anywhere in the body of a paragraph, not just at the beginning.  It is also
inheritable onto subsequent paragraphs until a paragraph with \pard (reset of default properties)
occurs.

\page is a special character (occurring as a <spec> in the character-text syntax). 
It signals a required page break.  It is a companion of \column (required column break) and
\line (required line break without paragraph break), \tab, etc.

 - Dennis

PS: The specification is available here: <http://www.microsoft.com/en-us/download/details.aspx?id=10725>.
 This is considered the final specification for RTF.  That's because there is a general extension
mechanism for embedding XML.  The handling of additional features (in Microsoft Office 2010,
for example) is now by embedding the OOXML XML as necessary.  RTF already has provision for
graceful degradation when unknown up-level features are encountered by a down-level implementation.

-----Original Message-----
From: Lin Yuan [mailto:yuanlin.ibm@gmail.com] 
Sent: Wednesday, July 11, 2012 23:48
To: ooo-dev@incubator.apache.org
Subject: Re: Problem with page break in export to rtf

[ ... ]

So I think the root cause of the issue is that in AOO there is only one
type of page break although there are different UI entry for it. But in RTF
there are two type of page breaks.  I don't know exactly the difference
between \page and \pagebb.  But seems AOO's "fo:break-before" is more
similar as "\pagebb". Both of them is a property of a paragraph style.

[ ... ]


Mime
View raw message