I’m looking for a function to scroll to a certain (cursor?) position in
a Writer Document and could not find it yet.
What I already did:
- Reading the UNO API docs (it is probably in there, but I did not find it)
- Looked at https://github.com/XRoemer/Organon source, which certainly
has such a function, but I was not able to locate it, either.
Dos anybody know how to jump to a position (ideally with an example for it)?
PS.: I am new to the list and extensions dev, so my questions may be a
bit noob-ish. I’m UX desiger/researcher and code in Python and
PPS: What this is for:
I’d like to write an extension which allows to jump to positions in a
document where a certain character+[some text] appears – like a #hashtag.
The extensions purpose would be easing the tagging (also called
"coding") of text snippets by providing an overview where such tags (in
for of a "hashtag" are set. In the document, it would look like:
Participant 1: "I love working with libreoffice and zotero" #love
Am 04.03.2017 um 22:45 schrieb Heiko Tietze:
> How about using bookmarks? Insert > bookmark... adds a node to the Navigator (F5) under bookmarks. Might be easier to handle than cursor positions. Unfortunately I cannot help with actual code ;-).
> On 03/04/2017 10:21 PM, jan wrote:
>> I’m looking for a function to scroll to a certain (cursor?) position in
>> a Writer Document and could not find it yet.
Yes, I also had this idea – it is most likely to be much easier to add
the bookmarks than writing some own abstraction of a similar function.
On the other hand, UX wise it is nice if I could control the scrolling
(and other functionality) instead of misusing (?) build in functions.
(On the other hand, qualitative data analysis with a text processor is a
hack already, though a pretty established one ;) )