OOo mailmerge with evolution ---------------------------- Currently OOo 2.0 mailmerge feature have some 14 attributes (Ex , <First Name>, <ZIP> etc) that can be used to create letter. Now a user can create a "customized" letter from the selected "address block". OOo allows the mapping of "our" database (evo etc) columnNames to these predefined attributes. As of now the OOo does not give any meaningful xml file which will map "columnNames" by default :(. Ideally the OOo2.0 MailMerge code should take the column mapping from the DataAccess.xcu .. <node oor:name="com.sun.star.comp.sdbc.evoab.OEvoabDriver"> <node oor:name="EvolutionPreferences"> <prop oor:name="FullPathExportingCommand"> <value>Personal</value> </prop> </node> <node oor:name="ColumnAliases"> <prop oor:name="First Name"> <value>given_name</value> </prop> <prop oor:name="LastName"> <value>family_name</value> </prop> <prop oor:name="DisplayName"> <value>full_name</value> </prop> When first time a user maps a columnName for a particular "table Name" (ex: biblio) a binary entry is created ~/.ooo-2.0-pre/user/registry/cache/org.openoffice.Office.DataAccess.dat :( One more interesting thing is that, If your database provides more than 14 attributes than one cannot map it :( Place to hack: file ./sw/source/ui/dbui/mailmergehelper.cxx Function Name FillData (...) This is the place where the 14 attributes maps to "none available" or "columnName".