Class TWPCustomTextReader

Hierarchy

System.TObject | WPRTEDefs.TWPToolsReaderWriter | TWPCustomTextReader

Subclasses

WPIOANSI.TWPTextReader | WPIOHTML.TWPHTMLReader | WPIOReadRTF.TWPRTFReader | WPIOUNICODE.TWPUNITextReader | WPIOWPTools.TWPTOOLSReader

Description

TWPCustomTextReader basic functionality All reader classes must be registered using WPRegisterReader and override the functions UseForContents and UseForFilterName to allow checking Each Reader creates a new 'wpIsLoadedBody' TWPRTFDataBlock object which can be then inserted into the destination text or added to the collection

Properties

Methods

Events

OnTextReaderPreprocessTextObject : TWPTextReaderPreprocessTextObjectEvent= TWPTextReaderPreprocessTextObjectEvent

This event can be used by custom reader classes to preprocess loadxed objects.

Used or referenced by

-Procedure TWPRTFDataBlockEd.DoMergeAfterLoadText(RTFData:TWPRTFDataCollectionBase; Stream:TStream; Reader:TWPCustomTextReader; OnlyBodyText:Boolean; LoadedText:TWPRTFDataBlock)