LoadFromStreamWithReader method
Internal, low level load procedure.

Applies to
TWPRTFDataCollection

Declaration
function LoadFromStreamWithReader(Stream: TStream; Reader: TWPCustomTextReader; OnlyBody: Boolean; AfterLoadEvent: TWPIOAfterLoadWithReader = nil): TWPRTFDataBlock;

Description
This function uses a reader instance to load a text. If OnlyBody=true just one RTFDATA object is created which can be then either inserted at the cursor position of the current text or marked to be the new body. If the optional event reference "AfterLoadEvent" was provided the default Before and AfterLoad events will not be used.


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