Oct 15, 2019. Download Slack for free for mobile devices and desktop. Keep up with the conversation with our apps for iOS, Android, Mac, Windows and Linux.
< Documentation‎ | DevGuide
![]()
Desktop Service and Component Framework
The com.sun.star.frame.Desktop service available at the global service manager includes the service com.sun.star.frame.Frame. The Desktop service specification provides three interfaces: com.sun.star.frame.XDesktop, com.sun.star.frame.XComponentLoader and com.sun.star.document.XEventBroadcaster, as shown in the following UML chart:
UML description of the desktop service
The interface com.sun.star.frame.XDesktop provides access to frames and components, and controls the termination of the office process. It defines the following methods:
The methods
getCurrentFrame() and getCurrentComponent() distribute the active frame and document model, whereas getComponents() returns a com.sun.star.container.XEnumerationAccess to all loaded documents. For documents loaded in the desktop environment the methods getComponents() and getCurrentComponent() always return the com.sun.star.lang.XComponent interface of the document model.
The office process is usually terminated when the user selects File - Exit or after the last application window has been closed. Clients can terminate the office through a call to terminate() Photoshop 7 mac free download. and add a terminate listener to veto the shutdown process.
As long as the Windows quickstarter is active, the soffice executable is not terminated.
The following sample shows an com.sun.star.frame.XTerminateListener implementation that prevents the office from being terminated when the class
TerminationTest is still active:
The following class
TerminationTest tests the TerminateListener above.
The office freezes when
terminate() is called if there are unsaved changes. As a workaround set all documents into an unmodified state through their com.sun.star.util.XModifiable interface or store them using com.sun.star.frame.XStorable.
The Desktop offers a facility to load components through its interface com.sun.star.frame.XComponentLoader. It has one method:
Refer to chapter Handling Documents for details about the loading process.
For versions beyond 641, the desktop also provides an interface that allows listeners to be notified about certain document events through its interface com.sun.star.document.XEventBroadcaster.
Download adblock google chrome mac. The
XEventListener must implement a single method (besides disposing() ):
The struct com.sun.star.document.EventObject has a
string member EventName that assumes one of the values specified in com.sun.star.document.Events. The corresponding events are found on the Events tab of the Tools - Configure dialog when the option OpenOffice.org is selected.
The desktop broadcasts these events for all loaded documents.
The current version of OpenOffice.org does not have a GUI element as a desktop. The redesign of the OpenOffice.org GUI in StarOffice 5.x and later resulted in the com.sun.star.frame.Frame service part of the desktop service is now non-functional. While the
XFrame interface can still be queried from the desktop, almost all of its methods are dummy implementations. The default implementation of the desktop object in OpenOffice.org is not able to contain a component and refuses to be attached to it, because the desktop is still a frame that is the root for the common hierarchy of all frames in OpenOffice.org. The desktop has to be a frame because its com.sun.star.frame.XFramesSupplier interface must be passed to com.sun.star.frame.XFrame:setCreator() at the child frames, therefore the desktop becomes the parent frame. However, the following functionality of com.sun.star.frame.Frame is still in place:
The desktop interface com.sun.star.frame.XFramesSupplier offers methods to access frames. This interface inherits from com.sun.star.frame.XFrame, and introduces the following methods:
The method
getFrames() returns a com.sun.star.frame.XFrames container, that is a com.sun.star.container.XIndexAccess, with additional methods to add and remove frames:
This
XFrames collection is used when frames are added to the desktop to become application windows.
Through
getActiveFrame() , you access the active sub-frame of the desktop frame, whereas setActiveFrame() is called by a sub-frame to inform the desktop about the active sub-frame.
The object returned by
getFrames() does not support XTypeProvider , therefore it cannot be used with OpenOffice.org Basic.
The parent interface of
XFramesSupplier https://everwomen480.weebly.com/blog/camera-suite-free-download-mac. , com.sun.star.frame.XFrame is functional by accessing the frame hierarchy below the desktop. These methods are discussed in the section Frames below:
The generic dispatch interface com.sun.star.frame.XDispatchProvider executes functions of the internal
Desktop implementation that are not accessible through specialized interfaces. Dispatch functions are described by a command URL. The XDispatchProvider returns a dispatch object that dispatches a given command URL. A reference of command URLs supported by the desktop is available on OpenOffice (http://www.openoffice.org/files/documents/25/60/commands_11beta.html). Through the com.sun.star.frame.XDispatchProviderInterception, client code intercepts the command dispatches at the desktop. The dispatching process is described in section Using the Dispatch Framework.
Retrieved from 'https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/Using_the_Desktop&oldid=242596'
I want to download Apache OpenOffice
Download Apache OpenOffice for free, or find out about other ways of getting it.
Recent Blog Posts
17 May 2020:
Apache OpenOffice needs your help 22 October 2019: 1.6 million downloads of Apache OpenOffice 4.1.7 21 September 2019: Announcing Apache OpenOffice 4.1.7 18 November 2018: Announcing Apache OpenOffice 4.1.6 31 January 2018: Over 3.2 million downloads of Apache OpenOffice 4.1.5 30 December 2017: Announcing Apache OpenOffice 4.1.5 19 October 2017: Announcing Apache OpenOffice 4.1.4 28 November 2016: Over 200 million downloads of Apache OpenOffice 12 October 2016: Announcing Apache OpenOffice 4.1.3 28 October 2015: Announcing Apache OpenOffice 4.1.2 27 September 2015: Coming soon. Apache OpenOffice 4.1.2 13 May 2015: Authoring e-Books in Apache OpenOffice 13 April 2015: Collaboration is in our DNA 31 December 2014: Apache OpenOffice in 2014: a year in review Recent NewsApache OpenOffice 4.1.7 released
21 September 2019: The Apache OpenOffice project announces the official release of version 4.1.7. In the Release Notes you can read about all new bugfixes, improvements and languages. Don't miss to download the new release and find out yourself.
Apache OpenOffice 4.1.6 released
18 November 2018: The Apache OpenOffice project announces the official release of version 4.1.6. In the Release Notes you can read about all new bugfixes, improvements and languages. Don't miss to download the new release and find out yourself.
Apache OpenOffice 4.1.5 released
30 December 2017: The Apache OpenOffice project announces the official release of version 4.1.5. In the Release Notes you can read about all new bugfixes, improvements and languages. Newsgroup reader for mac os x. Don't miss to download the new release and find out yourself.
Apache OpenOffice 4.1.4 released
19 October 2017: The Apache OpenOffice project announces the official release of version 4.1.4. In the Release Notes you can read about all new bugfixes, improvements and languages. Don't miss to download the new release and find out yourself.
Apache OpenOffice 4.1.3 released
12 October 2016: The Apache OpenOffice project announces the official release of version 4.1.3. In the Release Notes you can read about all new bugfixes, improvements and languages. Don't miss to download the new release and find out yourself.
Apache OpenOffice 4.1.2 released
28 October 2015: The Apache OpenOffice project announces the official release of version 4.1.2. In the Release Notes you can read about all bugfixes, improvements and languages. Don't miss to download the new release and find out yourself.
Udine moves to OpenOffice, will save 360,000 Euro
16 September 2014: The City of Udine, in Italy, announced a process that will lead to the installation of OpenOffice on 900 municipal desktops, saving the city 360,000 Euro. ZDNet's Raffaele Mastrolonardo has the details.
Apache OpenOffice 4.1.1 released
21 August 2014: The Apache OpenOffice project announces the official release of version 4.1.1. In the Release Notes you can read about all new features, functions and languages. Don't miss to download the new release and find out yourself.
Apache OpenOffice 4.1.0 released
29 April 2014: The Apache OpenOffice project announces the official release of version 4.1.0. In the Release Notes you can read about all new features, functions and languages. Dbz shin budokai another road free download for ppsspp. Don't miss to download the new release and find out yourself.
100 Million downloads
17 April 2014: Download instagram for mac safari. The Apache OpenOffice project is proud to tell you that our software was downloaded over 100 million times. Join us in celebrating this big achievement!
Italian region adopts OpenOffice, saves 2 Million Euro
10 October 2013: The Italian administrative region of Emilia-Romagna announced plans to move to OpenOffice, saving 2 million euro.
Volunteers, not Amateurs
8 January 2013: Apache OpenOffice is developed 100% by volunteers. Apache does not pay for developers, for translators, for QA, for marketing, for UI, for support, etc. Of course, we're happy to accept donations to the Apache Software Foundation, to keep our servers runnings and for similar overhead expenses. But our products are developed entirely by volunteers.
Apache Openoffice Mac
Some users are initially worried by this statement:
How can software for free, developed by volunteers, be any good? Read on for an answer. Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |