W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2012

Re: margin herit

From: Marc <Marc.Liste@free.fr>
Date: Sun, 10 Jun 2012 16:27:28 +0200
Message-ID: <4FD4AED0.4090908@free.fr>
To: Glenn Adams <glenn@skynav.com>
CC: Jeremias Maerki <dev@jeremias-maerki.ch>, www-xsl-fo@w3.org
Thank you very much for answers.
I was looking for this problem in the lists but perhaps not with the 
good keywords.
I will read the wiki.
Sorry to start the message with not a good sentence for the list, I 
thank that this list was the good one and had an hesitation with the FOP 
list.
Marc

Le 08/06/2012 16:15, Glenn Adams a écrit :
> I agree, if that is what this writer was discussing. The mail started
> with "I have a problem with FOP..."
>
> On Fri, Jun 8, 2012 at 7:34 AM, Jeremias Maerki <dev@jeremias-maerki.ch
> <mailto:dev@jeremias-maerki.ch>> wrote:
>
>     Glenn,
>     discussing differences between implementations (i.e. the interpretation
>     of the spec) is perfectly within scope of this mailing list, if you ask
>     me.
>
>
>     Jeremias Maerki
>
>
>     On 08.06.2012 15:16:43 Glenn Adams wrote:
>      > For future reference, this mail list is for discussing the XSL-FO
>      > specification, not for discussing specific implementation
>     behavior. Please
>      > continue your email thread on fop-users@xmlgraphics.apache.org
>     <mailto:fop-users@xmlgraphics.apache.org> if
>      > necessary, but make sure you read and understand [1] and [2] first:
>      >
>      > [1] http://xmlgraphics.apache.org/fop/faq.html#indent-inheritance
>      > [2] http://wiki.apache.org/xmlgraphics-fop/IndentInheritance
>      >
>      > Regards,
>      > Glenn
>      >
>      > On Fri, Jun 8, 2012 at 5:51 AM, Marc <Marc.Liste@free.fr
>     <mailto:Marc.Liste@free.fr>> wrote:
>      >
>      > > Hallo,
>      > > I have a problem with FOP with the FO file join below.
>      > > The problem is from the margin heritage.
>      > > The margin is inherited else if I indicate new value.
>      > > Here is the sample, I test it with XEP it's ok, but not with FOP.
>      > > Do anyone knows this problem? I don't read anything about that!
>      > >
>      > > Marc
>      > >
>     ------------------------------**------------------------------**--------
>      > > <?xml version="1.0" encoding="UTF-8"?>
>      > > <fo:root
>     xmlns:fo="http://www.w3.org/**1999/XSL/Format<http://www.w3.org/1999/XSL/Format>
>      > > ">
>      > > <fo:layout-master-set>
>      > > <fo:simple-page-master master-name="page" page-height="29.7cm"
>      > > page-width="21cm" margin-left="2cm">
>      > > <fo:region-body/>
>      > > </fo:simple-page-master>
>      > > </fo:layout-master-set>
>      > > <fo:page-sequence master-reference="page">
>      > > <fo:flow flow-name="xsl-region-body">
>      > > <fo:block background-color="blue">
>      > > <fo:block-container reference-orientation="0"
>      > > background-color="red" margin-left="1cm">
>      > > <fo:block background-color="yellow"
>      > > margin-left="0cm">should be ok</fo:block>
>      > > </fo:block-container>
>      > > </fo:block>
>      > > <fo:block background-color="blue">
>      > > <fo:block-container reference-orientation="0"
>      > > background-color="red" margin-left="1cm">
>      > > <fo:block background-color="yellow"
>      > > margin-left="-1cm">is ok with a -1cm as margin-left</fo:block>
>      > > </fo:block-container>
>      > > </fo:block>
>      > > <fo:block background-color="blue">
>      > > <fo:block background-color="yellow" margin-left="1cm">
>      > > <fo:table>
>      > > <fo:table-body>
>      > > <fo:table-row>
>      > > <fo:table-cell background-color="green">
>      > > <fo:block background-color="red"
>      > > margin-left="0cm">should be ok</fo:block>
>      > > </fo:table-cell>
>      > > </fo:table-row>
>      > > </fo:table-body>
>      > > </fo:table>
>      > > </fo:block>
>      > > </fo:block>
>      > > <fo:block background-color="blue">
>      > > <fo:block background-color="yellow" margin-left="1cm">
>      > > <fo:table>
>      > > <fo:table-body>
>      > > <fo:table-row>
>      > > <fo:table-cell background-color="green"
>      > > margin-left="0cm">
>      > > <fo:block background-color="red">is ok
>      > > with a margin-left at 0cm on the table-cell</fo:block>
>      > > </fo:table-cell>
>      > > </fo:table-row>
>      > > </fo:table-body>
>      > > </fo:table>
>      > > </fo:block>
>      > > </fo:block>
>      > > </fo:flow>
>      > > </fo:page-sequence>
>      > > </fo:root>
>      > >
>      > >
>
>
>
Received on Sunday, 10 June 2012 14:28:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 10 June 2012 14:28:01 GMT