Simone Parotta wrote: > converting from an XSL-FO file to ODT, if i don't define any image dimension > XFC handles the image in the right way, but clips the images if i specify > width and heigth in the FO tag, though there is no clipping defined > > from this > > <fo:external-graphic src="file:///some/where/image.bmp" width="95px" > height="25px"/> >
--> Attributes width and height do not specify the dimension of the image. Such attributes specify the dimension of the image *viewport*. Therefore the behavior of XFC is probably correct. If you want to specify the dimension of the image, please use attributes content-width and/or content-height. See http://www.w3.org/TR/xsl/#fo_external-graphic --> Note that using unit "px" is not recommended because such unit does not correspond to the pixels of the image. Unit "px" means: a pixel of the output device of the XSL-FO processor. In the case of XFC, by default, it's a 96DPI screen. See command-line argument "screenResolution" in http://www.xmlmind.com/foconverter/_distrib/doc/user/command_line_java.html > i get this > > <draw:frame draw:name="image2" draw:style-name="G0" svg:height="18.8pt" > svg:width="71.2pt" text:anchor-type="paragraph"><draw:image > xlink:href="Pictures/0002.png"/></draw:frame> > > where the automatic generated style named "G0" is defined as > > <style:style style:family="graphic" style:name="G0" > style:parent-style-name="Graphics"> > <style:graphic-properties fo:clip="rect(0pt 24pt 13.5pt 24pt)" > style:vertical-pos="top" style:vertical-rel="baseline" > text:anchor-type="as-char"/> > </style:style> > > > so, where does this clipping come from? > > fo:clip="rect(0pt 24pt 13.5pt 24pt)" > Excerpts from the generated .odt file do not help us to understand what happens. In the future, please make sure to comply with the support policy explained here: http://www.xmlmind.com/foconverter/support.html#xfc_support_policy -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

