This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KWord - Path of the opened .odt file

Tags: None
(comma "," separated)
pramodxyle
Registered Member
Posts
1
Karma
0
OS
Hi, I've been working on a filter and stuck at one place. I want to use the path of the opened file (.odt) in kword in a store, which is like :

KoStore* storeout=KoStore::createStore("path_of_the_opened_file",KoStore::Read);

How do I do that? I've tried every possible way, but couldn't get it to work. I guess it could be done using KoDocument.h

Any suggestions?
slangkamp
KDE Developer
Posts
607
Karma
4
The other filter use this:
KoStore* input = KoStore::createStore(m_chain->inputFile(), KoStore::Read);

Not sure if that is what you mean.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]