[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: All export broken
From: Enno Bartels <ebartels () nwn ! de>
Date: 2001-01-11 20:25:00
[Download RAW message or body]
Hi
Something isn't right with the export:
I have tryed all possibel exports
1. HTML
2. Simple text
3. SGML
But nothing worked (only kword - of course).
For this description I will only use the HTML export filter:
I get the window :
-------------
Missing exportfilters -
Could not export file of type text/html
And the window
--------------
could not save
/home/bartels/enno.html
I have done a koffice cvs update, make -f, config, make, make install
this evening but wasn't better.
Here is the output of kword on the terminal:
-----------------------
....
koffice (lib kofficecore): KoDocument::saveFile()
kio (KIOJob): stat file:/home/bartels/blablabl.html
kio (KIOJob): -- with progress info --
kio (Scheduler): PROTOCOL = file idle = 0
kio (KIOJob): error 11 /home/bartels/blablabl.html
koffice (lib kofficecore): Saving to format text/html in
/home/bartels/blablabl.html
koffice (lib kofficecore): Found MimeType text/html
koffice (lib kofficecore): KoFilterEntry::query( Export == 'text/html'
and Import == 'application/x-kword')
koffice (lib kofficecore): Query returned 0 offers
KDE detected X Error: BadMatch (invalid parameter attributes) 8
Major opcode: 42
koffice (lib kofficecore): Temp native file
koffice (lib kofficecore): Saving to store
koffice (lib kofficecore): ERROR: Couldn't save in native format!
..
And you can see that no queries where returned - how can that be
the right files are there in /opt/kde2/share/services:
-------------------------
- kword_html_export.desktop
The file seemes to be right:
--------------------
Import=application/x-kword
Export=text/html
.....
X-KDE-Library=libhtmlexport
And the lib libhtmlexport could I find at:
-------------------------
-rwxr-xr-x 1 root root 1334 Jan 10 22:31 libhtmlexport.la
-rwxr-xr-x 1 root root 465242 Jan 10 22:31 libhtmlexport.so
And the htmlfiltercode seems to be right too:
koffice/filters/kword/html/htmlexport.cc
------------------------------
....
const bool HTMLExport::filter(const QString &fileIn, const QString
&fileOut,
const QString& from, const QString& to,
const QString &) {
if(to!="text/html" || from!="application/x-kword")
return false;
....
----------------------------------------
----------------------------------------
By the way:
There is no kword_latex_export.desktop at /opt/kde2/share/services
but it there in the code
koffice/filters/kword/latex/kword_latex_export.desktop
Thanks if someone can help
Enno
_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic