WPTools 是一個全新的文字處理套件,它可以用面向對象的方法來處理文本樣式、段落和表格。它支持RTF、HTML/CSS、嵌套表格、頁眉頁腳文本并且提供杰出的所見即所得的頁面設計能力。
WPTools This is the brand new word processing suite - based on a new core which offers a completely object oriented approach to work with text styles, paragraphs and tables. It supports RTF, HTML/CSS, nested tables, header and footer texts and provides outstanding WYSIWYG page layout features.

當開發一個應用程序時,您經常會面臨一個問題,需要在最終用戶端輸入格式化的文本或是創建一些例如報告、連鎖信、清單之類的文檔。許多產品可以幫助您解決這個問題。最初,你可以選擇一個基于RichEdit DLL的控件。隨后,大量的報表生成工具出現了,可以供您選擇。然而現在,出現了一個把兩者的功能集合在一起的新工具。
基本概念與歷史: 基于過去8年里的WPTools用戶需求的WPTools是一個全新的產品。為了創造一個改進的架構來集成新的特性,給予您一些從未聽說過的功能,以及能夠在一個組件中實現多功能,我們決定重寫源代碼。這個允許您使用所有第一流的文字處理軟件具有的屬性來編輯文本。它支持很多不同的字符、段落屬性、頁眉和頁腳、表格和編號等等。還有一個接口,通過這個接口可以加入一個拼寫檢查組件,另外,它還支持書簽和內容表格。
只要裝上WPDF產品,就可以立刻輸出PDF格式了。您也許會說這不足以使WPTools比其他組件要好。第五版由于實現的方式,對標準的文字處理軟件特色的擴展支持以及直白的操作方式等優勢在業界是領先的。
特色綜述: - 所見即所得:WPTools總是工作在所見即所得的模式下,這意味著打印的輸出效果就和在編輯器里看到的一樣。

- 圖像支持:WPTools支持內嵌圖像,把它們作為字符處理,或者是連接到段落或頁。
- 文件格式:WPTools以ANSI、HTML/CSS、RTF和它自身的“WPTools”格式來保存和裝載文檔,但是你也可以加入自定的讀寫類。
- 頁眉和頁腳:頁眉和頁腳可以以RTF、“WPTools”格式來保存和裝入。它們在第一頁,奇數頁和偶數頁都可以是不同的。

- 不同的文本屬性:該組件支持你以前用過的各種段落和字符屬性,乃至更多。
表格:- 文本樣式:WPTools的核心已經為處理文本樣式作了優化。它基于一些在HTML/CSS中用到的概念來構建。

- 郵件合并和窗口:郵件合并是極其強大的。

- 數據庫連接:WPTools編輯器可以很容易地與數據庫結合起來使用。郵件合并也可以從一個數據庫中自動裝入字段數據。

其他特色: - 由于數據結構的改變,因此簡單地使用WPTools 來代替WPTools 4是不可行的。
- 如果你正在使用郵件合并域來工作,請確保你使用WPTools 創建的文件沒有被基于WPTools 4的應用軟件編輯。WPTools 保存郵件合并的格式與RTF標準是完全兼容的,但與WPTools 4有些微小的差異。
- WPTools 還不支持下面的特性:
- 對Quick Report的支持。
- 從右寫到左(RTF支持)(即將支持)
- 對話的局部化
- 對WPForm的支持
- PrintRect, Print_XYWH 應用編程接口(被支持的是”PrintPageOnCanvas" and "Draw”)
- 紙的選擇和雙面打印
- WPTools 目前不包含共享組件。它們隨后會被加入。
- 許多舊的存儲選項和裝載選項變得模糊了,一些新的概念隨后將被引進。
結論: WPTools 是功能最強大的文字處理組件。另外,它也可以作為HTML編輯器。在提供了方便的文字處理功能后,它也盡可能地以接近HTML文檔模型的方式工作。可選的組件WPReporter使它很容易從模板和數據來創建文檔。
While developing your application you oftentimes are confronted with the task of letting your end-user enter formatted text or of creating documents such as reports, chain letters or invoices. Many products offer you the possibility of doing this. For the former task you could choose a control based on a RichEdit DLL, for the latter there is a large selection of report-generating tools. However, now there is finally a new tool which incorporates both functions in one product.
BASIC CONCEPT & HISTORY
WPTools , is a completely new product, based on the needs and wants of WPTools users over the past 8 years. The decision to re-write the source code from the ground up was made in order to create an improved architecture which allows the integration of new features, giving you yet unheard of functionality and versatility in a single component. As such Version 5 allows you to edit formatted text with all the attributes expected in a first-class word processing application. It supports a variety of different character and paragraph attributes, headers and footers, as well as tables, numbering and bullets. It also includes an interface to add spell checking components. Plus, it supports bookmarks and table of contents.
With the product wPDF export to PDF will work at once.You may say that this alone would not suffice to make WPTools better than the rest. Version 5 takes the lead as a result of the manner of implementation, the extended support of the standard word processing features and intuitive handling.
Feature Overview
- WYSIWYG WPTools 5 will always work in WYSIWYG mode, this means the printed output will always match the output you saw in the editor.

- Image Support WPTools supports embedded images - handles as characters or linked to paragraph or page.
File Formats WPTools saves and loads text in ANSI, RTF, HTML/CSS and its own native "WPTools" format. But you can also add custom reader and writer classes.
- Headers and Footers Headers and footers can be loaded and saved in RTF or WPT format. They can be different for the first, the odd and the even pages.

- Different text attributes This component supports the paragraph and character attributes you are used to ... and a few more.
Tables

- Text styles (stylesheet) The core of WPTools has been optimized to work with styles - it was built from scratch using concepts also used by HTML/CSS

- Mailmerge and Forms Mailmerge is extremely powerful - also 'revers' mailmerge is possible ...

- Database Connectivity The WPTools editor can be easily used with databases. The mail merge can also load the field data from a database automatically.
Other features
Notes for upgraders from WPTools 4
Due to the changed data structures it is not possible to simply replace WPTools 4 with WPTools 5 although we are trying to make the upgrade as smooth as possible.
If you are working with mail merge fields, please make sure that the files WPTools 5 creates are not edited with a version of your application which is based on WPTools 4. WPTools 5 format to save mail merge fields is completely compatible to RTF standard, WPTools 4 format was a slight variation.
WPTools 5 does not (yet) support the following:
- Support for Quickreport
- Right to left writing (RTL support) (coming soon)
- Localisation of dialogs (coming soon)
- Support for WPForm
- PrintRect, Print_XYWH API (supported are "PrintPageOnCanvas" and "Draw")
- Selection of paper bins and duplex printing. (coming soon)
- WPTools 5 currently does not contain the "shared components". They will be added later.
- Many of the old 'StoreOptions' and 'LoadOptions' have become obsolete. A new concept will be introduced here later.
Conclusion
WPTools 5 was built to be the most powerful word processor available on the component market. In addition, it also works as a HTML editor, offering convenient word processing features, while still working as closely to the HTML document model as possible. The optional WPReporter makes it easy to create complicated documents from templates and data.