ANN: WPTools 5.11

    • Offizieller Beitrag

    January 16th, 2005

    WPTools V5.11 is available for registered customers.

    You will hopefully notice how fast the editing now works, also in large files of 200 pages with many tables.

    The new version supports KeepN - You might want to disable this feature in FormatOptions since it slows down the format routine if active and keepN flags are used.

    WPTools 5.11 can use the syntax highlighter which are part of SynEdit 2. You can choose from more than 30 different highlighting module to make editing your scrips or configuration files easier.

    WPTools V5.11 can load BB codes. There is a small demo which shows it. The HTML reader is used for this.

    There is a new component: TWPPaintEngine. It can be used to paint the text which is stored in one element of the TWPRTFDataCollection to any canvas. The DynAssignRTFData shows how you can have many texts blocks in one file (TWPRTFDataCollection) and use one editor to edit such an element.

    From the history TXT file:

    16.01.2005 - V5.0 RELEASE 11
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    + TWPVirtPagePaintParam which is parameter of event: CustomLinePaintBefore
    now has new boolean property: PaintingInEditor
    + unit WPSyntaxInterface to use the SYNTAX HIGHLIGHTING modules which are
    part of SynEdit with WPTools 5. (See demo SynHighlight)
    + SPEEDREFORMAT (can be disabled in FormatOptions): During regular text editing only
    the current and the next page is formatted, the rest of the text is untouched until
    the next time CR or Ctrl+CR is pressed or the user scroll the text.
    The delay between keystrokes which was noticeable with very long texts is so minimized.
    + new component: TWPPaintEngine. Used to paint the text from a TWPRTFDataCollection.
    See demo: Tasks\DynAssignRTFData
    + KeepN support activated
    - Widow/Orphan control revised (--> property FormatOptions)
    * improved handling of double buffer. Now the creation of 1000+ editors at a time is possible
    - two small editing bugs solved (delete selection of one char, up/down in table)
    + Hyphenation (manual, use Ctrl + '-' to mark a character to go into next line)
    + Support for BB codes in the HTML reader. Must be enabled with -useBBCodes in format string.
    Use -ignorehtml to ignore regular HTML tags
    + use #13 code to create new paragraphs in HTML. Must be enabled with -useCRin format string
    - the DefaultAttr and the WritingAttr didn't survive a Clear of the text. This has been fixed.
    * better line number display in WPGutter - now start with 1 instead of 0
    - change to make sure the selection/cursor is displayed at once when cursor keys are pressed! (define UPDATE_CURSOR_ATONCE)
    - LoadFromFile now uses the FormatString parameter
    - Load&Save Section in WPTOOLS Format, too
    - fixes to WPReporter

    11.12.2004 - V5.0 RELEASE 10.5
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    + new Event: OnNewRTFBlock: Makes it easy to apply a default font/style/text
    + new GetAllText function of TParagraph to get the complete text of a cell
    + the TWPObject.Paint() function now receives "ParentTxtObj : TWPTextObj" parameter.
    + the TWPObject.Paint() function now receives "PaintMode : TWPTextObjectPaintModes" parameter.
    + additions to WPObj_Image.PAS to create temporary true color images for certain images to work
    around problems with some printers. (i.e. in a metafile only one image is placed)
    + The size of the temporary image is limited by the WPMaxPrintDPI variable.
    + additions to WPObj_Image.PAS to use DIB code for printing.
    + export JPEG data to PDF untranslated (requires wPDF 1.51 or later)
    + faster paint routine
    - fixed procedure Paragraph.MergeCell
    - replacement for embedded text within text objects now also works with multiline texts
    - fixes to RTF reader/writer
    - fixes to handling of scrollbars
    - fixed image resize bug in normal layout mode
    - wpcoDontPasteGraphics ClipboardOption now works
    - several improvements to the text finder
    - ANSI text writer (Text property!) did not save CR
    - RTF reader case cleaned up. This avoids a compiler problem.
    - applies wpxSaveToRTF when info item (RTFVariable) is loaded from RTF
    - cleaned up and ordered prop and dest constants in RTF-Reader to avoid compiler error
    - fixes to property CPParNr
    - revised saving and loading of the HorzLine objects in RTF (now using \wphzlinetw with twips parameter)
    - better handling of the default paragraph char attribute (property LOadedCharAttr)