Public Member Functions | Protected Member Functions

fp_DummyRun Class Reference

#include <fp_Run.h>

Inheritance diagram for fp_DummyRun:
fp_Run fp_ContainerObject

List of all members.

Public Member Functions

 fp_DummyRun (fl_BlockLayout *pBL, UT_uint32 iOffsetFirst)
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 isSuperscript (void) const
virtual bool isSubscript (void) const
virtual bool hasLayoutProperties (void) const

Protected Member Functions

virtual void _lookupProperties (const PP_AttrProp *pSpanAP, const PP_AttrProp *pBlockAP, const PP_AttrProp *pSectionAP, GR_Graphics *pG=NULL)
virtual void _draw (dg_DrawArgs *)
virtual void _clearScreen (bool bFullLineHeightRect)
virtual bool _letPointPass (void) const

Constructor & Destructor Documentation

fp_DummyRun::fp_DummyRun ( fl_BlockLayout pBL,
UT_uint32  iOffsetFirst 
)

This is just placeholder to make a run dissapear while preserving the offsets for subsequent runs. Used by TOCs to make ListLabel, pagebreak and TAB dissappear from TOC's

References fp_Run::lookupProperties().


Member Function Documentation

void fp_DummyRun::_clearScreen ( bool  bFullLineHeightRect  )  [protected, virtual]

Implements fp_Run.

void fp_DummyRun::_draw ( dg_DrawArgs  )  [protected, virtual]

Implements fp_Run.

bool fp_DummyRun::_letPointPass ( void   )  const [protected, virtual]

Reimplemented from fp_Run.

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

Implements fp_Run.

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

Implements fp_Run.

void fp_DummyRun::findPointCoords ( UT_uint32  iOffset,
UT_sint32 x,
UT_sint32 y,
UT_sint32 x2,
UT_sint32 y2,
UT_sint32 height,
bool &  bDirection 
) [virtual]
virtual bool fp_DummyRun::hasLayoutProperties ( void   )  const [inline, virtual]

Reimplemented from fp_Run.

bool fp_DummyRun::isSubscript ( void   )  const [virtual]

Reimplemented from fp_Run.

bool fp_DummyRun::isSuperscript ( void   )  const [virtual]

Reimplemented from fp_Run.

void fp_DummyRun::mapXYToPosition ( UT_sint32  xPos,
UT_sint32  yPos,
PT_DocPosition pos,
bool &  bBOL,
bool &  bEOL,
bool &  isTOC 
) [virtual]

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