Text Document Controller

From Apache OpenOffice Wiki
< Documentation‎ | DevGuide
Revision as of 16:22, 15 December 2020 by DiGro (Talk | contribs)

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



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 Apache OpenOffice:

Document controllers are explained in the Office Development.

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