#include <fp_Run.h>
Public Member Functions | |
fp_ForcedLineBreakRun (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_ForcedLineBreakRun::fp_ForcedLineBreakRun | ( | fl_BlockLayout * | pBL, | |
UT_uint32 | iOffsetFirst, | |||
UT_uint32 | iLen | |||
) |
References fp_Run::lookupProperties().
void fp_ForcedLineBreakRun::_clearScreen | ( | bool | bFullLineHeightRect | ) | [protected, virtual] |
Implements fp_Run.
References GR_Graphics::DGP_SCREEN, fp_Run::getGraphics(), and UT_ASSERT.
void fp_ForcedLineBreakRun::_draw | ( | dg_DrawArgs * | pDA | ) | [protected, virtual] |
Implements fp_Run.
References fp_Run::_findPrevPropertyRun(), fp_Run::_getView(), fp_Run::_setHeight(), fp_Run::_setWidth(), GR_Painter::drawChars(), fp_Run::Fill(), GR_Painter::fillRect(), FL_DocLayout::findFont(), FPRUN_TEXT, fp_Run::getAscent(), fp_Run::getBlock(), fp_Run::getBlockAP(), fp_Run::getBlockOffset(), FV_View::getColorShowPara(), fl_BlockLayout::getDocLayout(), fp_TextRun::getFont(), GR_Graphics::getFontAscent(), fp_Run::getGraphics(), fp_Run::getHeight(), fp_Run::getLine(), FV_View::getPoint(), fl_BlockLayout::getPosition(), FV_View::getSelectionAnchor(), FV_View::getShowPara(), fp_Run::getSpanAP(), fp_Run::getType(), fp_Run::getWidth(), fp_Run::isInSelectedTOC(), GR_Graphics::setColor(), GR_Graphics::setFont(), UT_ASSERT, UT_BIDI_RTL, UT_MAX, UT_MIN, UT_UCS4_strlen(), dg_DrawArgs::xoff, xxx_UT_DEBUGMSG, and dg_DrawArgs::yoff.
bool fp_ForcedLineBreakRun::_letPointPass | ( | void | ) | const [protected, virtual] |
Reimplemented from fp_Run.
void fp_ForcedLineBreakRun::_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::_findPrevPropertyRun(), fp_Run::_getView(), fp_Run::_inheritProperties(), fp_Run::_setField(), fp_Run::_setWidth(), fd, FL_DocLayout::findFont(), FPRUN_TEXT, fp_Run::getBlock(), fp_Run::getBlockOffset(), fl_BlockLayout::getDocLayout(), fl_Layout::getField(), fp_TextRun::getFont(), fp_Run::getGraphics(), FV_View::getShowPara(), fp_Run::getType(), fp_Run::getWidth(), GR_Graphics::setFont(), UT_UCS4_strlen(), and xxx_UT_DEBUGMSG.
bool fp_ForcedLineBreakRun::canBreakAfter | ( | void | ) | const [virtual] |
Implements fp_Run.
References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
bool fp_ForcedLineBreakRun::canBreakBefore | ( | void | ) | const [virtual] |
Implements fp_Run.
References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
virtual bool fp_ForcedLineBreakRun::isForcedBreak | ( | void | ) | const [inline, virtual] |
Reimplemented from fp_Run.
void fp_ForcedLineBreakRun::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().