[Solved] Jump to a target (Bookmark) and insert text

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
Peter18
Posts: 102
Joined: Thu May 12, 2011 1:01 pm

[Solved] Jump to a target (Bookmark) and insert text

Post by Peter18 »

A friendly hello to anybody,

need some help again! I want to create a template for a letter. The document shall get some Targets (bookmarks). Depending of the user loged in, I want to jump to the targets and insert text like name and so on. I tried to record it, but it did not record jump to target. :(
I loocked through several docs, but I found not the expected information. May be it's a keyword problem.

Thank you and have a nice evening

Peter
Last edited by Peter18 on Tue Oct 11, 2011 4:11 pm, edited 1 time in total.
OpenOffice 3.3; OpenOffice 4.1.1
User avatar
JohnSUN-Pensioner
Volunteer
Posts: 876
Joined: Fri Jan 14, 2011 1:21 pm
Location: Kyiv, Ukraine

Re: Jump to a target (Bookmark) and insert text

Post by JohnSUN-Pensioner »

I may not have a lot to give but what I got I'll give to you...
Apache OpenOffice 4.1.5, LibreOffice 6.4.4.2 (x64) on Windows 7
If you think that I did not answer your question, make allowances for my imperfect English
Peter18
Posts: 102
Joined: Thu May 12, 2011 1:01 pm

Re: Jump to a target (Bookmark) and insert text

Post by Peter18 »

Hello JohnSUN-Pensioner,

thank you for your answer. It works. Now I have to get it working with Delphi.

Greetings

Peter
OpenOffice 3.3; OpenOffice 4.1.1
Post Reply