Difference between revisions of "Documentation/DevGuide/Text/Text Document Controller"
From Apache OpenOffice Wiki
< Documentation | DevGuide
m (1 revision(s)) |
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Text Documents) |
||
Line 24: | Line 24: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category: Text Documents]] | + | |
+ | [[Category:Documentation/Developers Guide/Text Documents]] |
Revision as of 09:37, 4 June 2008
The text document model knows its controller and it can lock the controller to block user interaction. The appropriate methods in the model's com.sun.star.frame.XModel interface are:
void lockControllers() void unlockControllers() boolean hasControllersLocked() com::sun::star::frame::XController getCurrentController() void setCurrentController( [in] com::sun::star::frame::XController xController)
The controller returned by getCurrentController()
shares the following interfaces with all other document controllers in OpenOffice.org:
- com.sun.star.frame.XController
- com.sun.star.frame.XDispatchProvider
- com.sun.star.ui.XContextMenuInterceptor
Document controllers are explained in the Office Development.
Content on this page is licensed under the Public Documentation License (PDL). |