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_Graphic *pGraphic, PL_ObjectHandle 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_Graphicm_pFGraphic
GR_Imagem_pImage
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
PL_ObjectHandle m_OH

Constructor & Destructor Documentation

fp_ImageRun::~fp_ImageRun (  )  [virtual]

References DELETEP, m_pFGraphic, 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]

Implements fp_Run.

References fp_Run::_getFont(), fp_Run::_getHeight(), fp_Run::_setAscent(), fp_Run::_setDescent(), fp_Run::_setField(), fp_Run::_setFont(), fp_Run::_setHeight(), fp_Run::_setWidth(), UT_String::c_str(), PD_Document::changeObjectFormatNoUpdate(), DELETEP, GR_Graphics::DGP_PAPER, DIM_IN, fd, FL_DocLayout::findFont(), gchar, FG_Graphic::generateImage(), fl_DocSectionLayout::getActualColumnHeight(), fl_DocSectionLayout::getActualColumnWidth(), PD_Document::getAPIFromSOH(), PD_Document::getAttrProp(), fp_Run::getBlock(), fp_Run::getBlockAP(), fp_Run::getBlockOffset(), fl_ContainerLayout::getContainerType(), GR_Image::getDisplayHeight(), GR_Image::getDisplayWidth(), fl_BlockLayout::getDocLayout(), fl_SectionLayout::getDocLayout(), fl_BlockLayout::getDocSectionLayout(), fl_Layout::getDocument(), fl_Layout::getField(), fl_DocSectionLayout::getFirstContainer(), GR_Graphics::getFontAscent(), GR_Graphics::getFontDescent(), fl_FrameLayout::getFrameHeight(), fl_FrameLayout::getFrameWidth(), fp_Run::getGraphics(), fp_Run::getHeight(), fp_Run::getLine(), FL_DocLayout::getNthPage(), fp_Container::getPage(), PP_AttrProp::getProperty(), fp_Run::getWidth(), fp_Line::getY(), m_bImageForPrinter, m_iImageHeight, m_iImageWidth, m_iPointHeight, m_OH, m_pFGraphic, m_pImage, m_pSpanAP, m_sCachedHeightProp, m_sCachedWidthProp, fp_Run::markAsDirty(), fl_ContainerLayout::myContainingLayout(), PTC_AddFmt, GR_Graphics::queryProperties(), fp_Line::setNeedsRedraw(), GR_Graphics::tdu(), GR_Graphics::tlu(), UT_convertToLogicalUnits(), UT_DEBUGMSG, UT_formatDimensionString(), UT_LAYOUT_RESOLUTION, and UT_return_if_fail.

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
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: