xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huditsch, Roman (LNG-VIE)" <Roman.Hudit...@lexisnexis.at>
Subject Align block in xsl-region-end with page-number in xsl-region-after
Date Fri, 07 Mar 2008 11:23:02 GMT
Hi,

Sorry for the cross post, but after a short consideration my mail seems
more appropriate for the FOP list.
 
I'm having troubles positionating (only) the last block in my
xsl-region-end area at the same level with my page number in the
xsl-region-after section.
All other blocks in xsl-region-end should be aligned to the top.

I tried different possible solutions with footnotes and markers, but
with no success. 
I'm using FOP 0.94.

Furthermore, it seems that FOP is ignoring my margin-bottom definitions
for xsl-region-end. Do you know why? Did I do a mistake in my page
definitions?

Pleas help me! I am totally lost.
Thanks!

Here is a snippet of my FO file:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns="http://docbook.org/ns/docbook">

	<fo:layout-master-set>

		<fo:simple-page-master master-name="anschreiben"
page-width="210mm" page-height="297mm" margin-top="20mm"
margin-bottom="18mm" margin-left="10.5mm" margin-right="12mm">
			<fo:region-body margin-left="15.5mm"
margin-right="43mm" margin-bottom="17mm" margin-top="29mm"/>
			<fo:region-before extent="29mm"
precedence="true" region-name="kopfzeile"/>
			<fo:region-after extent="5mm"
region-name="fusszeile"/>
			<fo:region-end extent="38mm" precedence="true"
region-name="marginalspalte"/>
		</fo:simple-page-master>

		<fo:simple-page-master master-name="folgeseite"
page-width="210mm" page-height="297mm" margin-top="20mm"
margin-bottom="18mm" margin-left="10.5mm" margin-right="16mm">
			<fo:region-body margin-left="15.5mm"
margin-right="0mm" margin-bottom="17mm" margin-top="29mm"/>
			<fo:region-before extent="29mm"
precedence="true" region-name="kopfzeile"/>
			<fo:region-after extent="5mm"
region-name="fusszeile"/>
			<fo:region-start extent="5mm"/>
		</fo:simple-page-master>

		<fo:page-sequence-master master-name="rechnung">
			<fo:repeatable-page-master-alternatives>
				<fo:conditional-page-master-reference
master-reference="anschreiben" page-position="first"/>
				<fo:conditional-page-master-reference
master-reference="folgeseite" page-position="rest"/>
			</fo:repeatable-page-master-alternatives>
		</fo:page-sequence-master>
	</fo:layout-master-set>

	<fo:page-sequence master-reference="rechnung">

		<fo:static-content flow-name="kopfzeile">
			<fo:block margin-top="2mm">
				<fo:external-graphic
src="url('config/images/logo.gif')"/>
			</fo:block>
		</fo:static-content>

		<fo:static-content flow-name="marginalspalte">
			<fo:block-container>
				<fo:block>Deal ID: 797046</fo:block>
				<fo:block>Page Number:
<fo:page-number-citation ref-id="last-page"/></fo:block>
				<fo:block>Text at the bottom of the
page</fo:block>		
			</fo:block-container>
		</fo:static-content>

		<fo:static-content flow-name="fusszeile">
			<fo:block>
				<fo:page-number/> |
<fo:page-number-citation ref-id="last-page"/>
			</fo:block>
		</fo:static-content>

		<fo:flow flow-name="xsl-region-body">
			<fo:block>Some Text</fo:block>
			<fo:block id="last-page"/>
		</fo:flow>
	</fo:page-sequence>
</fo:root>


best regards,
Roman

> -----Original Message-----
> From: Huditsch, Roman (LNG-VIE) 
> Sent: Friday, March 07, 2008 11:51 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: "page width may not change among pages"
> 
>  
> Hi,
> 
> I am trying to define a layout-master with different 
> simple-page-masters for the first and all other pages. 
> Doing this I seem to be running in the limitation mentioned 
> on the compliance site:
> 
>  [0.93 and later] The page width may not change among pages 
> of the same page-sequence unless a forced break is inserted. 
> 
> Is there any way to get around this limitation without 
> knowing beforehand which elements will appear on which page?
> Unfortunately I can't insert an hard-coded paeg-break if a 
> specific element is getting transformed in my XSL-FO transformation.
> 
> Thanks!
> 
> best regards,
> Roman
> 
> 
> 
> Mag. (FH) Roman Huditsch
> Leitung Team Technische Konvertierung AT/DE
> Tel.:  +43-1-534 52-1514
> Fax.: +43-1-534 52-140
> roman.huditsch@lexisnexis.at <mailto:roman.huditsch@lexisnexis.at> 
> 
> LexisNexis Verlag ARD Orac GmbH & Co KG
> FN 8333f, Handelsgericht Wien
> 1030 Wien, Marxergasse 25
> www.lexisnexis.at <blocked::http://www.lexisnexis.at> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message