#include <fp_Run.h>
Public Member Functions | |
fp_ForcedPageBreakRun (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_ForcedPageBreakRun::fp_ForcedPageBreakRun | ( | fl_BlockLayout * | pBL, | |
UT_uint32 | iOffsetFirst, | |||
UT_uint32 | iLen | |||
) |
References fp_Run::lookupProperties().
void fp_ForcedPageBreakRun::_clearScreen | ( | bool | bFullLineHeightRect | ) | [protected, virtual] |
void fp_ForcedPageBreakRun::_draw | ( | dg_DrawArgs * | pDA | ) | [protected, virtual] |
Implements fp_Run.
References fp_Run::_drawTextLine(), fp_Run::_getView(), GR_Graphics::DGP_SCREEN, FREEP, XAP_App::getApp(), fp_Run::getAscent(), fp_Run::getHeight(), fp_Run::getLine(), fp_Line::getMaxWidth(), FV_View::getShowPara(), XAP_App::getStringSet(), XAP_StringSet::getValueUTF8(), dg_DrawArgs::pG, GR_Graphics::queryProperties(), s, UT_ASSERT, UT_UCS4_cloneString_char(), dg_DrawArgs::xoff, and dg_DrawArgs::yoff.
bool fp_ForcedPageBreakRun::_letPointPass | ( | void | ) | const [protected, virtual] |
Reimplemented from fp_Run.
void fp_ForcedPageBreakRun::_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::_inheritProperties(), fp_Run::_setField(), fp_Run::_setWidth(), fd, fp_Run::getBlock(), fp_Run::getBlockOffset(), and fl_Layout::getField().
bool fp_ForcedPageBreakRun::canBreakAfter | ( | void | ) | const [virtual] |
Implements fp_Run.
bool fp_ForcedPageBreakRun::canBreakBefore | ( | void | ) | const [virtual] |
Implements fp_Run.
virtual bool fp_ForcedPageBreakRun::isForcedBreak | ( | void | ) | const [inline, virtual] |
Reimplemented from fp_Run.
void fp_ForcedPageBreakRun::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(), and fl_BlockLayout::getPosition().