| View previous topic :: View next topic |
| Author |
Message |
sjpark Newbie

Joined: 06 Aug 2004 Posts: 1 Location: south korea
|
Posted: Fri Aug 06, 2004 6:02 pm Post subject: How can i find codes for MDI? |
|
|
I have a project that studying about MDI of OO.
I know that OO comes from StarOffice5.2. and it removed some feature from StarOffice(i don't know why removed).
anyway, I tried to find some codes and documents to studying about MDI of OO. but failed. how can i get information MDI? is it possible to get?
And,
Can I get(download) source codes of Staroffice 5.2?
help me...plz.
thank you. |
|
| Back to top |
|
 |
DannyB Moderator


Joined: 02 Apr 2003 Posts: 3991 Location: Lawrence, Kansas, USA
|
Posted: Sat Aug 07, 2004 7:49 am Post subject: |
|
|
In the Developer's Guide read Desktop Environment which is under section section 6.1.1.
See the paragraph that says.....
| Developer's Guide wrote: | | Like all other services, the com.sun.star.frame.Desktop service can be exchanged by another implementation that extends the functionality of OpenOffice.org. By exchanging the desktop service it is possible to use different kinds of windows or to make OpenOffice.org use MDI instead of SDI. This is not an easy thing to do, but it is possible without changing any code elsewhere in OpenOffice.org. |
I read this to mean that it is possible (but non trivial) to write a new component, which registers a new service, which replaces the Desktop service, without having to recompile OOo at all. In other words, you could install a package that could be installed by the user using the pkgchk command. (pkgchk.exe for systems infected with Windows.)
It may be necessary to write such a component in C++ because it may be necessary to access the VCL and SAL which does not appear to really be very accessible via. the API. Fortunantly, some people here (see the Code Snippets section) have begun posting some examples of how to work with OOo from C++. _________________ Want to make OOo Drawings like the colored flower design to the left? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|