On Mar 17, 2006, at 20:12, Will Peterson wrote:

Hi Will,

Is there a way to suppress the ExternalGraphicException text that renders inside an RTF document? Such that the document would be rendered but exclude the text: "org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExternalGraphic $ExternalGraphicException: The tag <fo:external-graphic> does not support gif - image type." (as well as the GIF image, of course)

I'm afraid it's hard-coded, but if you don't mind altering the class itself, and then rebuild FOP, easy. Just change the class in question's writeRtfContent() method, and make that catch block a NOP. Should work nicely.

Cheers,

Andreas

Reply via email to