Welcome to WPTools Version 7

WPTools a suite of components with a combination of word processing and preview features you will not find available in any other single component package. Version 5 introduced an entirely new RTF Engine. This makes it much easier to work with the paragraph text and offers an object-oriented approach whenever such an approach is beneficial. Now WPTools 7 is available. It is built upon a further enhanced architecture and improves the general appearance of the editor. The migration from WPTools 5 or 6 to WPTools 7 is made as easy as possible.
The WPTools data model supports a separation between data and editing logic. This makes it possible to attach multiple editors to one text object in order to view different parts of the same text. This feature can be used to create a split view of the same text or, even more interesting, to link different editors to specific pages. This feature can also be used to edit text paths in DTP applications. Further more it is possible to use a single editor with different documents which can be switched.

WPTools 7 allows to create very modern looking applicatins, even with Delphi 5.


To learn about the new RTF Engine please browse to the class TParagraph which contains much of the functionality.

The class TWPRTFDataCursor is resposible for cursor movement, selection etc - although the memo control offers the usual procedcures as well.
Of equal importance is the TWPRTFDataCollection which actually hosts all parts of one document, such as the body text and all header and footer text. The text parts are stored in collection items of the class TWPRTFDataBlock.
The concept allows it that several TWPRichText (inherits of TWPCustomRtfEdit) memo objects use the same TWPRTFDataCollection. Normally you will use the TWPRTFStorage component to initialized the connected memo objects. The same class can be also used to create a chain of editors with each editor showing a different page of the document (text path).

The label control TWPRichTextLabel which is included in WPTools 7 is very powerful, too. It can be used whenever you need to display formatted text and need a control, which does not require a windows handle.

WPTools also includes a TWPPreview component which will display the text which is loaded by a different TWPRichText memo control. It also includes a very powerful preview dialog (TWPPreviewDlg). The support for paragraph styles is very powerful and ready to use, due to the included dialogs TWPOneStyleDlg and TWPStyleDlg.

If you need to create an editor quickly or need a template to start with, check out the data module TWPDefAct and the form TWPToolsEditor.

We tried to make WPTools 7 version as backward to V4 and also future compatible possible as possible - so the popular procedure FastAddTable has been included in two versions, one using pointersm the other using dynamic arrays. Please check out the examples to learn more about the Version 6 flavour of the "Fast" procedures. The function InputField had to be changed since the field logic was updated to provide better compatibility with RTF code.

Main data object classes in WPTools:


Info: if you develop in .NET or if you need an ActiveX text control please check out our product TextDynamic. It has been optimized for .NET and provides many features of WPTools and some unique features under as .NET or ActiveX control. We also make RTF2PDF TextDynamic Server - it has similar features and API as TextDynamic to be used with ASP and background processes.

Copyright(C) 2004-2013 by WPCubed
All rights reserved.
web: http://www.wpcubed.com
email: support@wptools.de


WPCubed