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

#include <RunInLineStyleList.h>

Public Types

typedef object_type data_type
 

Public Member Functions

 RunInLineStyleRule (UID charstyle, int32 n)
 
bool operator== (const RunInLineStyleRule &) const
 
void SetCharacterStyle (const UID &cs)
 
UID GetCharacterStyle () const
 
void SetNumberLines (int32 lines)
 
int32 GetNumberLines () const
 
bool IsLoopbackRule () const
 
void ReadWrite (IPMStream *stream)
 

Detailed Description

A description of a single line-based style, where a line-style is the application of a character style to some number of lines as determined by the composition engine. A paragraph will have a text attribute (kTextAttrLineStylesBoss) specified by either a paragraph style or a locally applied attribute. This attribute contains a list of RunInLineStyleRule objects called a RunInLineStyleList.

See Also
RunInLineStyleList
ITextAttrLineStyle

Member Function Documentation

UID RunInLineStyleRule::GetCharacterStyle () const
inline
Returns
the character style associated with this run-in style
int32 RunInLineStyleRule::GetNumberLines () const
inline
Returns
the character style associated with this run-in style
void RunInLineStyleRule::ReadWrite (IPMStreamstream)

read or write the single run-in style rule to the stream

void RunInLineStyleRule::SetCharacterStyle (const UIDcs)
inline

assign the character style associated with this run-in style

Parameters
characterstyle UID
void RunInLineStyleRule::SetNumberLines (int32 lines)
inline

assign the character style associated with this run-in style

Parameters
characterstyle UID