WPTools V7.28 is available now + DocX reader/writer addon

    • Offizieller Beitrag

    WPTools V7.28 includes a lot of improvements in rendering, editing (table row resizing), reporting (WPSupermerge API) and improved support for Arabic text. The special RTL Mode has to be activated by adding wpWriteRightToLeft to the set FormatOptions. If activated, the text will automatically right aligned. We also added support for Thai composite characters.

    Optionally available is an add-on to read and write DocX format - natively. No converter DLLs are required. Pretty much all text features are supported in DocX. The field support is very strong and stable. When saving a WPReporter templates, the bands are saved as fields so they can be edited in MS Word without destroying the band information.

    WPTools "Pemium" text boxes and footnotes are also saved and loaded. Columns can be saved and loaded, too - although DocX requires the creation of a section break which is done be the writer automatically. DocX support requires code to handle ZIP files. Since Delphi has this only since XE2, you alternatively can use Abbrevia. Other ZIP tools can be used, too, only the bridge component has to be adapted.

    In MS Word a section break automatically starts a new page if the section defines a different page size. The flag wpfSectionsWithPagesizeStartNewPage in FormatOptionsEx2 activates this behaviour in WPTools, too.

    You can download a new word processor exe demo and also the VCL demo for various Delphi versions here:
    https://www.wpcubed.com/pdf/download/

    WPTools 7 supports Delphi 5, 6, 7, 2005, 2006, 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, Delphi 10 and Delphi 10.1
    C++Builder 5, 6, 2006 - Win32.
    WPTools 7 "PRO" and "PREMIUM" also supports 32 and 64 bit and also C++Builder 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7 (32 + 64 bit)


    This is the list of recent improvements:

    20.4.2016 - WPTools 7.28
    + added support for Delphi 10.1 Berlin

    9.4.2016 - WPTools 7.28
    + handling of thai composite characters
    - change in WPReporter to avoid empty line at start
    * removed redundant StoreOptions "soWriteObjectsAsRTFBinary"
    - fix for WPStringToColor
    - solved problem with tables and page breakes in report builder rendering
    - fixed problem with missing borders after page break
    (set WPRichText.RTFData._TableRowOverflow := true if you see double borders or backgrounds)

    6.3.2016 - WPTools 7.27'
    - fix problem with cell borders
    + RTF writer option 'RTF-NoWPToolsProps' prohibits the writing of all properties which are proprietary to WPTools

    4.3.2016 - WPTools 7.27
    - fix to support C++Builder 10
    * improvement to format routine to avoid orphane header rows
    - fix for wrong right alignment of textobjects in header/footer
    - fix for cell background bleeding which occured sometimes with nested cells
    - fix in DocX reader handler for strike out text
    - fix in font collection rotine to avoid AV when a long font name was found
    * change in RTF engine to truncate numbertexts which are longer than 40 characters.
    this is controlled by the global variable wpMAXNUMTEXTLEN. Set to 0 to deactivate.
    * some enhancements to structure of the units
    * WPToolsRTFToANSI now has additional parameter for maxlength


    17.11.2015 - WPTools 7.26.1
    - fix problem with tab followed by < sign in docx writer
    - fix for landscape reading in RTF code
    - DocX Reader - support positionH mode "column" for textboxes
    - DocX Reader improve frame prop reading for textboxes

    7.10.2015 - WPTools 7.26''
    + new flag in ViewOptionsEx: wppNoBlueRectsAroundFootnotesWhileEditing (switch off blue lines around footnotes)

    24.9.2015 - WPTools 7.26'
    - Delphi <2009 only: fixed problem with style names which contained accent characters when doing copy & paste


    22.9.2015 - WPTools 7.26
    + Support for Delphi 10 (DCUs are stored in directory DX10)
    - character background color was not painted
    - fix display problem of text objects in selected paragraphs
    - fix possible memory leak in TWPMMInsertTextContents.LoadImageFromFile
    - vertical alignmen was not working in cells
    - change in painter to fill background a bit wider
    - improve cursor positioning after click at end of page
    - the ruler was not drawn correctly when it was not positioned at the left most position
    - improvement of display of hyperlinks with arabic text


    3.8.2015 - WPTools 7.25.2
    * read RTF which do not use ; in the font table
    - DOCX reader: Handle right tabs correctly
    + DOCX reader: Load footnotes
    * DOCX writer: write /word main directory to increase compatibility with SoftMaker Office 2016
    * DOCX Improvemnent to numbering loading
    + DOCX DefaultTabstop load & Save
    + DOCX empty paragraph are loaded
    * fix in WPEval.pas


    24.5.2015 - WPTools 7.25.1
    * change in MoveToPreviousField
    - fix possible range check error
    - fix cell background color overflow
    - fix lost cell in nested table and page break when there was another table in second cell
    - ColorDropdown did not call ChangeApplied

    - Updated DOCX reader and writer fixes problems with & sign in hyperlinks
    - LoadFromString now calls LoadSelectionFromStream as WPTools V6 did if "WithClea = false"
    - Improvement to RTL Support


    16.4.2015 - WPTools 7.25
    + added support for Delphi XE8 and C++Builder XE8
    - in rare cases the footer of the next table was painted over the last cell of the previous
    - fixed problem with formatting when tables where not seperated by at least one paragraph
    * added flag to FormatOptionsEx2: wpfAlwaysGenerateParBetweenTables. The format routine will create
    an empty hidden paragraph between tables to make sure the user can move there
    * the DOCX writer will add '#' to hyperlinks which lead to internal bookmarks
    * the DOCX reader will remove '#' sign at the start of hyperlinks
    - some minor fixes.

    26.3.2015 - WPTools 7.24

    * optimized sizer rects for images and text boxes
    * WPRichText1.RTFData.TextBoxPadding can be used to change the minimum padding for text boxes
    + new flag wpfHideFirstTableHeaderRowAtStartin FormatOptionsEx2
    + new flag wpfHideSecondTableHeaderRowAtStart in FormatOptionsEx2
    + new flag wpfHideTableFooterRowAtEnd in FormatOptionsEx2
    + new wpfUseFloatingImagesOfHiddenParagraph in FormatOptionsEx2. Images which use
    an invisible paragraph as anchor are still visible

    1.3.2015 - WPTools 7.23.3
    + wpSwapCursorKeysInRTLMode in EditOptionsEx2
    - buttons in preview dlg were disabled

    6.2.2015 - WPTools 7.23.2
    - fix a problem in the function TParagraph.IsWordDelimiter
    * improved cell de-selection
    - curly underlines were not rendered
    - fix small problem in DOCX support which caused MS WSord 2007 not to open the file
    + added feature to DOCX support: use format string "DOCX-ActivateTrackChanges' to make MS Word
    open the file with change tracking being active.
    * Zoom with mouse wheel (activated with EditOptionEx wpZoomWithMouseWheel) automatically
    disables AutoZoom Width/FullPage

    27.1.2015 - WPTools 7.23.1
    - add a missing unit to uses clause in WPIOXML1.pas
    + if a row uses a fixed height, overflow lines will now be hidden. If course is moved
    to the hidden text, the caret is displayed after last visible position.
    This can be switched off with FormatOptionsEx2 wpfDontHideOverflowLinesInTableCells
    * the sign . and , will not be interpreted as word delimiter anymore if it is written
    between two numbers. This makes sure that 123.45 is not separated.
    - improvement in DOCX export to workaround problem in Delphi TZipFile

    21.1.2015 - WPTools 7.23
    - since the WPToolbar disables itself without a TWPRichText being attached, the buttons on WPPreviewForm
    did not work. The behaviour has been modified, the toolbar only disables itself if AutoEnablingControls is true
    + further enhancements to DOCX writer and DOCX reader
    * improved text selection code
    + much work has been put into the support for RTL writing. To activate the special rendering
    and cursor movement add wpWriteRightToLeft in property FormatOptions.
    * improvement to table cell resizing method
    * modification to GetAttributeColor handling so it is also called at print-time.