ram okolo stranky ve FOP
Jirka Kosek
jirka na kosek.cz
Čtvrtek Duben 15 09:51:01 CEST 2004
Tomas Zalusky wrote:
> pracuji s procesorem FOP 0.20.5 a potrebuju docilit ramu okolo tela stranky.
> Bohuzel at pisu do region-body cokoli, neprojevuje se to. Pritom ze stranek http://xml.apache.org/fop/compliance.html#fo-object-region-body plyne, ze by to mel zvladnout.
> Mohl by mi nekdo poradit, zda nekde delam chybu nebo zda je to problem FOPu? Prikladam ukazku, ktera mi nechodi.
Vlastnost border se podle specifikace XSL-FO na region-body nevztahuje,
resp. rámeček musí mít nulovou šířku:
http://www.w3.org/TR/xsl/slice6.html#fo_region-body
The position and size of the region-viewport-area is specified relative
to the content-rectangle of the page-reference-area generated by
fo:simple-page-master. The content-rectangle of the region-viewport-area
is indented from the content-rectangle of the page-reference-area by the
values of the "margin-top", "margin-bottom", "margin-left" and
"margin-right" properties. In version 1.0 of this Recommendation, the
values of the padding and border-width traits must be "0".
Nicméně například XEP si s tím poradí, a váš kód v něm rámeček udělá.
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka na kosek.cz http://www.kosek.cz
------------------------------------------------------------------
Profesionální školení a poradenství v oblasti technologií XML.
XSL-FO 20.4. Úvod do XML 3.5.
DocBook 18.-19.5. XSLT 24.-26.5.
------------------------------------------------------------------
------------- další část ---------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3158 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.linux.cz/pipermail/docbook/attachments/20040415/814af801/attachment.bin>
Další informace o konferenci Docbook