Apache OpenOffice (AOO) Bugzilla – Issue 26111
bulit in document converter hangs
Last modified: 2013-02-24 21:08:28 UTC
I file it for 1.1.1 although it does not exist yet. What follows refers to 1.1.1rc BUT IT IS NOT IN THE LIST: "FOUND IN VERSION". OOo has a bulit-in Document Converter which can be opened from File--- AutoPilot. In 1.1.0 this converts Microsoft Word docs to OOo Writer files all right. However, it does not work for Word or Excel in 1.1.1rc. (It does convert SO5.2 files with no problem!) It gives a "Basic runtime error. Object variable not set." signal and hangs at the last line of what is quoted below as code: Code: Sub CreateLogTable(ApplIndex as Integer, CurFileContent as String, sFilterName () as String) Dim oLogCursor as Object Dim oLogRows as Object Dim FilterIndex as Integer Dim sDocumentType as String Dim oTextCursor Dim oCell bFilterTracerIsinsideTable = False FilterIndex = GetIndexForPartStringinMultiArray(sFilterName(), CurFileContent, 0) sDocumentType = sFiltername(FilterIndex,3) oLogCursor = oLogDocument.Text.createTextCursor() It never gets further so I do not know what else may be wrong even after the line in question. I managed to find an interim solution: I copied the Import Wizard from OOo1.1.0 and inserted it into OOo1.1.1rc instead its own which I deleted and now the built-in Document Converter works. Unfortunately I don't know if this workaround did something terrible deep inside OOo1.1.1rc or not. It is definitely a mistake to ask for comments for a non-existing product i.e. OOo1.1.1 since 1.1.1rc is the highest version so far and no comments are allowed for that.
There has been a change that variables needed to be declared in the same module, this has been rechanged so it behaves as it did in OOo1.1. I just 'downloaded' (not sure if that is a real word ;-)) the latest OOo1.1.1rc from http://download.openoffice.org/1.1.1rc/index.html and this seems to include the change. Well at least the DocumentConverter works for me in this version :-)
SW: I'll close this since and handle all further comments in 26439