Hi Cristina, Cristina Scheau ha scritto: > Hi! > I'm Cristina Scheau, a Computer Science student from Romania. I am new to > Open Office API and intend to develop a > XWiki(http://www.xwiki.org<http://www.xwiki.org/xwiki/bin/view/Main/WebHome>) > Extension for OO Writer (this is my Gsoc proposal). My question is, there > is a way to handle events from OO, like saving a document, or creating a new > document?
Yes, Your extension must contain a UNO service that supports the com.sun.star.task.XJob (or XAsyncJob) interface Further, you have to include an appropriate configuration file (jobs.xcu) that will contain information about which event will launch your XJob component More info here: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Jobs/Jobs List of supported events: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Jobs/List_of_Supported_Events HTH Paolo Mantovani --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
