Active Topics

 



Notices


Reply
Thread Tools
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#1
That's right my preciousss, a viewer for your pleasure or not quite.

So here it goes...

After Ubuntu-MID got released, i snatched a VM and ran it to see what it is like. Turned out not very good, but that's not the point. The point was that i saw a document reader among the apps, which opened MS documents (doc, xls, ppt and such) almost without any effort (of course that's a kvm to you ). I tracked it and found an OpenOffice under the hood, using an old OOo trick to convert documents with a macro and show them as PDF. So i thought - why we don't have that... So i downloaded the debian armel build of OOo, stripped it down a little, got it to run, wrote a small executable to open the docs (dialog or command line) and voila - the 156MB document viewer is right in front of you...

I packaged it along with the OOo (which i think is LGPL), if someone sees a license issue - please notify me.

Also - no mime types for the browser, use pipeline's utility to do it, until i learn how to do it with dbus.

If you want to start the office, use this:
Code:
LD_LIBRARY_PATH=/usr/lib/openoffice/program/ /usr/lib/openoffice/program/soffice.bin
No icons in OOo though.

I intend to bring this thing even further, i'll explain how in the following days.

Link:
http://maemobox.org/bundyo/owopen-0....-2.4_maemo.deb
57MB/156MB

Just to make it clear - it takes 20+ seconds to convert the file, so be patient.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.

Last edited by Bundyo; 2008-07-08 at 07:46.
 

The Following 23 Users Say Thank You to Bundyo For This Useful Post:
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#2
Bring it on Dude!!!

(cheers)
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#3
That's a pretty big document viewer!

Do you think there's any way of stripping it down further?
What about using AbiWord's conversion library, wvWare? That's gotta be smaller, although it only does Word docs...

EDIT: Looks like they say you should use AbiWord to do it, "AbiWord --to=pdf" ... probably not enough of a size reduction (since it can only convert Word) to warrant a move away from OOo...

Still, a very cool idea...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-07-08 at 19:36.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#4
I plan on stripping it further... much further... but on that later
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#5
Completely forgot to mention that there is a GConf setting to change the used viewer from osso_pdfviewer to evince:

/apps/owopen/viewer
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Posts: 123 | Thanked: 20 times | Joined on Jul 2008
#6
im all for supporting this project bundyo! just tell us what to do and we'll test its guts out for ya!

btw, how long does it take to open a document?
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#7
20+ seconds...
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#8
Do you mean is it possible to run openoffice.org (complete, not stripped) inside maemo, without chrooting? Very nice! Can publish the unstripped version please?
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#9
I'm not sure if it will work without problems. Currently i'm using only the content of /usr/lib/openoffice, with 3 added libs which maemo doesn't have. They are major ones and I really doubt it will be possible to be mixed with the maemo ones and to run it with a theme and so on. You can try it right now if you want.

It really should be rebuilt for maemo.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Posts: 425 | Thanked: 132 times | Joined on Mar 2008 @ California
#10
Any updates on this? I would really love a document viewer for my N810. I don't care so much about editing, but a (light) viewer that really works would be great
__________________
Promises are like babies. Fun to make, but hard to deliver.

Warning: dates on calendar are closer than they appear.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:37.