WPTools Bundle Professional v9.4.0

Released: Mar 30, 2025

v9.4.0 での更新項目

機能

  • Enhanced SVG rendering engine (only for Delphi 10.1 and later):
    • Added SVG Rendering in TWPToolsBar.
    • Added SVG Image object to implement GUI.
    • Added SVG image list style (select glyphs by column/row).
    • Added SVGColorMap list to update selected colors in the SVG to match theme or state of a control.
    • Added shared SVG resources for different buttons.
  • Improved class TWPSvgImage (only for Delphi 10.1 and later):
    • Displays a whole SVG or just an element. Show shape in background. Supports dynamic changes of SVG rendering color on mouse events, not only globally, but also based on a row/col area (implement touch controls).
  • Added new class TWPSvgButton (only for Delphi 10.1 and later):
    • Like a TButton but also with a glyph loaded from SVG.
  • Added new class TWPSvgStorage (only for Delphi 10.1 and later):
    • Stores the SVG data for one or more buttons or images.
  • Improved formatting routine "WPRTEFormatH":
    • This formatter can be customized much more easily to handle each paragraph, table, row and cell in a certain way.
    • It triggers events during formatting, i.e. to manipulate the rectangle where text is placed.
    • The formatter makes special formatting logic possible.
  • Improved TWPToolbar:
    • Now has better support for Themes.
    • Provided the option to use SVG rendering.
    • Provided the option to render transparently.
  • Improved HTML support:
    • Added optional read <title>...</title>.
    • Added the option "-useCR" to create page breaks when \r\n is read (for lazy encoded HTML).
    • Added the option to suppress &nbsp; for empty paragraphs.
    • Added the option to suppress style parameters for UL lists.
    • Added the ability to suppress WPReporter bands.
    • Added the ability to write a special class=... for paragraphs which are empty (const WPHTML_EmptyPInHTML).
    • Added trigger event BeforeSaveTextObject before a text objects is saved.
    • Added trigger event AfterSaveTextObject after a text object is saved.
    • Added the ability to customize the tags written for text objects through collection WPTextObjectClasses.
    • Added support for "class" extra property for TextObjects.
    • Added the ability to write mail merge tags using the tag defined in constant WPHTML_MERGEFIELD_TAG.
    • Can now read <pre> and create a text object around this section (optionally: $DEFINE HTML_HTML_PRECODEOBJ).
    • Improved the saving of image width/height.
  • Improved RTF-Engine:
    • Improved alignment of bullet paragraph in a table cell.
    • Improved undo in tables.
    • Added several additions to the API.
    • Improved handling of Inc/Dec Indent with bulleted paragraphs.