Getting Frames, Controllers and Models from Each Other

From Apache OpenOffice Wiki
< Documentation‎ | DevGuide
Revision as of 11:14, 13 May 2009 by OOoWikiBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usually developers require the controller and frame of an already loaded document model. The interface of document models gets the controller that provides access to the frame through its interface. The following illustration shows the methods that get the controller and frame for a document model and conversely. From the frame , obtain the corresponding component and container window.

Frame-Controller-Model Organization

If the loaded component is a trivial component and implements only, the window and the window peer is reached by querying these interfaces from the returned by loadComponentFromURL().

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages