Public Member Functions | Protected Member Functions | Private Attributes

fp_ImageRun Class Reference

#include <fp_Run.h>

Inheritance diagram for fp_ImageRun:
fp_Run fp_ContainerObject

List of all members.

Public Member Functions

 fp_ImageRun (fl_BlockLayout *pBL, UT_uint32 iOffsetFirst, UT_uint32 iLen, FG_GraphicPtr &&pGraphic, pf_Frag_Object *oh)
virtual ~fp_ImageRun ()
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
const char * getDataId (void) const
virtual bool hasLayoutProperties (void) const
virtual GR_ImagegetImage ()
void regenerateImage (GR_Graphics *pG)
UT_sint32 getPointHeight (void)

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

Private Attributes

FG_GraphicPtr m_pFGraphic
UT_sint32 m_iImageWidth
UT_sint32 m_iImageHeight
UT_String m_sCachedWidthProp
UT_String m_sCachedHeightProp
UT_sint32 m_iPointHeight
const PP_AttrPropm_pSpanAP
UT_uint32 m_iGraphicTick
bool m_bImageForPrinter

Constructor & Destructor Documentation

fp_ImageRun::~fp_ImageRun (  )  [virtual]

References DELETEP, and m_pImage.

Member Function Documentation

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

Reimplemented from fp_Run.

void fp_ImageRun::_lookupProperties ( const PP_AttrProp pSpanAP,
const PP_AttrProp pBlockAP,
const PP_AttrProp pSectionAP,
GR_Graphics pG = NULL 
) [protected, virtual]
bool fp_ImageRun::canBreakAfter ( void   )  const [virtual]

Implements fp_Run.

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

Implements fp_Run.

void fp_ImageRun::findPointCoords ( UT_uint32  iOffset,
UT_sint32 x,
UT_sint32 y,
UT_sint32 x2,
UT_sint32 y2,
UT_sint32 height,
bool &  bDirection 
) [virtual]
const char * fp_ImageRun::getDataId ( void   )  const

References m_pFGraphic.

Referenced by Defun1().

GR_Image * fp_ImageRun::getImage (  )  [virtual]

References m_pImage.

UT_sint32 fp_ImageRun::getPointHeight ( void   )  [inline]
bool fp_ImageRun::hasLayoutProperties ( void   )  const [virtual]

Reimplemented from fp_Run.

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

Member Data Documentation

Referenced by _lookupProperties().

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