maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   The biggest viewer of them all (OpenOffice.org) (https://talk.maemo.org/showthread.php?t=21703)

Bundyo 2008-07-08 07:22

The biggest viewer of them all (OpenOffice.org)
 
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... :D

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.

YoDude 2008-07-08 12:24

Re: The biggest viewer of them all (OpenOffice.org)
 
Bring it on Dude!!!

(cheers)

qole 2008-07-08 19:22

Re: The biggest viewer of them all (OpenOffice.org)
 
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...

Bundyo 2008-07-08 20:22

Re: The biggest viewer of them all (OpenOffice.org)
 
I plan on stripping it further... much further... but on that later :D

Bundyo 2008-07-11 13:32

Re: The biggest viewer of them all (OpenOffice.org)
 
Completely forgot to mention that there is a GConf setting to change the used viewer from osso_pdfviewer to evince:

/apps/owopen/viewer

lazuli 2008-07-11 14:08

Re: The biggest viewer of them all (OpenOffice.org)
 
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 2008-07-11 14:11

Re: The biggest viewer of them all (OpenOffice.org)
 
20+ seconds...

debernardis 2008-07-11 14:26

Re: The biggest viewer of them all (OpenOffice.org)
 
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 2008-07-11 14:33

Re: The biggest viewer of them all (OpenOffice.org)
 
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.

josiahg777 2008-07-22 21:05

Re: The biggest viewer of them all (OpenOffice.org)
 
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 :)

Bundyo 2008-07-22 21:17

Re: The biggest viewer of them all (OpenOffice.org)
 
Not yet, have somethinng to do first...

qole 2009-03-10 00:11

Re: The biggest viewer of them all (OpenOffice.org)
 
There's still a need for this Bundyo...

Can you tell me what the Ubuntu MID document viewer's name is? Maybe I can add it to my Easy Ubuntu package.

Bundyo 2009-03-10 00:34

Re: The biggest viewer of them all (OpenOffice.org)
 
Open Office? :)
Its just a small executable, can't remember its name.

qole 2009-03-10 04:38

Re: The biggest viewer of them all (OpenOffice.org)
 
Turns out it is called 'treb' and it takes a lot longer than 20 seconds to show you the document... I think we need to figure out how to package the Bundyo version up so it sits on the SD card...

Bundyo 2009-03-10 06:31

Re: The biggest viewer of them all (OpenOffice.org)
 
Okay, I'll release the source if I didn't already. :)

Bec 2010-01-21 19:29

Re: The biggest viewer of them all (OpenOffice.org)
 
Would it be possible to also have this for N900?

Bundyo 2010-01-21 21:39

Re: The biggest viewer of them all (OpenOffice.org)
 
Not sure if I still have it :( Have to check.


All times are GMT. The time now is 07:44.

vBulletin® Version 3.8.8