Class TWPRTFDataBlock
Hierarchy
System.TObject | System.Classes.TPersistent | System.Classes.TCollectionItem | TWPRTFDataBlock
Subclasses
Description
One element of the TWPRTFDataBlock class holds the text of one RTF element, such as the body text, header or footers and - in WPTools Premium - footnotesProperties
Property ActivateUNDO : Boolean
Property DataCollection : TWPRTFDataCollectionBase
Property DisplayOrder : Integer
Property Empty : Boolean
Property FirstPar : TParagraph
Property Height : Integer
Property id : Integer
Property LastPageCount : Integer
Property Lines : TWPRtfStrings
Property Modified : Boolean
Property PageCount : Integer
Property Pages[index] : TWPVirtPage
Property RTFProps : TWPRTFProps
Property StyleNr : Integer
Property TextLength : Integer
Property WorkOnText : Boolean
Methods
Function _FFirstPar : TParagraph
Function _FirstPar : TParagraph
Function _PageListCount : Integer
Procedure AddToNumberTree(Par:TParagraph; numsty:TWPTextStyle)
Function AppendNewPar(DontCopyStyle:Boolean; ParType:TWPParagraphType) : TParagraph
Function AppendPar(Par:TParagraph; AfterPar:TParagraph) : TParagraph
Function AppendParCopy(SourcePar:TParagraph; SkipObjects:TWPTextObjTypes; AfterPar:TParagraph) : TParagraph
Function AppendParList(Par:TParagraph; AfterPar:TParagraph) : TParagraph
Function AppendTable(Par:TParagraph; AfterPar:TParagraph) : TParagraph
Function AppendText(SourceRTFBlock:TWPRTFDataBlock) : TParagraph
Function ApplySPANStyles(and_remove:Boolean; ignore_charattr:Boolean) : Boolean
Procedure Assign(Source:TPersistent)
Function AsWidestring(ParBreaktext:string) : WideString
Function Clear(Complete:Boolean) : TParagraph
Procedure ClearParagraph(Par:TParagraph)
Create(Collection:TCollection)
Function CreateTable(AfterPar:TParagraph) : TParagraph
Function EnumTxtObjects(par:TParagraph; posinpar:Integer; obj:TWPTextObj; objmask:TWPTextObjTypes) : Boolean
Function FindParByName(Name:string; StartWith:TParagraph) : TParagraph
Function FindParByNameEx(Name:string; AndTypeIn:TWPParagraphTypes; StartWith:TParagraph; use_wpat_parname:Boolean; need_props:TParProp) : TParagraph
Function FindParWithText(findtext:string; StartWith:TParagraph) : TParagraph
Function GetAPage(Index:Integer) : TWPVirtPage
Function GetPageOfBookmark(BookmarkName:string) : Integer
Function GetPosition(Par:TParagraph; posinpar:Integer) : Integer
Procedure InitPage(aPage:TWPVirtPage; pnr:Integer)
Function InsertChildPar(ParentPar:TParagraph; ParType:TWPParagraphType) : TParagraph
Function InsertPar(BeforePar:TParagraph; ParType:TWPParagraphType) : TParagraph
Function InsertParEx(CurrSiblingPar:TParagraph; Before:Boolean; ParType:TWPParagraphType) : TParagraph
Function InsertText(cpposition:Integer; text:WideString; StyleString:string) : TParagraph
Function IsEmpty(IgnoreWhiteSpace:Boolean; IgnoreEmptyPars:Boolean) : Boolean
Function IsVisible(InRTFEngine:TWPRTFEngineBasis) : Boolean
Function LastParWithType(ParType:TWPParagraphType; StartPar:TParagraph) : TParagraph
Function ParagraphFastFind(Par:TParagraph) : Boolean
Function ParagraphFind(FirstLevelNr:Integer; SecondLevelNr:Integer; ChildNr:Integer) : TParagraph
Function ReformatPar(Par:TParagraph) : Boolean
Procedure RenumberText(startpar:TParagraph)
Function SetPosition(pos:Integer; posinpar:Integer) : TParagraph
Function TextHeightOnPage(Index:Integer) : Integer
Function UseAsBody : Boolean
Function Validate(Par:TParagraph) : Boolean
Used or referenced by
-Property TWPTextCombineStack.SourceText : TWPRTFDataBlock |