Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 63321 invoked from network); 7 May 2005 14:47:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 May 2005 14:47:24 -0000 Received: (qmail 46752 invoked by uid 500); 7 May 2005 14:50:19 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 46705 invoked by uid 500); 7 May 2005 14:50:18 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 46687 invoked by uid 99); 7 May 2005 14:50:18 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 07 May 2005 07:50:18 -0700 Received: (qmail 63281 invoked by uid 65534); 7 May 2005 14:47:21 -0000 Message-ID: <20050507144721.63280.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r169084 - in /forrest/trunk: main/webapp/skins/common/xslt/fo/document2fo.xsl site-author/content/xdocs/docs/faq.xml site-author/status.xml Date: Sat, 07 May 2005 14:47:20 -0000 To: svn@forrest.apache.org From: rgardler@apache.org X-Mailer: svnmailer-1.0.0-dev X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgardler Date: Sat May 7 07:47:19 2005 New Revision: 169084 URL: http://svn.apache.org/viewcvs?rev=3D169084&view=3Drev Log: Improved handling of pagebreaks, can now use them in almost any block eleme= nt Modified: forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl forrest/trunk/site-author/content/xdocs/docs/faq.xml forrest/trunk/site-author/status.xml Modified: forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/common/x= slt/fo/document2fo.xsl?rev=3D169084&r1=3D169083&r2=3D169084&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl (origina= l) +++ forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl Sat May = 7 07:47:19 2005 @@ -355,6 +355,7 @@ width=3D"7.5in" font-family=3D"serif" font-style=3D"italic"> + @@ -370,6 +371,7 @@ border-bottom=3D"0.25pt solid" padding-before=3D"6pt" padding-after=3D"6pt"> + NOTICE: @@ -398,6 +400,9 @@ font-weight=3D"bold" space-before=3D"12pt" space-after=3D"4pt"> + =20 + + =20 @@ -439,15 +444,6 @@ - - - - - - - - - =20 @@ -461,6 +457,7 @@ + @@ -470,6 +467,7 @@ space-before=3D"20pt" font-weight=3D"bold" font-size=3D"9pt"> + by @@ -485,6 +483,7 @@ + @@ -493,6 +492,7 @@ space-before=3D"4pt" space-after=3D"4pt" font-family=3D"serif"> + @@ -510,6 +510,7 @@ white-space-treatment=3D"preserve" wrap-option=3D"wrap" text-align=3D"start"> + @@ -634,6 +635,7 @@ border-color=3D"{$color}" background-color=3D"{$color}" color=3D"#ffffff"> + Warning: @@ -673,6 +675,7 @@ border-end-style=3D"solid" border-color=3D"{$color}" background-color=3D"{$color}"> + @@ -713,6 +716,7 @@ border-end-style=3D"solid" border-color=3D"{$color}" background-color=3D"{$color}"> + FIXME (): @@ -754,6 +758,7 @@ =20 + @@ -913,6 +918,7 @@ 0"> + Table of contents @@ -977,8 +983,20 @@ space-after=3D"4pt" background-color=3D"#f0f0f0" font-family=3D"monospace"> + + +=20 + + + + page + + + + page + =20 Modified: forrest/trunk/site-author/content/xdocs/docs/faq.xml URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/= docs/faq.xml?rev=3D169084&r1=3D169083&r2=3D169084&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/trunk/site-author/content/xdocs/docs/faq.xml (original) +++ forrest/trunk/site-author/content/xdocs/docs/faq.xml Sat May 7 07:47:1= 9 2005 @@ -123,8 +123,10 @@

Page breaks do not make a great deal of sense in HTML documents= intended for display on a screen. However, PDF documents are intended for printing and the= refore page breaks can be important.

-

To insert a page break in a PDF document simply add pageBre= akBefore or - pageBreakAfter to the class attribute of a section. +

To insert a page break in a PDF document simply add pageBre= akBefore and/or + pageBreakAfter to the class attribute of the block yo= u wish to force a + page break on. All the common block grouping elements support = this class, for example,=20 + note, warning, p and so on.

If you want these classes to be processed in your HTML document= s as well you should add the following to the extra-css element in your proj= ects skinconf.xml Modified: forrest/trunk/site-author/status.xml URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/status.xml?rev= =3D169084&r1=3D169083&r2=3D169084&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/trunk/site-author/status.xml (original) +++ forrest/trunk/site-author/status.xml Sat May 7 07:47:19 2005 @@ -51,6 +51,8 @@ Added document to facilitate upgrading to v0.7 + + Added ability to add page breaks to output. See Page Breaks FAQ Allow the serving of raw SVG files to allow clients to render loca= lly.