problem positioning the footer at the bottom of the page
Frank Erlbacher <[email protected]> Tue, 25 Jun 2024 13:24:11 +0200
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <CABNwboK1BfLjc_-zYStTpojZgo5=mz0EzHwUSjciWLQ9CQPFbQ@mail.gmail.com> |
--000000000000bc5476061bb523a5
Content-Type: multipart/alternative; boundary="000000000000bc5474061bb523a3"
--000000000000bc5474061bb523a3
Content-Type: text/plain; charset="UTF-8"
Hello,
I'd like to get my footer as close as possible to the lower bound of the
page. Therefore I set the margin-bottom to 0. But it doesn't work. In my
rendered RTF-Result the distance between my footer row and the lower bound
is round about 1.5cm.
If I render it with apache fop to PDF, all is fine.
<fo:layout-master-set>
<fo:simple-page-master margin-left="2.499431cm" master-name="spm37"
page-height="29.7004cm" margin-top="1.25cm" *margin-bottom="0cm*"
page-width="21.0009cm" margin-right="2.499431cm">
<fo:region-body margin-top="1.25cm" margin-bottom="2cm"/>
<fo:region-after extent="2cm" overflow="visible" display-align="after"
precedence="true"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="spm37" language="de" hyphenate="false">
<fo:static-content flow-name="xsl-region-after">
<fo:block font-size="11pt" language="de" line-height="12.65pt"
font-family="Calibri" orphans="2" widows="2">That is my footer</fo:block>
</fo:static-content>
...
How can I fix this problem?
Thanks,
Frank
--000000000000bc5474061bb523a3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hello,=C2=A0<div>I'd like to get my footer as close as=
=C2=A0possible to the lower bound of the page. Therefore=C2=A0I set the mar=
gin-bottom to 0. But it doesn't work. In my rendered RTF-Result the dis=
tance between my footer row and the lower bound is round about 1.5cm.</div>=
<div>If I render it with apache fop to PDF, all is fine.=C2=A0</div><div><b=
r></div><div><fo:layout-master-set><br>=C2=A0 <fo:simple-page-mast=
er margin-left=3D"2.499431cm" master-name=3D"spm37" pag=
e-height=3D"29.7004cm" margin-top=3D"1.25cm" <b>margin-=
bottom=3D"0cm</b>"=C2=A0 =C2=A0 =C2=A0 =C2=A0page-width=3D"2=
1.0009cm" margin-right=3D"2.499431cm"><br>=C2=A0 =C2=A0 &=
lt;fo:region-body margin-top=3D"1.25cm" margin-bottom=3D"2cm=
"/><br>=C2=A0 =C2=A0 <fo:region-after extent=3D"2cm" o=
verflow=3D"visible" display-align=3D"after" precedence=
=3D"true"/><br>=C2=A0 </fo:simple-page-master><br></f=
o:layout-master-set></div><div><br></div><div><fo:page-sequence maste=
r-reference=3D"spm37" language=3D"de" hyphenate=3D"=
;false"><br>=C2=A0 <fo:static-content flow-name=3D"xsl-regi=
on-after"><br>=C2=A0 =C2=A0<fo:block font-size=3D"11pt"=
; language=3D"de" line-height=3D"12.65pt" font-family=
=3D"Calibri" orphans=3D"2" widows=3D"2">Th=
at is my footer</fo:block><br></fo:static-content><br>...=C2=A0=
=C2=A0<br><br></div><div><div>How can I fix this problem?</div></div><div><=
br></div><div>Thanks,</div><div>Frank</div></div>
--000000000000bc5474061bb523a3--
--000000000000bc5476061bb523a5
Content-Type: application/octet-stream; name="1719308049481.fo"
Content-Disposition: attachment; filename="1719308049481.fo"
Content-Transfer-Encoding: base64
Content-ID: <f_lxub942l0>
X-Attachment-Id: f_lxub942l0
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiID8+DQoKPGZvOnJvb3QgeG1sbnM6
Zm89Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvWFNML0Zvcm1hdCI+CiANCiA8Zm86bGF5b3V0LW1h
c3Rlci1zZXQ+CiAgPGZvOnNpbXBsZS1wYWdlLW1hc3RlciBtYXJnaW4tbGVmdD0iMi40OTk0MzFj
bSIgbWFzdGVyLW5hbWU9InNwbTM3IiBwYWdlLWhlaWdodD0iMjkuNzAwNGNtIiBtYXJnaW4tdG9w
PSIxLjI1Y20iIG1hcmdpbi1ib3R0b209IjBjbSIgcGFnZS13aWR0aD0iMjEuMDAwOWNtIiBtYXJn
aW4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jI4Y20iIGZvbnQtc2l6
ZT0iMTFwdCIgbGluZS1oZWlnaHQ9IjEzLjY1cHQiIGxhbmd1YWdlPSJkZSIgZm9udC1mYW1pbHk9
IkNhbGlicmkiIG9ycGhhbnM9IjIiIHdpZG93cz0iMiI+TGFzdCBSb3c8L2ZvOmJsb2NrPgogIDwv
Zm86Zmxvdz4KIDwvZm86cGFnZS1zZXF1ZW5jZT4KPC9mbzpyb290Pg==
--000000000000bc5476061bb523a5
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support
--000000000000bc5476061bb523a5--