Bug 95067 - koconverter - does not recognize MS-Word files
Summary: koconverter - does not recognize MS-Word files
Status: RESOLVED WORKSFORME
Alias: None
Product: koffice
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KOffice Bug Wranglers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-13 12:46 UTC by Mikolaj Machowski
Modified: 2005-10-18 21:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)