Hi,

After patch of Peter Herweg, adding support of external-graphics in Rtf
(25.09.2005, revision 291449) some problems are still unresolved. 
I'm talking about using url's in src attribute of fo:external-graphic tag.

Take a look at fo-file below:
  ...
  <fo:flow flow-name="xsl-region-body">
    <fo:block start-indent="12pt" space-before="3pt">
      <fo:external-graphic src="url('01.jpg')"/>
    </fo:block>
  </fo:flow>
  ...

Rtf renderer produced file "01a.rtf" (see in attach).

After changing in file RTFHandler.java string
        newGraphic.setURL(eg.getSrc());
to string
        newGraphic.setURL(eg.getURL());
Rtf renderer produced another file "01b.rtf" (in attach too).

File "01b.rtf" seems to be correct whether "01a.rtf" is not.

What do you think about it?


Thanks for attention!

Attachment: 01.fo
Description: Binary data

<<attachment: 01.jpg>>

Attachment: 01a.rtf
Description: MS-Word document

Attachment: 01b.rtf
Description: MS-Word document

Reply via email to