TWPRTFDataCollection Object
Properties Methods Events
The TWPRTFDataCollection contains all elements of one document, such as body, header and footer.

Unit
WPRTEDefs

Declaration
TWPRTFDataCollection = class(TCollection)

Hierarchy
TCollection <--TWPRTFDataCollection

Subclasses
None

Description
The TWPRTFDataCollection contains all elements of one document, usually WPRichText.HeaderFooter.

If you need to share the TWPRTFDataCollection objects between editors (for example to implement spit screen) use the event OnInitializeRTFDataObject which is published by the editor object TWPCustomRTFedit.
Overview over Datastructures:


Introduced Properties
 ANSITextAttr 
BeforeEditRTFBlock 
 Cursor 
 DefaultAttr 
 DefaultFont 
FormatOptions 
FormatOptionsEx 
Header 
HiddenAtttrFlags 
 InRTFProps 
InsertTextIntoNewRow 
InsertTextIntoOneCell 
Items 
LastFileName 
LastSectionID 
MaxParLength 
Modified 
PageStartNumber 
 PrintParameter 
RTFProps 
 RTFVariables 
RTFViewOptions 
 SectionProperty 
 SectionPropertyCount 
 Table 
 TableCount 
 TextObjects 
WriteObjectMode 

Introduced Methods
_SetOwner 
AddSectionProps 
AlwaysNewUndolevel 
Append 
AppendAsSection 
AsANSIString 
Assign 
BeginUpdate 
BroadcastToEngines 
CanRedo 
CanUndo 
Clear 
ClearAllWPObjects 
Create 
DeleteRTFData 
DeleteSectionProps 
DeleteText 
DeleteTexts 
Destroy 
DoAfterImageSaving 
Empty 
EndUndolevel 
EndUpdate 
Find 
FindAnyName 
FindItemID 
FindParByName 
FindParWithText 
FindSpecialText 
FindSpecialTextRange 
FirstBodyPar 
FirstPar 
Get  This function finds and if necessary appends a new RTF data block, such as a header or footer text.
GetAClassName 
GetAClassNr 
GetCurrPageProps 
GetLeftParValue 
GetLogicalPageProps 
GetNamedCalcParValue 
GetNamedCalcParValueOnPage 
GetNamedParValue 
GetPageProps 
GetParValue 
GetPreviousRowValue 
GetReaderClass 
GetSectionProps 
GetWriterClass 
InsertRTFData 
ListNamesAndCommands 
LoadFromFile 
LoadFromStream  Internal, low level load procedure.
LoadFromStreamWithReader  Internal, low level load procedure.
LoadRTFDataBlock 
LocateWPObject 
LoopAllObj 
LoopAllPar 
MakeRTFProps 
MayDeletePar 
NeedReformat 
NewUndolevel 
PaintBand 
PaintBandHandled 
PrepareImageforSaving 
RecalcText 
Redo 
ReformatAll 
RequestHTTPImage 
RequestHTTPString 
RequestStyle 
RTFEngine 
SaveSectionToStream 
SaveSelectionToStream 
SaveToStream 
SelectBody 
SetANSIString 
SetRTFEngine 
StartUndolevel 
StatusMsg 
TransactionCommit 
TransactionRollback 
TransactionStart 
Undo 
UndoBufferSaveCurrentTable 
UndoBufferSaveTo 
UndoChange 
UndoClear 
UndoDisable 
UndoEnable 
UndoKind 
UndoLock 
UndoStack 
UndoStoreComplete 
UndoStreamEnd 
UndoStreamStart 
UniqueName 
UpdateReformatMode 
Verify 
VerifyWPObject 

Introduced Events
AfterImageSaving 
AfterLoadFromStream 
BeforeFormatTable 
BeforeFormatTableRow 
BeforeLoadFromStream 
BeforeSaveToStream 
OnCheckParagraphDeletion 
OnGetSpecialText 
OnHyphenate 
OnPrepareImageforSaving 
OnReaderCreateStream 
OnRequestHTTPImage 
OnRequestHTTPString 
OnRequestStyle 
OnStatus 
OnUndoChange 

Category
Datastructures
Init RTFData


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