The WPTools Shared Components have been created to add XML, Undo and localization functionality to the products of WPCubed GmbH. Since this kind of functionality is used frequently it is designed to be easy integrated in all your projects, even if the product does not use WPTools or WPForm.
Since there are various XML support libraries one main goal was to make it smaller and more effective than the libraries we know. So this XML support class does not compete to DOM-XML support components, such as OpenXML. It is small and easy to understand, but also very powerful in what it does. In a certain mode it can also work with HTML data which is not always XML conform. Since the functionality can be used in several ways (save properties, save localization strings, save and load XML/HTML in WPTools) this classes can help to reduce the size of your application.
The XML support classes come in the flavor event driven : TWPXMLInterface and using a memory tree: TWPXMLTree:
But there is more in this library. You can use the WPUndoStack either add forward/backward functionality to your application or to make it possible to undo/redo all the changes made on one data entry form. WPTools internally uses this class but it is also possible to create one instance outside and use it for the complete application or one form. With WPTools 5 it is not required anymore to assign an "outside" undo manager to the TWPRichText since the WPTools 5 undo manager will always cover editing in header/footer areas due to its new layer technology.
Very useful and powerful since based on the XML support class is the localization interface TWPLanguageControl. Only one instance is allowed in a project. It makes it possible to store, load and save language information. Once it is created on the form the WPTools forms can localize the strings from information stored in this component. WPTools does by default not link in the XML and localization library. To make it still work it uses several function pointers, defined in unit WPLocalize. This pointers are initialized when you place the TWPLanguageControl on your main form and set "Active" to true.
Since WPTools 5 the localization has been updated. Instead of the interface unit wplocalize.dcu a COM interface is used. This interface has to be created in the main form of the application, using an instance of the TWPLanguageControl class:
Copyright (C) 2002-2014 by WPCubed GmbH All rights reserved. St. Ingbert Str 30, 81541 Munich www.wptools.de
Excerpt of the License Agreement: You may use this software in your applications if you are a registered user of WPTools or WPForm 2 and your application is not a VCL component or a module of any kind (DLL, ActiveX) which competes in functionality with one of our products (PDF/RTF/XML/HTML Editor).