Probably I do not explain the problem in the right mode. I need pagenumebers and page numbers total. I know <fo:page-number/> for the first buti i do not know pages number total tag?
---------- Initial Header ----------- >From : "Andreas Eckstein" [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Wed, 25 Jan 2006 15:50:01 +0000 Subject : Re: problem using fop 0.91 with header and footer > Just put an invisible element on the last page and reference its id from > every footer. > > [EMAIL PROTECTED] wrote: > > It works.Great! > > but I have another problem now. > > I want to produce a footer that have page number and the page numbers total. > > I mean sort of : 1/10 2/10 3/10 etc etc > > Any help? > > > > ---------- Initial Header ----------- > > > >>From : "Jeremias Maerki" [EMAIL PROTECTED] > > To : fop-users@xmlgraphics.apache.org > > Cc : > > Date : Wed, 25 Jan 2006 14:53:18 +0100 > > Subject : Re: problem using fop 0.91 with header and footer > > > > > > > > > > > > > > > >> I've just fixed a bug that caused the RTF handler to miss the before and > >> after regions if they don't have the standard names: > >> http://svn.apache.org/viewcvs?rev=372214&view=rev > >> > >> If you can't use FOP Trunk from Subversion, you can use the standard > >> names ("xsl-region-before" and "xsl-region-after") for the > >> static-content elements to still make it work. > >> > >> "fo:page-number" works fine for me. > >> > >> On 25.01.2006 12:31:50 [EMAIL PROTECTED] wrote: > >>> Hi all > >>> I'm using fop 0.91 and i try to create a rtf. > >>> I cannot define header and footer and also i have problem using > >>> <fo:page-number/> > >>> > >>> I show u what I wrote: > >>> > >>> ... > >>> > >>> <fo:layout-master-set> > >>> <fo:simple-page-master margin-bottom="40pt" > >>> margin-left="56.7pt" margin-right="56.7pt" master-reference="pm0" > >>> margin-top="35.4pt" master-name="pm0" page-height="841.9pt" > >>> page-width="595.3pt"> > >>> <fo:region-body margin-bottom="40pt" > >>> margin-top="40pt" region-name="body"/> > >>> <fo:region-before extent="40pt" overflow="visible" > >>> region-name="header"/> > >>> <fo:region-after extent="40pt" overflow="visible" > >>> region-name="footer"/> > >>> </fo:simple-page-master> > >>> </fo:layout-master-set> > >>> > >>> <fo:page-sequence master-reference="pm0"> > >>> <fo:static-content flow-name="header" > > >>> <fo:block end-indent="0pt" line-height="14pt" > >>> orphans="2" start-indent="0pt" text-indent="0pt" widows="2"> > >>> <fo:external-graphic > >>> src="C:/jakarta-tomcat-5.5.7/webapps/admin_console/images/printHeader.png" > >>> content-height="60%" content-width="60%" /> > >>> </fo:block> > >>> </fo:static-content> > >>> <fo:static-content flow-name="footer" > >>> font="italic 10pt Times"> > >>> <fo:block text-align="end"> > >>> <fo:inline font-size="6pt"> > >>> <fo:page-number /> > >>> </fo:inline> > >>> </fo:block> > >>> </fo:static-content> > >>> ... > >> > >> Jeremias Maerki > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]