opensubscriber
   Find in this group all groups
 
Unknown more information…

f : fop-users@xmlgraphics.apache.org 13 September 2009 • 2:58AM -0400

horizontal alignment of external-graphic
by ingo peter

REPLY TO AUTHOR
 
REPLY TO GROUP




hi,
i want to set a externel graphic in a box.
the vertical-aligment is ok but the horizontal-alignment makes trouble...

the code: (fop 0.95 / fop-pdf-images/ ...)

<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="test"
page-height="29.7cm"
page-width="21cm"
margin-top="0cm"
margin-bottom="0cm"
margin-left="0cm"
margin-right="0cm">
<fo:region-body margin-top="0cm" margin-bottom="0cm"/>
<fo:region-before extent="0cm"/>
<fo:region-after extent="0cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="test">
<fo:flow flow-name="xsl-region-body">
<fo:block-container height="5cm" width="5cm" top="5cm" left="5cm" position="absolute" border="1pt solid black"
overflow="hidden" display-align="center">
<fo:block text-align="center">
<fo:external-graphic src="url('/tmp/picture.pdf')"/>
</fo:block>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>

whats wrong...?
mfg
-ip-


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlg...
For additional commands, e-mail: fop-users-help@xmlg...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.