Here are some classes that you might find useful. We have ourselves used them in many projects and have now tried to tidy them up to be usable to others.
Although the license is quite generous it would be appreciated if you:
Copyright (c) 1986-2006 Datomatic. All rights reserved
This software is provided "as is," without warranty of any kind, expressed or implied. In no event shall Datomatic or its contributors be held liable for any direct, indirect, incidental, special or consequential damages arising out of the use of or inability to use this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions
- Redistributions of source code must retain the above copyright notice, definition, disclaimer, and this list of conditions.
- Redistributions in binary form (compiled executables) must reproduce the above copyright notice, definition, disclaimer, and this list of conditions in documentation and/or other materials provided with the distribution.
- Altered versions--including, but not limited to, ports to new operating systems, existing ports with new graphical interfaces, and dynamic, shared, or static library versions--must be plainly marked as such and must not be misrepresented as being the original source. Such altered versions also must not be misrepresented as being Datomatic releases--including, but not limited to, labeling of the altered versions with the name "Datomatic" (or any variation thereof, including, but not limited to, different capitalizations) without the explicit permission of Datomatic. Such altered versions are further prohibited from misrepresentative use of the Datomatic e-mail addresses or of the Datomatic URL(s).