Hi,

It could be easy to implement your desire as you might guess, I think.

The key module would be "vcl" in the source code of OpenOffice.org.

outdev.hxx defines the OS independent interface of virtual devices such as OS 
dependent real display devices, printer, PDF exporter, and so on. The upper 
applications such as Writer, Calc, and Impress work with the virtual devices 
through the interface.
http://hg.services.openoffice.org/OOO330/file/OOO330_m20/vcl/inc/vcl/outdev.hxx
http://hg.services.openoffice.org/OOO330/file/OOO330_m20/vcl/source/gdi  
outdev?.cxx

To build your own cloud version of OpenOffice.org, you could add a new virtual 
device that serves your remote users.

E.g. the virtual device could be a hand-made web server that translates GET and 
PUT requests from the client side into key/mouse events and drawing actions for 
the upper applications.

IMHO, if I were you, I would not use any web protocol to realize it. Because it 
might require thousands of lines of JavaScript as AJAX in the client side. 
Despite the efforts, its quality might be poorer than a real OpenOffice.org.

So, how? The virtual device would draw texts and shapes on the internal bitmap 
virtual display first and then send the changes of bitmap via well-known VNC 
server protocol or video streaming protocol to the client side.

The idea comes from my situation where a VNC server is located in my SOHO in 
Japan and I travel to the US, Germany, Italy, China, ... Wherever I were, the 
view of OpenOffice.org running on a virtual machine can be projected on my 
laptop through VNC viewer. Before leaving the US I leave a document of 
OpenOffice.org open and close the VNC connection. After arriving at a hotel in 
Germany I can work with the document without any interruption. For me, that is 
the cloud.

Anyway, I believe you can do it! :-)
Serving several users concurrently for a single document might be much more 
challenging and attractive.

Source files of OpenOffice.org 3.3.0
http://download.services.openoffice.org/files/stable/3.3.0/
Get files OOo_3.3.0_src_xxx.tar.bz2 and extract them.

And then follow Alexandro's suggestion:

On 2011/06/26 2:31, Alexandro Colorado wrote:
Not a trvial job since OOo has more than 9 million of lines of code 
<http://www.openoffice.org/FAQs/build_faq.html#source>. But you will find most 
of the information here:
http://wiki.services.openoffice.org/wiki/Development#Getting_started_with_OOo_development

There might be much more cool, pragmatic ways. Anyone, any suggestions?

Best regards,
Tora
--
-----------------------------------------------------------------
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help

Reply via email to