1. A method in a computer system of exporting data from a database system to a document editing system, the method comprising: receiving a graphical selection of a plurality of fields of data stored in the database system; identifying a source format of the selected fields that can be exported from the database system; receiving a user-created template document containing references to the selected fields, each reference being in a target display format specified by the user and the references being arranged in a target layout specified by the user; and creating one or more template rules based on the identified source format of the selected fields and the target display formats and the target layout of the selected fields of the user-created template document for arranging the fields of data from the source format to the target display formats and the target layout.
3. The method of claim 1 wherein the user-created document contains merge fields at locations identified by the user as destinations for the fields of data stored in the database system.