Release Notes WPTools 8

<< Click to Display Table of Contents >>

Navigation:  Release Notes WPTools 9 > Archive >

Release Notes WPTools 8

*** WPTools 8.11 - 28.2.2019 ***

+ now bands and groups can be hidden with par.Hidden := not par.Hidden

- fixes problem that when loading tables from RTF sometimes the background was black

+ wpHideReporterBands in FormatOptionsEx2 to reduce bands in wpreporter to a one point line

* scrolling now moves the scrollbars also when editor does not have the focus.

 

*** WPTools 8.10.1' - 10.1.2019 ***

- fix small issue in Delphi 10.3 package

 

*** WPTools 8.10.1 - 19.12.2018 ***

* support for WPAT_Number_StartAt in DocX reader

- solves problem that text objects were drawn at wrong height when selected

- improve UNDO after paste operation

- fix for section size and margin reading in DocX reader

 

 

*** WPTools 8.10 - 3.12.2018 ***

+ support for Delphi 10.3 Rio

- fix in unit WPTabDlg1

* when a style is applied using SetActiveStyleName the attributes are not cleared anymore

  unless wpClearAttrOnStyleChange is used in

- fix image loading in DocX reader - load image name from imagedata and imageData

- fix in DocX writer: write "imagedata" insetad of "imageData"

- fix writing of NSTY= in paragraph styles in WPT format

 

 

*** WPTools 8.06.2 - 25.10.2018 ***

- fix for TWPDataProvider. Caused AV in the Destroy Notification

* border-, color- and table dialogs have been updated for high-res support

- fix problem that sometimes a row was broken into to pages

- also display frame lines with borders smaller than 1pixel. (unless $DEFINE HIDE_SMALLBORDER)

+ DocX reader: support szCs

* DocX reader: fix use of DocDefaults (now only applied if par-properties are not used)

+ StringToColor supports $BBGGRR

* fix in DocX ZIP reader to solve problem with some images not beeing loaded.

 

*** WPTools 8.06.1 - 18.10.2018 ***

- fix possible range check error when selecting fields

+ with RTF writer it is possible to suppress the writing of paragraph names

 using the format string "-noparnames"

* Finder now uses property "WholeWord" also when searching with wildcard, i.e. '*'. The found text

 must then start and end with a word. Spaces inbetween are allowed.

 

*** WPTools 8.06.0 - 30.9.2018 ***

* HTML export saves bullet list with style="disk"

* optimation of text center in table cells

* improvement of paragraph reformat (while typing)

* <pagebreak/> can now be used in HTML input between paragraphs

* WPContainer did not make the transition to unicode. The name was saved truncated and  

 when loading old files unicodes were expeced where ANSI was used. This has been fixed.

 You can now also save unicode names when the property SaveUnicodeNames is true

 

 

*** WPTools 8.05.3 - 23.7.2018 ***

- with non-unicode compilers number texts were displayed incorrectly.

+ wpDontExpandHighlightIfFullCellIsSelected  in ViewOptionsEx

* improvement of cursor movement out of text box

 

*** WPTools 8.05.2 - 7.7.2018 ***

- SelText ignored #10 characters.

- UNICODE reader ignored #10 characters

 

 

*** WPTools 8.05.1 - 14.6.2018 ***

+ event AfterPaintDesktopBackground - makes it easy to paint custom borders around the TWPRichText

- fix incorrect page length calculation when table borders were used.

- ReplaceTokens sets Finder.DontIgnoreObjects temporarily to true, to avoid miscalculations with token position.

 This fixes the problem that if a token was preceeded by a hyperlink the hyperlink got corrupted.

- fix in function TWPTextFinder.FindAgain to avoid wrong found start position

* OnTextObjectClick will not be executed after a textbox object has been first selected

+ flag wpDontCopyCellSubParagaraphs for TParagraph.Duplicate

 

 

*** WPTools 8.05.0.2 BETA - 11.6.2018 ***

+ the RTF reader will assign the style name style-XX in case it detects an empty style name.

+ use compiler symbol CLEAN_STYLE_NAMES to activate code in RTF reader to clean non-ASCII characters from styles names if style names longer than 256 characters.

 

 

*** WPTools 8.05.0.1 BETA - 6.6.2018 ***

+ new demo project: H) Techniques\CustomParDraw

+ new demo project: P) Premium\TextBox

+ ViewOptionsEx: wpShowImagesLinkedByHeader - display linked images and text boxes even when invisible due to Layoutmode

 

*** WPTools 8.05.0 BETA - 5.6.2018 ***

 

This version is also the code basis for our upcoming product: WPTools for Firemonkey.

Many refactorings were required to make crosscompiling possible, therefor

we decided to mark 8.05.0 as "beta". There are many IFDEF WPFMX in the code, however

you cannot activate this compiler symbol since it is neither technically nor legally

possible to compile this WPTools editon for other platforms than VCL. If you are

interested in FireMonkey development please let us know: supportwptools.de.

 

* WPWordDelimiterArray['X'] := TRUE;

 has to be changed to WPWordDelimiterArraySet('X', TRUE);

* text boxes in header were empty if header was visible on multiple pages

+ load watermarks created by MS Word better (vertical positionioning of images in RTF)

+ function TWPTextObj.SaveEmbeddedTextToStream

* WPToolsRTFToANSI now reads from a RAWByteString and writes to a String (Delphi XE3 and later)

* FWPT_IsHexChar and other arrays for conversion now BYTE based

* disabled the code which caused lonbg tabvles to be always moved to a new page.

- fix TParagraph._IsWidthTw which was not correct with merged cells.

+ wpHideDynamicCellSelection in ViewOptionsEx can be used to hide the selection in a table.

* wpDisableCaret in EditOptionsEx can be used to dynamically change visibility of caret since SetFocusValues is automatically called

- fix a range check error

* performance optimation in CPAttr interface.

+ WPRichText label now also has TextWidth/and TextHeight function

- fix problem with TReformatWorkObjects

* hardened RTF reader agaianst illegal color values

- fix for rare problem when footnotes were used in table cells and had a space before the number

+ function TParagraph.CalculateTableGrid(needxpos : Boolean; var grid : System.Generics.Collections.TList<Integer>) : Boolean;

+ property TParagraph.Text to read and write the paragraph as string. Any controll codes<#9 will be removed.

* property TParagraph.ANSIText is depreciated

 

*** WPTools 8.01.1 - 3.11.2017 ***

- fix zoom problem when LayoutMode=rmNormal

- fix C++ problem with WM_SETTEXT, WM_GETTEXT

* new handling of double clicks fixes problem on Windows Build 1709 and later

 This change can be deactivated by dsiabling $DEFINE USE_STD_DBLCLICK in WPCtrMemo.pas

* Word - Line - and Paragraph - selection with DblClick has been reviewed

 

 

*** WPTools 8.01.0 - 13.10.2017 ***

- improvement in Finder when replacing text which contained text objects

- fix in numbering indent calculation and repaint.

* improvement of handling of Number/Bullet toolbutton

+ RTFDataProps.NumberStyles.GenerateLegalOutlineAsDefault,

   if true the "1. 1.1. 1.1.1. ..." style is created as default outline.

 

WPTools Premium:

++ revised code to format footnotes. They can now be several pages long.

   A footnote longer than 1/4 page can be split up to the next page

   if the room on current page is not enough.    

++ FormatOptionsEx2: wpfKeepFootnotesOnPage - with this flag the formatting routine tries

   to not split up footnotes as long as possible by creating a new page before the footnote

 

*** WPTools 8.0.8 - 15.9.2017 ***

+ wpLockResizeOfProptectedTables in EditOptionsEx2

- fix FieldAtCP (added 'var')

- improvement of UTF8 handling in non-unicode Delphi editions (=fix problem with numberstyles)

- fix of bullet drawing in table cells

- fix some minor errors

 

*** WPTools 8.0.7 - 14.9.2017 ***

* the internal flag TWPRTFDataCollection._CheckTableHeightInFormat is now set to true

 to avoid that tables with header rows are printed without a single data row.

- fix problem in ParStyles.FindEqual

- fix problem with added numberstyles when loading WPT format

 

*** WPTools 8.0.6 - 6.9.2017 ***

- fix problem with "-" in fields while insertpointmarker werde not visible.

 Position of the text was incorrect

- fix memory leak in format procedure

- fix problem with table row minimum height

* RTF reader ignores cell shading of 0

 

*** WPTools 8.0.4' - 28.7.2017 ***

- solves problem inside IDE whenTWPRichText and TRichEdit were used on the same form.

- in D5 setup one file was missing.

 

*** WPTools 8.0.4 - 28.7.2017 ***

+ support for td height" parameter in HTML reader (will be applied to row)

* improved formatting for table columns loaded from HTML

* InputTextField did not update "Modified"

 

 

*** WPTools 8.0.3 - 17.7.2017 ***

* updated installer to set directory properties

+ To modify the ordering in DoublePageView use the flag wpDualPageViewStartsLeft in ViewOptionsEx.

+ function ColumnByName and FindColumn in TableProducer.

- fix in WPToolsRTFToANSI to handle ; signs

+ Events in TWPColTemplate include parameter state : TWPAdapterCellStates to make it easier

 to distinguish between header, footer and data cells. (Please rebuild the design-time package)

* improvements to TableProducer and table sorting

 

 

*** WPTools 8.0.1 - 11.7.2017 ***

+ TWPTableProducerDB now also supports TGraphicFields

+ TWPTableProducer supports UI option to sort also strings instaed of numbers

- fix in par.Compare

- fix in table formatting code

- fixes in setup script

 

*** WPTools 8.0 - 6.7.2017 ***

 

+ TWPRichText.TableFilterSort - powerful method to sort and filter the rows in a table.

+ TWPTableProducer and TWPTableProducerDB - unique and innovative to view data in table structure

 with, in contrast to database grids, instant preview, print and export to RTF/DocX

 It is also possible to modify the report in the viewer (=TWPRichTExt)

 The tool has little overhead since it uses the standard WPTools technology

 Instant preview of the table in the IDE designer

 Supports rowspan cells.

 Possibility to create the structures in code  - something which can be problematic with live binding.

 

+ TOUCH SUPPORT: Zoom and Panning (to disable set Touch.InteractiveGestures)

+ Dynamic objects are used by the paint routine to draw special objects

* WPStyleScroller has been improved to work with styles which are using large fonts

* several tweeks in WPStyleScroller

+ Dynymic Grids. Created with TableAdd and Option wptblCreateDynamicGrid

* Support for KeepN defined in table rows. Can be disabled by wpfDontIgnoreKeepNInTable in FormatOptionsEx

+ TWPParagraphList.SortEx now maintains the current order for items with equal content

+ TWPListOfParagraphList makes it possible to sort rows in tables and maintain header/footer and groups.

 

+ property "TWPStyleCollection.Usage" makes it easy to use the style collection to

 define a basis set of styles to be used by new documents.

+ TParagraph.QuickFind('{~*~}' ... can be used to locate tokens in the text.

 

+ wpfIgnoreSoftParagraphbreaks in FormatOptionsEx2

+ TableAdd can create up to 3 table header and up to 3 footer rows.

+ WPDataSetTools.pas

- New Style in drop down did not work properly in a split screen editor

+ TableAdd now optionally accepts styles for header/footer

+ improved table column resizing code

+ WPCELL_FILLERCELL

+ SplitRow

+ Rows now support ColsByName[]

+ TParagraph.CharAttrModify Modify the CharAttr of the complete text or parts of it. You can pass

      a attribute which will be modified. This makes it easy to set a color

      to the text without using the CharAttr interface

- TWPValueEdit was not loading "value" from DFM

+ TWPMMDataProvider can now load images specified by filename in field. (property LinkedImageFields and others)

* much improved speed of ClearSelection after a SelectAll (Ctrl+A)

 

+ new function LoadSelectionFromFile

+ RTF tag \column supported (WPTools Premium)

* SelectAll/Delete keeps current writing attribute and style

* improvement for DOCX import of embedded graphics

+ DOCX import now fixes width defined in wrong percent values

* improved FileSave dialog to add file extension automatically

* HTML writer now also defaults to write SPAN tags if no format string was used.

* DocX writer now limits the page width / page height to a 32K value (22 inch) to avoid Word crashing.

- Contents.InputTextFiledName was not using the attribute of the field

- Image positions used for mouse click detection sometimes were wrong directly after reformatall

- SaveSelection saved \page to a file when the page break was on the first saved paragraph

* paprStartingComment moved to TParagraph.State: wpstStartingComment

* TParagraph.Compare now ignores trailing whitespace. It optionally compares case insensitve or on base of the first number in the text.

- apply width and height for loaded images.

* function TWPTextObj.LoadObjFromStream preserves current width and height defined in TWPTextObj.

 

+ wpPrintAsBitmap for text objects (useful to hide text elements in PDF output)

+ HandleRichEditMsg to eanble/disable dictation software access

* don't print character background color in the page margin or between columns

* better saving of trrh in RTF. (Absolute height takes precedence)

* GetCharAttr now reads the attributes at the start of a selection if text was selected.

* GetCharAttr can now be locked so LoadFromFile does not change it.