What page is a picture on

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
User avatar
MikeHenry
Posts: 9
Joined: Sat Jan 26, 2008 6:39 pm

What page is a picture on

Post by MikeHenry »

This is a followup to a problem I was having earlier this year.
I need to insert the cover of my book at the start of an existing
60 page document that includes 50 pictures that are anchored to page.
OOo Writer will not move the pictures when a page is inserted, and
doing it manually would take hours. I need a macro that will bump
down pictures that are anchor-page, but I can't find any documentation
on referencing pictures in via a macro.
Does anyone know how to determine what page a picture is on and it's
anchor method, via a basic macro?
Post Reply