InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ModelRange Class Reference

#include <RangeData.h>

Public Types

typedef object_type data_type
 

Public Member Functions

 ModelRange (const UIDRef &s, const RangeData &r)
 
 ModelRange (const UIDRef &s, TextIndex b, TextIndex e, RangeData::Lean lean=RangeData::kLeanForward)
 
 ModelRange (const UIDRef &s, TextIndex o)
 
TextIndex GetEnd () const
 
TextIndex GetStart (RangeData::Lean *lean=nil) const
 

Public Attributes

UIDRef storyRef
 
RangeData range
 

Detailed Description

A range with a story - it is merely a coupling of a UIDRef and a RangeData making a single complete reference to a text range within a document

Member Data Documentation

RangeData ModelRange::range

The actual range within the associated story.

UIDRef ModelRange::storyRef

The story this Model Range is associated with