PDA

View Full Version : OpenOffice document display on QTextBrowser solution



patrik08
10th May 2008, 14:14
I have successful porting KDE Okular ( only OpenOffice documet part)
to enable play OO doc on QTextBrowser or as html source...

http://www.qt-apps.org/content/show.php/OpenOffice+2.3++file+display?content=80650


http://www.qt-apps.org/CONTENT/content-pre1/80650-1.png

coolboy123
10th May 2008, 17:35
It seems cool!
Does it support win32 platform?

patrik08
10th May 2008, 18:44
It seems cool!
Does it support win32 platform?

sure linux,mac,window ... try it to build on Mingw win32

sgh
18th May 2008, 07:02
hi,patrik08.
it is very interesting.
is it possible to build it on qt4.3.4? i'm working on it.
well, could you show me where it's application(exe files) for running winxp is?
thanks.:p:p

sgh
22nd May 2008, 05:59
i did download your opensource and i tried to build it, my build is fine.
but i cant show content of odt file after open file.
why does it occur this problem?

patrik08
23rd May 2008, 09:55
You must only select File -> Open OO Document...
This is a Port From KDE Okular ... 90 % from code is original KDE if you find bug upload doc to test...

I use Window - MINGW && Linux and its run ... i build its on QT 4.4 ..
I not tested on VS 2008 beta .. ( i have a build on other pc )

sgh
24th May 2008, 05:07
:confused:
so your opening file is fine?
i did it select file->open document, i guess opening file is correct but content doesnt show.
aka im working msvc 2005 and qt , mingw on winxp

patrik08
25th May 2008, 10:55
I dont know how VS 2005 work
on window i have only MINGW && Visual Studio 2008 beta
I suppose the zip library con not build correct on VS 2005

But can you open demo file ?:
http://fop-miniscribus.googlecode.com/svn/trunk/OO_Widged/sample.odt
http://fop-miniscribus.googlecode.com/svn/trunk/OO_Widged/sample.ott

if not help the projekt:
http://quazip.sourceforge.net/
to make a zip lib to your Microsoft compiler...
and after integrate it on dir :
http://fop-miniscribus.googlecode.com/svn/trunk/OO_Widged/qzip/

patrik08
17th September 2008, 01:55
I rewrite the source from new i remove the Okular porting
I acquire so match Know-How by writing the XSL-FO (this format having so many option and is like Tex) format that i write
OpenDocument format on 3 Day.

The source are avaiable on
http://www.qt-apps.org/content/show.php/OpenDocument+format+Reader%2BWriter+odt?content=80 650



http://www.qt-apps.org/CONTENT/content-pre1/80650-1.png