Nino Novak wrote:
On Wednesday 09 September 2009 19:16, T. J. Frazier wrote:
[1] http://wiki.services.openoffice.org/wiki/User:TJFrazier/WikiBasic
Today I could test the changed code but it produced a RunTime Error. As
I don't know how to debug it, I tried to start it from the Basic editor
and got http://ninonovak.de/ooo/tests/TNCCleanup-Error-20090914.png
("Property or Method not found")
Nino
Sorry for your trouble.
The cleanup code is designed to be run on the MWEF text file output,
which should be an absolutely simple-minded flat text file, with no
funny-looking (to the code) paragraphs that have Writer tables, or
graphics, or embedded objects. (Some or all of those things may lack the
enumeration interface.) If you're sure you're running on the *.txt file,
let me know, and I'll make some explicit checks. I thought those
unnecessary.
In the next version, I'll add some kind of check on the target file
extension. It's easy to run on the wrong (*.odt) file, if they're both
open at the same time.
--
/tj/