Quantcast
Channel: Apache OpenOffice Community Forum
Viewing all articles
Browse latest Browse all 1281

Advanced Uses • Re: Reporting Writer Annotation contents

$
0
0
I think I might have been unclear: for an annotation I’d like to get access to both the annotated text and the annotation itself.

Take, for example, the attached document: it contains a paragraph

Code:

A paragraph with annotated text.
and the annotation itself

Code:

A text annotation.
The above code extracts the annotation via .textfield.textrange, but I can’t quite get access to the annotated text itself — other than having two special text portions Annotation and AnnotationEnd “wrapping” the annotated text itself. Furthermore, annotations can overlap for annotated text, so, hmm… :?
comments.odt

Statistics: Posted by _savage — Sat Aug 31, 2024 11:10 pm



Viewing all articles
Browse latest Browse all 1281

Trending Articles