Difference between revisions of "Documentation/DevGuide/WritingUNO/Jobs/List of Supported Events"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Documentation/Developers Guide/Writing UNO)
m (Robot: Changing Category:Documentation/Developers Guide/Writing UNO Components)
Line 74: Line 74:
 
{{PDL1}}
 
{{PDL1}}
  
[[Category:Documentation/Developers Guide/Writing UNO Components]]
+
[[Category:Documentation/Developer's Guide/Writing UNO Components]]

Revision as of 11:17, 5 June 2008



Supported events triggered by code
onFirstRunInitialization Called on startup once after OpenOffice.org is installed. Should be used for post-setup operations.
onFirstVisibleTask Called after a document window has been shown for the first time after launching the application. Note: The quickstarter influences this behavior. With the quickstarter, closing the last document does not close the application. Opening a new document in this situation does not trigger this event.
onDocumentOpened Indicates that a new document was opened. It does not matter if a new or an existing document was opened. Thus it represents the combined OnNew and OnLoad events of the global event broadcaster.


Supported events triggered by the global event broadcaster
OnStartApp Application has been started
OnCloseApp Application is going to be closed
OnNew New Document was created
OnLoad Document has been loaded
OnSaveAs Document is going to be saved under a new name
OnSaveAsDone Document was saved under a new name
OnSave Document is going to be saved
OnSaveDone Document was saved
OnPrepareUnload Document is going to be removed
OnUnload Document has been removed
OnFocus Document was activated
OnUnfocus Document was deactivated
OnPrint Document will be printed
OnModifyChange Modified state of the document has changed


Documentation caution.png Event names are case sensitive.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools