Bug 95067

Summary: koconverter - does not recognize MS-Word files
Product: [Applications] koffice Reporter: Mikolaj Machowski <mikmach>
Component: generalAssignee: KOffice Bug Wranglers <koffice-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nicolasg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mikolaj Machowski 2004-12-13 12:46:17 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc3.4.1 
OS:                Linux

koconverter always(?) assumes files with .doc extension
are KWord files. MS-Word files are recognizable by proper
string inside of file so koconverter could check them and turn on proper filter chains.
Comment 1 Nicolas Goutte 2004-12-15 18:01:05 UTC
I cannot reproduce (with KOffice CVS HEAD).

So may be it is the doc file that it is not recognised as MS Word file. For example, does Konqueror shows the correct icon?

(I am moving the bug report to KOffice/General, as it does not seem to be a filter problem.)

Have a nice day!
Comment 2 Mikolaj Machowski 2004-12-15 23:40:11 UTC
This is text from error window:
An error has occurred while parsing the KWord file.
At line: 4, column 24
Error message: unexpected end of file

Konsole outpout:
winword-filter: WARNING: Not supported: counter text without the depth in 
it:
winword-filter: WARNING: Not supported: counter text without the depth in 
it:
winword-filter: WARNING: Not supported: counter text without the depth in 
it:
winword-filter: WARNING: Not supported: counter text without the depth in 
it:
winword-filter: WARNING: Not supported: counter text without the depth in 
it:
export-filter-lib: ERROR: Parsing Error! Aborting! (in ParseFile)
export-filter-lib:   Line: 4 Column: 24
export-filter-lib:   Message: unexpected end of file

This is a 10 day old CVS-HEAD.

Konqueror recognizes doc as MS-Word and KWord itself opens file nicely.


Comment 3 David Faure 2004-12-16 11:12:47 UTC
Which koconverter command do you type exactly?
Comment 4 Mikolaj Machowski 2004-12-17 00:18:47 UTC
> Which koconverter command do you type exactly?
koconverter file.doc file.txt

Comment 5 Halla Rempt 2005-10-18 13:47:09 UTC
This is definitely not the case for all files. Mikolay, can you try to confirm with KOffice 1.4 or current svn and if it's still true attach your testcase?
Comment 6 Mikolaj Machowski 2005-10-18 21:25:37 UTC
Works for me now (3.5 branch and wv2-0.2.2)
Comment 7 Mikolaj Machowski 2005-10-18 21:31:40 UTC
Works for me now (3.5 branch and wv2-0.2.2)