| TWPFormatOptionsEx Type |
Unit
WPRTEDefs
Declaration
TWPFormatOptionsEx = set of (
// -------------------------------------------------------------------------
wpDontAddExternalFontLeading, // When measuring the font height don't add the
// value defined for a font: Metrics.tmExternalLeading. This improves compatibility to WPTools 4
// Alternatively set global variable WPDoNotAddExternalFontLeading := TRUE to
// activate this mode for all editors!
// -------------------------------------------------------------------------
// Layout flags
wpfKeepTablesInTextArea, // If defined avoid that table go into right margin
wpKeepTogetherAlwaysNewPage, // if wpfDontBreakTables is used a table which is too large will also create a new page
wpKeepTogetherAdjacentTables, // When tables are not seperated by paragraphs they are kept together as well
wpDontUseTablePadding, // Do not read the padding of cells from table
wpfIgnoreVertAlignment, // Switches off the vertical alignment
wpfKeepNUsesParImages, // When using KeepN paragraph aligned images will be
// kept on same page as their anchor paragraph. (changes the value calculated by TParagraph.Height!)
// Note: Images which use the wrap mode wpwrUseWholeLine will always be checked!
wpDontIgnoreSpacebeforeOnTopOfPage, // switch "Word" mode off
// -------------------------------------------------------------------------
// Limit the use of inherited attributes
wpDontUseRowPadding, // Do not read the padding of cells from table row
wpDontUseBorderPadding, // Do not use the border width to calculate padding
wpDontInheritCellAttr, // Dont inherit cell attributes from table row and table
wpDontUseSPANStyles, // Do not use the stalyes of hyperlink and SPAN objects . Speeds up reformat a lot!
// -------------------------------------------------------------------------
// modify the way the editor works
wpAlwaysContinueBorderAfterCR, // Paragraph.SplitAt (= ENTER key in editor) will also copy border attributes to
// the new paragraph if the split position is at the end
wpNoDefaultParStyles, // Disable default paragraph style handling (So you can handle
// it yoursel in the OnInitializePar event)!
wpfAutoRestartSimpleNumbering, // Reset a numbering level after a line which was not numbered.
wpfNestedNumberingInTableCells, // Each table cell uses its individual NumberLevel
// this only affects numbering which does not use outlines
wpfSimpleNumberingPriorityOverOutlines, // When outlines (numberlevel>0) are used within simple
// numbered paragraphs the simple numbering will continue AFTER the outlines. (Default: Restart at 1)
wpfNoAutoDecTabInTable, // Do not automatically align to only decimal tabstop in table cells
wpfNoTableHeaderRows, // Ignore table header
wpfNoTableFooterRows, // Ignore table footer
wpfDisableJustifiedText, // Format Justified text as if it was Left Aligned
// -------------------------------------------------------------------------
// Experimental Flags
wpAllow_WPAT_NoWrap, // If active don't wrap par marked with WPAT_NoWrap
wpfMixRTLText, // If a paragraph which uses the paprRightToLeft attribute the
// western text is not reordered
wpfStoreWPObjectsInRTFDataProps, // unless this flag is used the TWPObjects will
// be stored in the TWPRTFDataCollection and not in the TWPRTFDataProps
// -------------------------------------------------------------------------
// Activate User CharStyle
wpCharEffectIsUserAttribute, // Currently the character attribute WPAT_CharEffect is not used.
// It can be used to store custom information. If the flag wpCharEffectIsUserAttribute is used
// the RTF engine will ignore this property.
wpfIgnoreTrailingEmptyParAtFooter, // Empty paragraphs are ignored atīthe footer end
wpfDontHideParAboveNestedTable, // allow empty paragraph before a nested table
wpfDontCombineDifferentStylePars, // DeleteParagraphEnd will not merge paragraphs which use different paragraph styles
// Can be selectively set for certain paragarphs using WPAT_ParFlags flag WPFLG_NOJOINPARA
wpfNumberingControlledByStyles, // Only supported by WPT format!
wpfSectionsRestartFootnoteNumbers,
wpfDontIgnoreKeepNInTable // unless this flag is set the KeepN in table rows is always ignored
);Description
This flags continue the list from TWPFormatOptions. They are used mainly used for trouble shooting.
|
Copyright (C) by WP |