- Offizieller Beitrag
After a long time of development we can release WPTools 6.20.
It includes support for Delphi XE2,
with PRO or Premium You can also build 64bit applications.
You can download the VCL demo here: https://www.wpcubed.com//download.htm
V6.20 improves table handling, style handling and also includes enhancements to the API.
It also solves the problem of cutoff characters when background colors were used. It includes an entirely new setup procedure which was created to reduce the download size of the PRO and Premium editions.
The new border dialog has been improved to works more intuitively.
This is the list of the most important changes
ZitatAlles anzeigen+ completely new setup procedure. The PRO and Premium releases don't include object files which makes them much smaller.
* compiled new WPTools 6 Reference (CHM file)
* Delphi XE2: several small changes to improve theming support
* Delphi XE2: several small changes to provide compatibilty to 64bit compiler (requires WPTools PRO)
+ new demo developed with Delphi XE2, showcases actions, splitscreen, simulated MDI and property dialogs (Demos\XE2\WPWord)
+ wpDeleteAtEOFRemovesSpaceAfter in EditOptionsEx2
- TextObjectsGetList did not work
* WPRuler uses Delphi XE2 VCL Theme plus
* added defaults to properties TWPRichText
- change in RTF reader to let section inherit the default layout, not the current page layout
- fix of problem with table borders when also PageMirror was used.
* change to DeleteMarkedChar. It now has additional parameter DeleteEmptyParAndTables : Boolean
* change in unit WPWordConv to handle RTF as DOC files if they do not start with "{\rtf"
* updated border dialog TWPParagraphBorderDlgEx
* updated border drawing code - now supports dotted lines with wider lines.
* modified method DeleteColumn
* modified WPT reading code to repair table width which were negative
+ improved image rendering code for transparent (PNG) images. They will be drawn transparently
also when scaled and also in high resolution rendering mode.
+ new code to draw dotted lines which also supports wider lines
+ new function WPReplaceTokens (unit WPUtils.PAS). It is a ReplaceTokens function to be used
on a TWPRTFDataCollection, not TWPRichText
- WPPremium - fix problem when there were too columns
* MergeText now restores before Merge Cursor position and selection (except for cell selection)
* resizing a table column does not move the cursor to the nearby cell anymore
* different frame line when resizing columns and rows
+ InsertColumn now also works if wpAllowSplitOfCombinedCellsOnly was used in EditOptionsEx
+ new event OnPaintTextFrameRect let you paint background and borders for text frames,
i.e. the text body or, with WPTools Premium, custom frames.
+ WPPREMIUM: In OnMeasureTextPage it is possible to set columns for certain pages.
Using PageInfo.colflags=1 it is possible to activate a line between the columns
It is also possible to add custom frames using PageInfo.rtfpage.AddFrameRect.
+ new ViewOptionEx: wpHideParBordersBeforAndAfterPageBreaks
+ improved paint routine now avoids clipping of characters which were overlapping their bounding box,
such as italic letters or "f".
The improvement is especially visible when selecting text or using character background colors
+ WPPREMIUM: it is now possible to print a line between columns using wpShowColumnCenterLine in ViewOptionsEx
+ With WPTools Premium it is now possible to print a line between certain colums -
use par.ASet(WPAT_COLFLAGS, WPCOLUM_LINE);
+ paragraph styles can now contain border definion for paragraphs
+ TWPTextObjList now has a IndexOfSource function and a Source[] string array to access the objects
* revised code to draw double borders - always draws twou lines on screen even when zoomed
* improved saving of numbering attributes with styles
* style dialog can now apply number level even if style does not have numbering yet.
* revised wpNoEditOutsideTable - was not checked for keyboard input
* fix problem with - - - - - at end of line
- fix problem with spell-as-you go after hyperlinks
- fix problem with page numbers in sections when tables were spanning pages
- fix problem with right aligned negative numbers in merge fields
* automatic text attribute was not inherited to tables inserted in fields
* images with mode "under text " can now be also clicked at positiones where there is no text.
- WPLngCtr now defines DONT_OVERRIDE_COM, that fixes the IDE problem with DevExpress Toolbar controls