Public Member Functions | Private Attributes

fl_PartOfBlock Class Reference

#include <fl_BlockLayout.h>

List of all members.

Public Member Functions

 fl_PartOfBlock ()
 fl_PartOfBlock (UT_sint32 iOffset, UT_sint32 iPTLength, bool bIsIgnored=false)
bool doesTouch (UT_sint32 iOffset, UT_sint32 iLength) const
UT_sint32 getOffset (void) const
UT_sint32 getPTLength (void) const
bool getIsIgnored (void) const
void setOffset (UT_sint32 iOffset)
void setPTLength (UT_sint32 iLength)
void setIsIgnored (bool bIsIgnored)
void setInvisible (void)
bool isInvisible (void)
void setGrammarMessage (UT_UTF8String &sMsg)
void getGrammarMessage (UT_UTF8String &sMsg) const

Private Attributes

UT_sint32 m_iOffset
UT_sint32 m_iPTLength
bool m_bIsIgnored
bool m_bIsInvisible
UT_UTF8String m_sGrammarMessage

Constructor & Destructor Documentation

fl_PartOfBlock::fl_PartOfBlock ( void   ) 
fl_PartOfBlock::fl_PartOfBlock ( UT_sint32  iOffset,
UT_sint32  iPTLength,
bool  bIsIgnored = false 
)

Member Function Documentation

bool fl_PartOfBlock::doesTouch ( UT_sint32  iOffset,
UT_sint32  iLength 
) const

Does POB touch region

Parameters:
iOffset Offset of region
iLength Length of region
Returns:
True if the region touches the POB

References m_iOffset, m_iPTLength, and xxx_UT_DEBUGMSG.

void fl_PartOfBlock::getGrammarMessage ( UT_UTF8String sMsg  )  const

References m_sGrammarMessage.

bool fl_PartOfBlock::getIsIgnored ( void   )  const [inline]
UT_sint32 fl_PartOfBlock::getOffset ( void   )  const [inline]
UT_sint32 fl_PartOfBlock::getPTLength ( void   )  const [inline]
bool fl_PartOfBlock::isInvisible ( void   )  [inline]
void fl_PartOfBlock::setGrammarMessage ( UT_UTF8String sMsg  ) 

References m_sGrammarMessage.

void fl_PartOfBlock::setInvisible ( void   )  [inline]
void fl_PartOfBlock::setIsIgnored ( bool  bIsIgnored  )  [inline]
void fl_PartOfBlock::setOffset ( UT_sint32  iOffset  )  [inline]
void fl_PartOfBlock::setPTLength ( UT_sint32  iLength  )  [inline]

Member Data Documentation

Referenced by fl_PartOfBlock().

Referenced by fl_PartOfBlock().

Referenced by doesTouch(), and fl_PartOfBlock().

Referenced by doesTouch(), and fl_PartOfBlock().


The documentation for this class was generated from the following files: