Public Member Functions | Protected Member Functions | Private Attributes

fp_TabRun Class Reference

#include <fp_Run.h>

Inheritance diagram for fp_TabRun:
fp_Run fp_ContainerObject

List of all members.

Public Member Functions

 fp_TabRun (fl_BlockLayout *pBL, UT_uint32 iOffsetFirst, UT_uint32 iLen)
virtual void mapXYToPosition (UT_sint32 xPos, UT_sint32 yPos, PT_DocPosition &pos, bool &bBOL, bool &bEOL, bool &isTOC)
virtual void findPointCoords (UT_uint32 iOffset, UT_sint32 &x, UT_sint32 &y, UT_sint32 &x2, UT_sint32 &y2, UT_sint32 &height, bool &bDirection)
virtual bool canBreakAfter (void) const
virtual bool canBreakBefore (void) const
virtual bool hasLayoutProperties (void) const
void setTabWidth (UT_sint32)
void setLeader (eTabLeader iTabType)
eTabLeader getLeader (void)
void setTabType (eTabType iTabType)
eTabType getTabType (void) const
bool isTOCTab (void)
void setTOCTab (void)
void setTOCTabListLabel (void)
bool isTOCTabListLabel (void) const

Protected Member Functions

virtual void _drawArrow (UT_uint32 iLeft, UT_uint32 iTop, UT_uint32 iWidth, UT_uint32 iHeight)
virtual void _draw (dg_DrawArgs *)
virtual void _clearScreen (bool bFullLineHeightRect)
virtual void _lookupProperties (const PP_AttrProp *pSpanAP, const PP_AttrProp *pBlockAP, const PP_AttrProp *pSectionAP, GR_Graphics *pG=NULL)
virtual bool _letPointPass (void) const

Private Attributes

eTabLeader m_leader
eTabType m_TabType
bool m_bIsTOC
bool m_bIsTOCListLabel

Constructor & Destructor Documentation

fp_TabRun::fp_TabRun ( fl_BlockLayout pBL,
UT_uint32  iOffsetFirst,
UT_uint32  iLen 

Member Function Documentation

void fp_TabRun::_clearScreen ( bool  bFullLineHeightRect  )  [protected, virtual]
bool fp_TabRun::_letPointPass ( void   )  const [protected, virtual]

Reimplemented from fp_Run.

bool fp_TabRun::canBreakAfter ( void   )  const [virtual]

Implements fp_Run.

bool fp_TabRun::canBreakBefore ( void   )  const [virtual]

Implements fp_Run.

eTabLeader fp_TabRun::getLeader ( void   ) 

References m_leader.

eTabType fp_TabRun::getTabType ( void   )  const

References m_TabType.

Referenced by _draw().

bool fp_TabRun::hasLayoutProperties ( void   )  const [virtual]

Reimplemented from fp_Run.

bool fp_TabRun::isTOCTab ( void   ) 

References m_bIsTOC.

Referenced by fp_Line::_calculateWidthOfRun().

bool fp_TabRun::isTOCTabListLabel ( void   )  const [inline]
void fp_TabRun::mapXYToPosition ( UT_sint32  xPos,
UT_sint32  yPos,
PT_DocPosition pos,
bool &  bBOL,
bool &  bEOL,
bool &  isTOC 
) [virtual]
void fp_TabRun::setLeader ( eTabLeader  iTabType  ) 
void fp_TabRun::setTabType ( eTabType  iTabType  ) 

References m_TabType.

Referenced by fp_Line::_calculateWidthOfRun().

void fp_TabRun::setTabWidth ( UT_sint32  iWidth  ) 
void fp_TabRun::setTOCTab ( void   )  [inline]
void fp_TabRun::setTOCTabListLabel ( void   ) 

Member Data Documentation

bool fp_TabRun::m_bIsTOC [private]

Referenced by isTOCTab().

Referenced by setTOCTabListLabel().

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