Hi Andreas,
So, the start-indent can only be used to be inherited by the blocks.
It is the width that is computed incorrectly, not the offset.
I didn't understand everything you said in your last mails, but on this part I
can agree. :-)
Regards,
Georg Datterl
-- Kontakt --
@xmlgraphics.apache.org
Betreff: Re: start-indent endindents too
On 20 Jan 2009, at 13:41, Georg Datterl wrote:
Hi Georg
Given this block
fo:block-container absolute-position=absolute start-
indent=77.16534pt background-color=cyan
fo:block line-height=1em span=all orphans=3 background
Hi everybody,
Given this block
fo:block-container absolute-position=absolute start-indent=77.16534pt
background-color=cyan
fo:block line-height=1em span=all orphans=3
background-color=magenta widows=3
fo:inline font-family=arial bold font-size=18.0pt
line-height=18.0pt
I Georg,
You are mixing absolute-positionning and *-indent, witch can have unwished side
effects.
The width of the fo:b-c is reduced (using *-indent)
And the fo:b-c is shifted to the left side (absolute-position=absolute causes
the left trait default to 0).
Reading the XSL REC, I didn't found if
On 20 Jan 2009, at 13:41, Georg Datterl wrote:
Hi Georg
Given this block
fo:block-container absolute-position=absolute start-
indent=77.16534pt background-color=cyan
fo:block line-height=1em span=all orphans=3 background-
color=magenta widows=3
fo:inline font-family=arial bold
Nachricht-
Von: Andreas Delmelle [mailto:andreas.delme...@telenet.be]
Gesendet: Dienstag, 20. Januar 2009 18:43
An: fop-users@xmlgraphics.apache.org
Betreff: Re: start-indent endindents too
On 20 Jan 2009, at 13:41, Georg Datterl wrote:
Hi Georg
Given this block
fo:block-container absolute
On 20 Jan 2009, at 19:06, Georg Datterl wrote:
Seems to be correct, at first glance, although... How wide is your
region-start?
0, I'm in the header. Therefore I don't expect any side effects from
outer blocks.
OK, thanks for the sample. Seems like buggy behavior indeed.
The
On 20 Jan 2009, at 19:28, Andreas Delmelle wrote:
snip /
I think that taking it into account for both (offset and width) is
the correct way to implement it: the block-container should be
offset by 77pt from the page's edge (which is the same as the region-
body's edge here).
... and then
On 20 Jan 2009, at 19:48, Andreas Delmelle wrote:
snip /
I noticed that
BlockContainerLayoutManager.getNextKnuthElementsAbsolute() assumes
zero for both the X- and Y-offset of the content-rectangle. Not sure
if this is intended, or was a slight oversight.
For a quick-fix, naively copying
On 20 Jan 2009, at 20:14, Andreas Delmelle wrote:
On 20 Jan 2009, at 19:48, Andreas Delmelle wrote:
snip /
I noticed that
BlockContainerLayoutManager.getNextKnuthElementsAbsolute() assumes
zero for both the X- and Y-offset of the content-rectangle. Not
sure if this is intended, or was a
10 matches
Mail list logo