The following example is a bit of a hack, as I’m not really using openoffice’s mailmerge facilities to perform the mailmerge. OpenOffice enables you to register database sources, and link fields in your document to the database.
Actually, mailmerge fields need to be linked to a database source. If they’re not, you have a problem. [...]