RE: block-containers and absolute positioning

2003-04-25 Thread David Neary


De : J.Pietschmann [mailto:[EMAIL PROTECTED]
 David Neary wrote:
fo:block-container font-size=20pt text-align-last=center
  fo:block left=0pt top=0pt width=20mm height=20mm 
position=absolute
 
 Specifying position on fo:block has no effect in FOP, it only works on
 fo:block-container. You have to use two containers:

Thanks a lot - that works great, and has given bme a much better idea of
what's happening.

Dave Neary.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: block-containers and absolute positioning

2003-04-24 Thread J.Pietschmann
David Neary wrote:
I'm using fop 0.20.4 on Win32. I would like to lay out a 
letterhead type thing which looks something like this...

++
|| Name
|| Address 1
|  Logo  | Address 2
|| Phone
|| Fax
++
I think that this should be a block container with two blocks 
in it - one containing the external-graphic and one 
containing the rest of the letterhead (I guess I could do it 
with a table too).
A table would indeed be the more recommended solution.
  fo:block-container font-size=20pt text-align-last=center
fo:block left=0pt top=0pt width=20mm height=20mm 
  position=absolute
Specifying position on fo:block has no effect in FOP, it only works on
fo:block-container. You have to use two containers:
 fo:static-content flow-name=xsl-region-before
   fo:block-container left=0pt top=0pt width=20mm height=20mm
 position=absolute font-size=20pt text-align-last=center
 fo:external-graphic width=20mm height=20mm
   src=url(http://www.linux.ie/images/tux.gif)/
   /fo:block-container
   fo:block-container left=20mm top=0pt width=180mm height=20mm
   position=absolute font-size=20pt text-align-last=center
 fo:blockTom Jones/fo:block
 fo:block17 Rugby Street/fo:block
 fo:blockCardiff CA12 14GC/fo:block
   /fo:block-container
 /fo:static-content
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]