LoopAllPar method

Applies to
TWPRTFDataCollection

Overloaded Variants
Function LoopAllPar(Param: TObject; CallBack: TWPOnLoopAllParCallback; OnlyFromDataBlock: TWPRTFDataBlock = nil): Integer;
Function LoopAllPar(Param: TObject; CallBack: TWPGlobalOnLoopAllParCallback; OnlyFromDataBlock: TWPRTFDataBlock = nil): Integer;

Declaration
function LoopAllPar(Param: TObject; CallBack: TWPOnLoopAllParCallback; OnlyFromDataBlock: TWPRTFDataBlock = nil): Integer;

Description
This procedure can be used to loop through all paragraphs in this text. This includes the header and footer, too! The definition for the callback is:
      procedure LoopPar(
             RTFData : TWPRTFDataCollection;
             RTFDataBlock   : TWPRTFDataBlock;
             par            : TParagraph;
             Param          : TObject)

Category
Loop through all text blocks

Declaration
function LoopAllPar(Param: TObject; CallBack: TWPGlobalOnLoopAllParCallback; OnlyFromDataBlock: TWPRTFDataBlock = nil): Integer;

Category
Loop through all text blocks
Paragraph-Reference


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