WPTools is a native Delphi textcontrol to integrate word processing and reporting into
your application. Combine it with our PDF creator wPDF and the DocX support units and you have a powerful component set to convert RTF, DOCX, HTML, XML to PDF.
The central part of the VCL control WPTools 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. Reporting is done by a powerful addon WPReporter which can be seen as a very powerful mailmerge implementation. In contrast to mail merge where fields are replaced with contents of a database, WPReporter also allows to integrate loops in the template to creates lists and tables.
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.
Just one quote from a customer:
“It is a real pleasure when you make an expensive purchase like WPTools and have it completely blow you away, totally exceeding your expectations.
My mistake – it’s not expensive at all. Instead it is a very fairly priced premium tool that is going to be of enormous help to all of our clients.
Thank you for such an amazing product.” – Mark A. Swann, B.Sc., President (18. May 2015)
Addition to WPTools to support DocX loading and saving. The new reader and writer units (provided as pascal source) add support for most features of “Wordprocessing ML” used in DocX files created or consumed by MS Word.
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:
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
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
Happy Birthday WPTools! Did you know that WPTools V1 first became available on January 15, 1996? Originally introduced in 1995 as the successor to TurboPascal, Delphi quickly became a very successful Borland product. Then on January 15, 1996 Julian Ziersch published a new component – WPTools - which allowed programmers to easily add word processing features to their projects. At this time it was available in the CompuServe network (remember that?). In 1997 the renowned ZAC catalog listed WPTools as ... Read More
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" 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
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
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
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
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
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: var sectionprops : TWPRTFSectionProps; begin // New Page WPRichText1.InputString(#12); // New section properties sectionprops := WPRichText1.ActiveParagraph.StartNewSection; // Now we can do something with sectionprops ... end; Append text from different memos to document The demo ... Read More
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 procedure TWPSyntaxHigh.HighlighterNameChange(Sender: TObject); begin if WPSynEditHighlight1.SelectLanguage( HighlighterName.Text ) then begin WPSynEditHighlight1.Execute(WPRichText1.FirstPar); WPSynEditHighlight1.Enabled := FALSE; WPRichText1.ReformatAll(true, true); WPSynEditHighlight1.Enabled := TRUE; end; WPRichText1.SetFocus; end; Non destructive highlighting WPTools also ... Read More
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
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
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
MS Word DOCX Files Since 2015 optionally available for WPTools 7 is native support for DocX files. You will need Delphi 7 or later since UTF8 support is required. DocX support is activated when you add the units WPIOReadDOCX, WPIoWrtDocX and WPIoZIPDOCX to the project. (WPIoZIPDOCX implements the bridge to the ZIP support. Unless you use Delphi XE2 or later, you also need "abbrevia" for ZIP file support - which you can download at http://tpabbrevia.sourceforge.net/.) Pretty much all WPTools features ... Read More
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