harshi madurapperuma wrote:
Hi;
I want to know whether we can add new properties to
<fo:external-graphic> other than the usual properties.
some thing like x, y to get the location.
eg:
<fo:external-graphic src="images\4.jpg" *x="240" y="240"*
> width="42px" height="98px"/>
You don't need to change FOP to be able to position an image on a page.
Instead try:
<fo:block-container absolute-position="fixed" top="100mm" left="100mm"
width="40mm" height="100mm">
<fo:block>
<fo:external-graphic src="images\4.jpg" width="40mm" height="100mm"/>
</fo:block>
</fo:block-container>
Note, that I have replaced your measurements in pixels with device
independent measurements. In theory whilst FOP support px as a
measurement unit, in practise it doesn't work so well because its a
device dependent unit of measure.
<snip/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]