Translations:Macros/Writer/001/14/en

From The Document Foundation Wiki
Jump to navigation Jump to search

thisComponent = XSCRIPTCONTEXT.getDocument()

   curs = thisComponent.CurrentController.getViewCursor()
   annot = thisComponent.createInstance(
       "com.sun.star.text.textfield.Annotation")