InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ModelChecker Class Referenceabstract

#include <AttributeChecker.h>

Public Member Functions

virtual bool16 operator() (UID storyThreadStyle, UID paraStyle, const AttributeBossList *paraOver, UID charStyle, const AttributeBossList *charOver, UID story, TextIndex start, int32 length) const =0
 

Detailed Description

This class is used to test ranges of text for recomposition by IGlobalRecompose. This class uses the styles & local overrides directly, unlike AttributeChecker, which only gets the summarized IDrawingStyle version of the text attributes.

See Also
IGlobalRecompose

Member Function Documentation

virtual bool16 ModelChecker::operator() (UID storyThreadStyle,
UID paraStyle,
const AttributeBossListparaOver,
UID charStyle,
const AttributeBossListcharOver,
UID story,
TextIndex start,
int32 length 
) const
pure virtual
Parameters
storyThreadStyleis the style applied to the entire story thread.
paraStyleis the paragraph style applied to the range.
paraOveris the list of overrides to the paragraph attributes.
charStyleis the applied character style.
charOveris the character attribute overrides applied to the range.
storyis the story being examined.
startis the beginning position of the range in question.
lengthis the length of the range.
Returns
kTrue if the desired range should be damaged, kFalse to leave the range alone.