#include <fp_Run.h>
Public Member Functions | |
fp_FieldStartRun (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 | isForcedBreak (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 |
fp_FieldStartRun::fp_FieldStartRun | ( | fl_BlockLayout * | pBL, | |
UT_uint32 | iOffsetFirst, | |||
UT_uint32 | iLen | |||
) |
References fp_Run::lookupProperties().
void fp_FieldStartRun::_clearScreen | ( | bool | bFullLineHeightRect | ) | [protected, virtual] |
Implements fp_Run.
References GR_Graphics::DGP_SCREEN, fp_Run::getGraphics(), and UT_ASSERT.
void fp_FieldStartRun::_draw | ( | dg_DrawArgs * | ) | [protected, virtual] |
Implements fp_Run.
bool fp_FieldStartRun::_letPointPass | ( | void | ) | const [protected, virtual] |
Reimplemented from fp_Run.
void fp_FieldStartRun::_lookupProperties | ( | const PP_AttrProp * | pSpanAP, | |
const PP_AttrProp * | pBlockAP, | |||
const PP_AttrProp * | pSectionAP, | |||
GR_Graphics * | pG = NULL | |||
) | [protected, virtual] |
Implements fp_Run.
References fp_Run::_setField(), fp_Run::_setWidth(), fd, fp_Run::getBlock(), fp_Run::getBlockOffset(), and fl_Layout::getField().
bool fp_FieldStartRun::canBreakAfter | ( | void | ) | const [virtual] |
Implements fp_Run.
bool fp_FieldStartRun::canBreakBefore | ( | void | ) | const [virtual] |
Implements fp_Run.
void fp_FieldStartRun::findPointCoords | ( | UT_uint32 | iOffset, | |
UT_sint32 & | x, | |||
UT_sint32 & | y, | |||
UT_sint32 & | x2, | |||
UT_sint32 & | y2, | |||
UT_sint32 & | height, | |||
bool & | bDirection | |||
) | [virtual] |
Implements fp_Run.
References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
virtual bool fp_FieldStartRun::isForcedBreak | ( | void | ) | const [inline, virtual] |
Reimplemented from fp_Run.
void fp_FieldStartRun::mapXYToPosition | ( | UT_sint32 | xPos, | |
UT_sint32 | yPos, | |||
PT_DocPosition & | pos, | |||
bool & | bBOL, | |||
bool & | bEOL, | |||
bool & | isTOC | |||
) | [virtual] |
Implements fp_Run.
References fp_Run::getBlock(), fp_Run::getBlockOffset(), fl_BlockLayout::getPosition(), UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.