摘要 |
A method of document generation includes, in response to a call from an application, getting an interface and interface description of a template used to create a document, determining whether a method exists for filling all elements of the interface, making a dynamic call to invoke the method for filling all elements of the interface if the method exists, decomposing the interface into further elements if a method does not exist for filling all elements of the interface, repeating the steps of determining whether a method exists, making a dynamic call and decomposing the interface, until all elements of the interface are accounted for.
|