[Home] [By Thread] [By Date] [Recent Entries]
At 2011-07-15 17:07 +0200, Mathis Mvrke wrote:
I am using Apache FOP version 0.95. Furthermore I am using xsl-fo to generate pdf out of Matlab (matlab generates an xml-file and I use a xsl-fo file as style sheet)
The only time I've seen a width change based on content is with a side float, and even then putting more text than the width of the graphic would simply widen the float area. Some XSL-FO tools have an intermediate format that you might be able to exploit to determine and massage the values needed. But nothing I know of is standardized in this regard. If your graphic's intrinsic size is maintained as metadata somewhere you could use that information to establish the width of the block, but there are no facilities in XSLT with which to do this with the actual image file. I hope this helps, even if doesn't give you what you want. . . . . . . . . . . . Ken
|

Cart



