Hi,

I need to put together a booklet with repetitive information from a database, which includes text and a picture. Given a template for a page I made in Draw, I would like to fill the template in a way similar to a mail merge from a MySQL database. A complication that prevents me from using the built-in mail merge is a page numbering scheme that requires a scripted logic. I would like to impliment this in Python, because I am familiar with it (but not with openoffice scripting). I have found basic guides for the OOo python interface, but I haven't been able to find example code of what I am trying to do. Can anyone point me to an example of using python with a drawing? Specifically, the actions that I don't know how to do are the following:

- Access a named text field on a drawing and changing the contents
- Loading an image into a named image container
- Create a copy of the current drawing to fill in another page of information

If I'm approaching this the wrong way, I'm open to suggestions.

Thanks for your help,
Miles

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to