On 12.03.2007 21:46:24 Thomas Zastrow wrote: > Hello, > > my Java-program works fine in the meantime :-) > > When I transform something with FOP, on the commandline there are > warnings and so on like this: > > 12.03.2007 21:39:56 org.apache.fop.apps.FOUserAgent setTargetResolution > INFO: target-resolution set to: 72.0dpi (px2mm=0.35277778) > 12.03.2007 21:39:57 org.apache.fop.fo.FONode attributeWarning > WARNUNG: Warning(Unknown location): fo:table, table-layout="auto" is > currently not supported by FOP > Generated 10 pages in total. > > Is it possible to put this messages into a variable, so that I can > access them from my Java-program? I just want to display them in a > Swing-component.
It's not possible the way I'd want it, yet. But you can write your own backend for Apache Jakarta Commons Logging to get at the messages. FOP currently uses JCL for all its logging, so you can configure it the way you want. Please consult the documentation for JCL here: http://jakarta.apache.org/commons/logging/ http://jakarta.apache.org/commons/logging/commons-logging-1.1/guide.html#Extending_Commons_Logging Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]