Posts

Showing posts from March, 2007
OpenOffice.org Macro Over the next couple of posts, I'll be posting the portions of a script I used to Generate a listing of personnel from a database table in OpenOffice.org Writer using the Basic language interface. What tasks are performed: 1. Styles are made and modified 2. Data is read and inserted into pre-formatted tables 3. The tables are modified (cells are merged and split) 4. New pages are entered 5. Names are Indexed and Headings added to the table of contents 6. Table of contents and an index are generated 7. The Table of Contents is modified to include hyperlinks around the name of the table of contents entry In my work on this script, I got a lot of help from various public support sites reading previous posts and finding the answers I needed. As well, once I figured out how to use the documentation, I used that a lot to help figure out the parts that I couldn't find sample code for. Part 1: Changing styles. I made a procedure to change all the styles that I wa...