Public Member Functions | Protected Member Functions | Protected Attributes

fp_HyperlinkRun Class Reference

#include <fp_Run.h>

Inheritance diagram for fp_HyperlinkRun:
fp_Run fp_ContainerObject fp_AnnotationRun fp_RDFAnchorRun

List of all members.

Public Member Functions

 fp_HyperlinkRun (fl_BlockLayout *pBL, UT_uint32 iOffsetFirst, UT_uint32 iLen)
virtual ~fp_HyperlinkRun ()
virtual FP_HYPERLINK_TYPE getHyperlinkType (void) const
bool isStartOfHyperlink () const
const gchar * getTarget () const
const gchar * getTitle () const
virtual bool canBreakAfter (void) const
virtual bool canBreakBefore (void) const
virtual void mapXYToPosition (UT_sint32 x, UT_sint32 y, 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 hasLayoutProperties (void) const
virtual bool doesContainNonBlankData (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 _clearScreen (bool)
virtual void _draw (dg_DrawArgs *)
virtual bool _letPointPass (void) const
virtual bool _canContainPoint (void) const
virtual bool _deleteFollowingIfAtInsPoint () const
void _setTarget (const gchar *pTarget)
void _setTitle (const gchar *pTitle)
void _setTargetFromAPAttribute (const gchar *pAttrName)
void _setTitleFromAPAttribute (const gchar *pAttrName)

Protected Attributes

bool m_bIsStart
gchar * m_pTarget
gchar * m_pTitle

Constructor & Destructor Documentation

fp_HyperlinkRun::~fp_HyperlinkRun (  )  [virtual]

References DELETEPV, m_pTarget, and m_pTitle.


Member Function Documentation

bool fp_HyperlinkRun::_canContainPoint ( void   )  const [protected, virtual]

Reimplemented from fp_Run.

Reimplemented in fp_AnnotationRun, and fp_RDFAnchorRun.

void fp_HyperlinkRun::_clearScreen ( bool   )  [protected, virtual]

Implements fp_Run.

Reimplemented in fp_AnnotationRun, and fp_RDFAnchorRun.

bool fp_HyperlinkRun::_deleteFollowingIfAtInsPoint (  )  const [protected, virtual]

Reimplemented from fp_Run.

void fp_HyperlinkRun::_draw ( dg_DrawArgs  )  [protected, virtual]

Implements fp_Run.

Reimplemented in fp_AnnotationRun, and fp_RDFAnchorRun.

bool fp_HyperlinkRun::_letPointPass ( void   )  const [protected, virtual]

Reimplemented from fp_Run.

Reimplemented in fp_AnnotationRun, and fp_RDFAnchorRun.

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

Implements fp_Run.

Reimplemented in fp_AnnotationRun, and fp_RDFAnchorRun.

void fp_HyperlinkRun::_setTarget ( const gchar *  pTarget  )  [protected]
void fp_HyperlinkRun::_setTargetFromAPAttribute ( const gchar *  pAttrName  )  [protected]
void fp_HyperlinkRun::_setTitle ( const gchar *  pTitle  )  [protected]

References DELETEPV, gchar, and m_pTitle.

Referenced by _setTitleFromAPAttribute().

void fp_HyperlinkRun::_setTitleFromAPAttribute ( const gchar *  pAttrName  )  [protected]
bool fp_HyperlinkRun::canBreakAfter ( void   )  const [virtual]

Implements fp_Run.

Reimplemented in fp_AnnotationRun, and fp_RDFAnchorRun.

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

Implements fp_Run.

Reimplemented in fp_AnnotationRun, and fp_RDFAnchorRun.

virtual bool fp_HyperlinkRun::doesContainNonBlankData ( void   )  const [inline, virtual]

Reimplemented from fp_Run.

void fp_HyperlinkRun::findPointCoords ( UT_uint32  iOffset,
UT_sint32 x,
UT_sint32 y,
UT_sint32 x2,
UT_sint32 y2,
UT_sint32 height,
bool &  bDirection 
) [virtual]
const gchar* fp_HyperlinkRun::getTarget (  )  const [inline]
const gchar* fp_HyperlinkRun::getTitle ( void   )  const [inline]

References gchar.

Referenced by s_doHyperlinkDlg().

virtual bool fp_HyperlinkRun::hasLayoutProperties ( void   )  const [inline, virtual]

Reimplemented from fp_Run.

bool fp_HyperlinkRun::isStartOfHyperlink (  )  const [inline]
void fp_HyperlinkRun::mapXYToPosition ( UT_sint32  x,
UT_sint32  y,
PT_DocPosition pos,
bool &  bBOL,
bool &  bEOL,
bool &  isTOC 
) [virtual]

Member Data Documentation


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