Translations:Macros/Writer/001/13/en

From The Document Foundation Wiki
Jump to: navigation, search

def InsertComment():

   """Insert a comment at position of cursor
   
   curs    com.sun.star.text.text.XTextViewCursor
   annot   com.sun.star.text.textfield.Annotation
   """
   dt = uno.createUnoStruct("com.sun.star.util.DateTime")