openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Controller class for documents/textView classes in Open Office (NSDocument like?)
Date Fri, 24 Apr 2015 19:48:19 GMT
Ideally, I’d like to work with the Open Office source code for the main app on OS X. I was
attempting to set up a working Xcode project (which I prefer over Eclipse and I’m interested
in the Aqua build), so I’d be able to run and debug the application like a typical Cocoa
app but there isn’t an obvious way to set up an project since there is quite a bit of source
code and the class documentation is a bit hard to find (for me, navigating the Wiki to find
relevant info was not easy). 

Piecing it all together by looking through the source code with no knowledge of a project
of this size is going to be quite time consuming so I was hoping someone could point me in
the right direction. Is there only a thin native Cocoa layer in the main app? Is the textview
used for documents native (does it use NSTextView?) I’d like to learn more about the primary
C++ classes used in the app since it is quite easy to interoperate with C++ from Objective-C.

Thanks for responding.

> On Apr 24, 2015, at 3:21 PM, Ariel Constenla-Haile <> wrote:
> Hello Anthony,
> On Thu, Apr 23, 2015 at 06:35:00PM -0400, ANTHONY CRUZ wrote:
>> I’ve been digging through the source code in the Aqua build. I’m
>> mainly and ObjC developer. I’d love to be able to set up an Xcode
>> project and contribute to the project.
>> After looking for a really long time for an app delegate (not loaded
>> from Interface Builder) I was able to find What are the
>> primary view classes in Apache open office for displaying the
>> documents? I’ve been looking for the class responsible for displaying
>> the contents of files (like a word document). I was hoping to find
>> a controller for a document that has a NSTextView property but I can’t
>> seem to find it.
>> The Developer’s guide mostly has Java examples and when I search
>> I keep finding pages in the Wiki that are possibly out of date. Is the
>> document controller/text view done in Java? Or is there C++ or
>> Objective-C API for opening document windows? I know I can turn off
>> the Java runtime in Open Office preferences so i was hoping I could
>> avoid Java. 
>> Is there a C++ class for opening document files (analogous to an
>> NSDocument subclass, in a pure Objective-C app). I’d love to write an
>> Objective-C wrapper around it. 
> I don't understand if you want to work OpenOffice source code, or just
> with its API. If the later, documents are loaded using the Desktop
> service, which implements the interface css.frame.XComponentLoader
> <>
> The API is the same, you just have to implement the Java examples from
> the SDK in C++; look for example at
> <>
> <>
> You need to set up the SDK environment in order to build that examples
> (but you don't need to build nor study OpenOffice source code if you are
> just working with the API).
> Regards
> -- 
> Ariel Constenla-Haile
> La Plata, Argentina

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message