The commonality between these types of components is the .XComponent interface. The viewable components managed by the desktop can be three different kinds of objects: full-blown office documents with a document model and controllers, components with a controller but no model, such as the bibliography and database browser, or simple windows without API-enabled controllers, for example, preview windows. The Desktop terminates the office and manages components and frames The desktop service, together with these surrounding objects, is called the desktop environment. Examples for the latter are the global document event handling and its user interface ( Tools ▸ Customize ▸ Events), and the menu bars that use the dispatch API without being UNO services themselves. The desktop object and frame objects use auxiliary services, such as the .TypeDetection service and other, opaque implementations that interact with the UNO-based office, but are not accessible through the LibreOffice API. The name of this service and the interface name .XDesktop were kept for compatibility reasons. The root frame of this hierarchy was called the desktop frame. The name of this service originates at StarOffice 5.x, where all document windows were embedded into a common application window that was occupied by the StarOffice desktop, mirroring the Windows desktop. From the desktop you can load viewable components, access frames and components, terminate the office, traverse the frame hierarchy and dispatch command requests. The desktop is the root frame for this hierarchy. All LibreOffice application windows are organized in a hierarchy of frames that contain viewable components. The .Desktop service is the central management instance for the LibreOffice application framework. The dispatch framework handles command requests sent by the GUI. The component framework follows a special Frame-Controller-Model paradigm to manage components viewable in LibreOffice. The framework API has two parts: the component framework and the dispatch framework. The desktop environment's functions are carried out by the framework API. The desktop environment consists of the desktop service and auxiliary objects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |