TWPEditOptionsEx Type

Unit
WPRTEDefs

Declaration

TWPEditOptionsEx = set of
    (
    wpDisableSelection, // The user cannot select text (see ViewOptions to hide selection)
    wpDisableCaret, // The caret (insertion point marker at cursor position) is not displayed
    wpDisableGetFocus, // The editor will never receive the focus
    wpDisableEditOfNonBodyDataBlocks, // in Pagelayout mode other DataBlocks (header, footer) cannot
    // be selected for edtiting with a click of the mouse
    wpAllowCursorInRow, // the cursor can be placed in row end marker to create a new row with return
    wpTextObjectMoving, // move text objects (ObjType=wpobjTextObj)
    wpTextObjectSelecting, // By defualt allow selectiong of text objects
    wpNoAutoWordStartEndFieldSelection, // Normally a complete field is selected
    // when the cursor is moved over the start or end of a mail merge field.
    // unless wpNoAutoWordSelection is used.  Also see EditOption: wpSelectCompleteFieldAlsoWhenInside
    // Note: wpNoAutoWordStartEndFieldSelection only applies to selection with mouse!
    wpDisableAutoCharsetSelection, // If true the charset is not retrieved by
    // checking the current keyboard layout when the user types
    wpIgnoreSingleCellSelection, // No cell selection by pointing in bottom left corner
    wpTABMovesToNextEditField, // used with forms
    wpDblClickCreateHeaderFooter, // Double click in Margin creates header/footer for all pages
    // Use 'OnClickCreateHeaderFooter' event to modify 'range'
    wpRepaintOnFieldMove, // When the cursor moves to a different field
    // the form is repainted. This is important if you use code to
    // highlight the current field. (using event: OnGetAttributeColor)
    wpKeepCellsWhenCombiningCells, // use the HTML way to combine cells horizontally
    wpAllowSplitOfCombinedCellsOnly, // use the HTML way to split cells, dont allow split if not combined
    wpDontClearStylesInNew, // If defined Action 'New' will not clear the defined styles
    wpDontResetPagesizeInNew, // If defined clearing the text will not set up the default page size
    wpSetDefaultAttrInNew, // If defined "New" will preset the writing attributes to the default
    wpAllowDrawDropBetweenTextBlocks,
    wpDisableFastInitOnTyping, // Disable the improved typing performance in large paragraphs
    wpDontTriggerPopupInContextEvent, // Changes the time the event OnMouseDownWord is triggered (old behaviour)
    wpAlwaysColWidthPC, // Changine column width sets percentage colwidth in cells
    wpDisableXPosLineUpDown, // Disable the code which triues to keep cursor at same X position in Line up/down
    wpDontInitSelTextAttrWithDefaultFont, // SelltextAttr will not report the default attr for undefined
    wpDontSelectCellOnSpreadsheetMovement, // when tabbing throgh a table dont select the cell
    wpScrollLineWise, // When using line up&down do not move by 1/3 screen but only by the height of a line
    wpZoomWithMouseWheel, // Press Ctrl + use Mouse Wheel to zoom in and out
    wpTableRowResizingWithCTRL, // Resize rows when also CTRL is pressed
    wpDontUseNumberIndents // when using Inc/Dec Outline Level ignore the indents defined in number styles
{$IFDEF WP6} //<WP6
    , wpAutoCaptitalize // WPTools 6: Auto capitalize sentence starts
{$ENDIF} //>WP6
    );

Description
More edit options for the editor. wpDisableSelection switches off the possibility to select text


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com