WPTools VCL

WPTools is much more than a replacement for the Delphi richedit component: The central part of this VCL control is a complete RTF WYSIWYG word processing control which is surprisingly small. In contrast to similar components, WPTools supports editable header and footer in its perfect page layout modes. Zooming, split screen, tables, also with the possibility of page breaks inside table rows and a powerful CSS like paragraph style concept are supported by its modern architecture.

WPTools is a true Delphi VCL. It is a word processing VCL which is on the market since 15. January 1996. Since then its architecture was modernized several times and grew with the capability of the Delphi compiler. Now it is THE state of the art word processing component VCL for Delphi. Licensing is still very affordable, although it already integrates many features in the basis edition, which require expensive add-ons in some expensive competing ActiveX components.

To create a basic, yet powerful word processer to a project the developer just needs to place a few components on the form, the editor TWPRichText, a horizontal and a vertical ruler, the customizable toolbar TWPToolbar and then set a few properties to connect those elements.Of course there are plenty of customization options available and as a developer you are free to either use the provided toolbar and dialog components or create your own. It is also possible to mix provided logic with custom logic – multiple events make it easy to change the behaviour of the editor.

As Delphi developer you know – the advantages of a true VCL component are hard to beat. A true VCL component can be configured inside the IDE, it compiles directly into the application and does not require any runtime libraries. When the source code is available, it is easy to find problems and to enhance the component. With WPTools you have all this advantages, the PRO and PREMIUM edition come with all its pascal source code. WPTools 7 has been also enhanced to support themed applications created width Delphi XE3 or later.

There are no royalties – it is only required that each and every developer is licensed, who work (anywhere) in the project.

Licenses also may not passed around between developers in the same company.

With WPTools you can impress the end user of your application, with just a few clicks on your side.

Editions:

Standard Delphi 5, 6, 7, 2005, 2006, 2007, 2009, 2010,XE, XE2, XE3, XE4, XE5, XE6, XE7 C++Builder 5, 6, 2006 32 bit
 Professional Delphi 5, 6, 7, 2005, 2006, 2007, 2009, 2010,XE, XE2, XE3, XE4, XE5, XE6, XE7 C++Builder 5, 6, 2006 32 and 64 bit 100% Object Pascal Source code included
 Premium Delphi 5, 6, 7, 2005, 2006, 2007, 2009, 2010,XE, XE2, XE3, XE4, XE5, XE6, XE7 C++Builder 5, 6, 2006 32 and 64 bit 100% Object Pascal Source code included+Reporting,+ Textboxes+ Footnotes

Feature Overview:

The word processing component WPTools supports a variety of different character and paragraph attributes, style sheets, numbering and bullets.

Plus, it supports bookmarks, embedded images (with text wrap around) and table of contents.

If you need to do mass mailing or to provide your customers with a customizable database view you will enjoy working with the powerful “mail merge” facility. WPTools works with special field objects (start and end markers) which makes it possible to dynamically update the text or to read out selected parts of the document, so it is also possible to use it with forms for data entry.

And when you need fast and accurate PDF export, just add our product wPDF and it is done. But since wPDF does not only export from WPTools, you can mix in output from reporting components or metafiles if required.

You can also change the rendering of the text in many ways. For example you can paint a custom page or paragraph background from one of its events.

Articles from our blog:

Features:

Dataforms in WPTools

WPTools can be also used to create forms. These are special texts which are generally protected. The user may only edit the text in the  marked areas. We call this areas 'Edit Fields': Using Edit Fields you (or the user of your application) can create forms to view and edit the data in a database.Edit fields work like mail merge fields. Merge fields are fields which can be updated though an event - the only difference is, that the objects ...
Read More

Different text attributes

WPTools supports many different text attributes font name, size, character set character styles, such as bold, italic, underlined underline color and modes left, right, center and justify alignment shading text and text background colors indents: left, right and first line tab stops: left, right, centered and decimal. new: fill mode subscripts and superscripts additional spacing before & after the paragraph custom line-height hypertext links (hover effects are also possible) borders (new: different colors, width and mode for each border) hidden ...
Read More

Header and Footer texts in WPTools

Not only does WPTools support printing of header and footer texts, these texts can also be edited in page layout mode. WYSIWYG editing of headers and footers in page layout mode. Exclusive editing of a header or footer text in normal layout mode. Different headers and footers for the first page or for odd and even pages. Different set of headers for any section in the text. Event OnGetSpecialText to select a header or footer using your own program logic ...
Read More

Mail merge in WPTools

"Mail Merge" means the automatic update of data fields in any document. It can be used to do mass mailing or to create customizable database record views.<br> With WPTools merge fields are not destroyed by the merge process, the field data can be exchanged as soon as it changes. So it is possible to scroll through a database with a merge letter being "attached".<br> It is also possible to read out the contents of the merge field. So the document ...
Read More

Multiview (splitscreen) technology

WPTools strictly separates the text data structures from the output logic. This makes it possible to show the same text using an editor and a preview component. Even more impressive is the possibility to edit the same text using different editors! Text paths The multiview technology cannot only be used to implement a splitscreen feature, it can be the solution edit the a text path: This means that different editors are set up to each edit one part of the ...
Read More

Powerful Image Support in WPTools

WPTools allows you to embed images in the text. Once they are selected, the editor will display a frame with sizer markers. The images can be resized and moved. If the image is "free floating" not only the frame, but also the anchor will be drawn when the image is selected. Of course it is possible to disable the resizing or only allow resizing which keeps the aspect ratio. Images which are linked to a paragraph can be placed anywhere ...
Read More

Repeated header and footer rows

WPTools has the ability to repeat certain rows of a table at the start and the end of a page. These rows can be used to display sub totals if you use the calculation feature included in the WPReporter addon.The displayed numbers are usually updated at paint time, this means changes in the document (for example the change of the page break) causes also the sub totals to be changed to the correct values. The header and footer rows are ...
Read More

RTF reporting

You can enhance WPToools with "WPReporter" to make it easy to create structured documents using a template. WPReporter is easy to use. It is also possible to convert existing documents into WPReporter template. Please check out our step-by-step guide. You can use the standard text editor as editor for the templates. Only one additional, simple dialog has to be displayed. This new band dialog makes it easy to create bands. It is possible to create a new group inside of ...
Read More

Section Support in WPTools

Sections make it possible to use many different header and footer texts and different page sizes in one document. The editor will display an arrow in the left margin where a new section starts. The following code can be used to create a new section: [crayon-544aefc45ce64523600890/] Append text from different memos to document The demo AppendAsSection shows how texts from different editors (WP1,WP2, WP3) can be appended to create one multi section document in the editor WPALL. The 3 buttons ...
Read More

Syntax Highlighting

The component TWPSynEditHighlight has been created to use the SynEdit (http://SynEdit.SourceForge.net) syntax highlighter with WPTools. This makes it possible to show the syntax of about 30 different languages, including pascal, Java c++ and SQL! All you need to add the syntax highlighter units to the project. Then you can select a highlighter with [crayon-544aefc45d644672898906/] Non destructive highlighting WPTools also includes non destructive syntax highlighting for merge field tokens, reporting tokens (such as bands and groups) and XML ...
Read More

Table support

Tables with WPTools Merge cells horizontally Split cells horizontally Rows can span multiple pages Option: Disable page breaks in table rows (if they fit on one page) Option: Disable page breaks in tables (if they fit on one page) Different Borders for each cell Different Background color for each cell Multiple paragraphs in one cell Support for nested tables Merge cells vertically Support for nested cells Set fixed size for rows Powerful object oriented API Multiple paragraphs in one table ...
Read More

Text styles (stylesheet)

WPTools also offers superb support for paragraph styles such as 'Headline1' which are well accepted features of 'big' word processing programs. Because of the new code it is possible to set each attribute of a character or paragraph to be "undefined". If an attribute is undefined it can be defined by an element which has lower priority (i.e. inherited attributes). This concept includes the ideas of Cascading Style Sheets (CSS) which are used with HTML files. Especially for the style ...
Read More

Watermarks and External Pages

The preview capabilities of WPTools are exceptional. But what if you need to preview output from other components, such as report generators? Here the feature "EXTERNALPAGES" helps you out - it makes it possible to integrate other pages into the preview/editor pages (of any size) painted in an event. The text pages can be before and/or after the inserted pages. Watermarks Watermarks in WPTools are drawn by an easy to use event. This makes it possible to vary the watermark ...
Read More

WPTools File Formats

WPTools uses reader and writer classes. This makes it possible to - even in the standard version which does not contain all of the source code - to extend or to modify the way files are loaded and saved. All reader and writer classes have been completely rewritten for Version 5. The latest programming techniques have been introduced to make the reading and writing fast and save. WPTools reads and writes its own "WPTOOLS" format, ANSI, RTF and HTML/CSS texts ...
Read More

WYSIWYG

WPTools will always work in WYSIWYG mode, this means the printed output will always match the output you saw in the editor. Making this work is actually a quite complicated task and the editing engine has to be well prepared for it so the concept of WPTools was created from ground up to make this consequent WYSIWYG behavior possible. The text in the editor can be freely scaled. The scaling process does not require a reformat which does not only ...
Read More

External Links:

Index of the WPTools 7 programming manual which is also provided as PDF file.