mkatkar wrote:

> Hi all, 
>  
> I am working on porting openoffice ( version 2.3.1) applications ( writer,
> calc, impress) to work with DirectFb on Unix platform . I am new to large
> code base of OOo . It would really be very helpful if you validate my
> understanding on the following . 
>  
> 1) OOo has GTK plugin. However since the GTK plugin is now based on
> X11Classes which are based on Sal Classes ,
>  
>  I would need to replace all the low level X calls in these X11 classes into
> equivalent GDK calls . 
> I am looking at approach where i have the GtkPlugin classes still deriving
> from X11 classes . However if OOo code is configured for DirectFB backend (
> maybe a --enable-directfb) i would change the X11 classes to talk to GDK
> rather than X. Am i right here ? 
>  
>  2)Since there is VCL layer for all graphics, i assume that all above
> applications will be ported to directFB backend  if i port the VCL GTK
> Plugin to DirectFb backend . Is this so simple ? 
>  
> 2.b) Has someone tried something similar with OOo? 
> 2.c) How much effort would be involved in this activity ? 

I'm afraid that you have to discuss that with the vcl developers (gsl
project).

> 3) I also assume that i would need no changes in the UNO layer and awt
> toolkit . I am interested in using writer , calc and impress packages to act
> as viewers i.e support for read-only .  Would i need to port layers other
> than VCL that also talk to X e.g dtrans.

I don't understand how the port relates to the viewing functionality. I
would expect that changes in the vcl pluging layer won't affect any code
in framework, sw, sc etc.

> 4) I have NOT understood how the sw, sc and sd modules interact with the
> framework layer (svx,sfx). Where do i find details of these framework
> modules.    I have read this -
> http://www.openoffice.org/white_papers/tech_overview/tech_overview.html#3* 

We should let svx out of the picture - it's more a collection of
functionality but not a structural element of the framework.

The framework module makes up the building blocks of our applications as
described in the Developer's Guide. All applications except base also
use the sfx2 module to implement some general functionality.

> 5) What are the graphics calls at the application layer ? Below the
> application layer is Framework,Infrastructure and SAL layer.
>  
> Which layer maps graphic calls from OOo appliucations (like sw) calls to the
> VCL layer ? 

The applications use VCL directly, most of the time. The framework adds
"desktop" functionality besides that.

> 6) Is there any way to incrementally test this approach ?  
>  
> 7) Is there any simple application that follow the same approach as
> writer(sw) and which can be used to test the flow of from application layer
> through framework layer to VCL layer. I have seen few demo applications in
> vcl/workben. Any more suggestions ?
The smallest application in our packages is Math. Perhaps that could be
a start?

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to