TWPRTFDataBlock Object
Properties Methods
This is one item in the RTF Data collection (WPRichText.HeaderFooter). It contains the body text, header and footer texts, or, with WPTools Premium the texts of footnotes or text boxes.

Unit
WPRTEDefs

Declaration
TWPRTFDataBlock = class(TCollectionItem)

Hierarchy
TCollectionItem <--TWPRTFDataBlock

Subclasses
None

Description
This is the class for the items in the TWPRTFDataCollection. It contains all the TParagraph objects of one element of the text.

Overview over Datastructures:


Introduced Properties
ActivateUNDO 
 DataCollection 
 DisplayOrder 
Empty 
 FirstPar 
 Height 
 ID 
Kind 
 LastPageCount 
 LastPar 
Lines 
Modified 
Name 
 PageCount 
 Pages 
Range 
Readonly 
 RTFProps 
RtfText Use RTFText.AsString to read or write the text in this RTFDataBlock. Using RTFText.Format You can select the format (ANSI, RTF, HTML, WPTOOLS) to use.
StyleNr 
 TextLength 
UsedForSectionID 
WorkOnText 

Introduced Methods
_FirstPar 
AddToNumberTree 
AppendNewPar 
AppendPar 
AppendParCopy 
AppendText 
Assign 
Clear 
ClearParagraph 
Create 
CreateTable 
Destroy 
FindParByName 
FindParWithText 
GetPageOfBookmark 
GetParagraphNr 
GetPosition 
InitNumberTree 
InsertChildPar 
InsertPar 
InsertText 
IsVisible 
MergeText 
ParagraphFind 
Reformat 
ReformatPar 
ReformatSpecial 
SetPosition 
Validate 

Category
Datastructures
Header+Footer
Init RTFData


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