Re: [api-dev] How to insert and remove annotation?

2005-05-31 Thread Liao Yu
Hi Paolo, Actually there's a service com.sun.star.text.ViewSettings, with boolean property ShowAnnotations, which controls the visibility of annotations. You can access to ViewSettings with com.sun.star.view.XViewSettingsSupplier.getViewSettings (). You can refer to section 7.5 of

Re: [api-dev] How to insert and remove annotation?

2005-05-31 Thread Andrew Douglas Pitonyak
Liao Yu wrote: Hi, We can hide and show annotations in a text document via OOo API, but how can we insert or remove one with API? Regards, Yu An annotation is just a text field, you can remove it as any other text field. -- Andrew Pitonyak My Macro Document: