WPTools V5.35.3 is available for download.

It includes fixes for problems which were reported recently in this forum and some improvements:

  • fix problem when pasting text in form completion mode
  • fix problem is two DFM files
  • fix problem with double grid lines (around tables)
  • improved update of GUI methods - now using inherited style properties (Use CUrrAttr)
  • When printing all colors can be set to black - see PrintParameter.PrintOptionbs: wpAllColorsAreBlack
  • improved padding saving for table cells
  • the code dealing with reading attributes of the selected text now also reads attributes of attched styles.

This can be switched off using the EditOptionEx: wpDontInitSelTextAttrWithDefaultFont
If a character attribute was not defined in a style the document default is retrieved
This only works for character attributes, not for paragraph attributes. Those can be read using
ActiveParagraph.AGetInherited in case SelectecTexAttr reports an undefined attributesx

  • Font "System" is now mapped to "Arial" since the cursor advance does not work otherwise
  • When printing all colors can be set to black - see PrintParameter.PrintOptionbs: wpAllColorsAreBlack
  • improved padding saving for table cells
  • the code dealing with reading attributes of the selected text now also reads attributes of attched styles.

This can be switched off using the EditOptionEx: wpDontInitSelTextAttrWithDefaultFont
If a character attribute was not defined in a style the document default is retrieved
This only works for character attributes, not for paragraph attributes. Those can be read using
ActiveParagraph.AGetInherited in case SelectecTexAttr reports an undefined attributesx

  • Font "System" is now mapped to "Arial" since the cursor advance does not work otherwise
  • WPRichText1.TextCursor.CurrAttribute.AInc(WPAT_CharFontSize, pt*100, 300) can now also be used to increment/decrement font size of text which is controlled by a style sheet.
  • in normal layout modes borders are not drawn between virtual pages
  • Update to WPReporter table calculation. When the functions left() and previous() refer to non-existing cell

The result of the function will be undefined and "[ERR]" will be displayed.

  • Some updates to RTF reader and HTML writer
  • ANSI text writer understand option "-nolinefeed" to use CR instead of CR+LF

Regards,
Julian Ziersch
WPCubed GmbH