Issue 26111 - bulit in document converter hangs
Summary: bulit in document converter hangs
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Windows 98
: P3 Trivial
Target Milestone: ---
Assignee: stephan.wunderlich
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-04 10:09 UTC by gaborf
Modified: 2013-02-24 21:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description gaborf 2004-03-04 10:09:17 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.
Comment 1 stephan.wunderlich 2004-03-04 11:50:54 UTC
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 :-)
Comment 2 stephan.wunderlich 2004-03-15 09:40:37 UTC
SW: I'll close this since and handle all further comments in 26439