#include <IHyperlinkTextDestinationMarker.h>
|
| enum | { kDefaultIID = IID_IHYPERLINKTEXTDESTINATIONMARKER } |
| |
Interface for hyperlink text destination marker object. This is the interface for kHyperlinkTextDestinationMarkerBoss to represent the text marker for hyperlink text destination.
| virtual UID IHyperlinkTextDestinationMarker::GetHyperlinkDestinationUID | ( | | ) | const |
| pure virtual |
Get the hyperlink destination UID (Will return kInvalidUID if GetHyperlinkSourceUID() returns a valid UID)
- Parameters
- Returns
- UID - UID of the destination
| virtual TextIndex IHyperlinkTextDestinationMarker::GetLocation | ( | | ) | const |
| pure virtual |
Get the location of this marker as a TextIndex
- Parameters
- Returns
- TextIndex - This marker's location in the text strand
| virtual UID IHyperlinkTextDestinationMarker::GetTextModel | ( | | ) | const |
| pure virtual |
Get the UID of the text model that this marker points to
- Parameters
- Returns
- UID - UID of the text model
Initilize this class using all of the information at once rather than having to call several methods one after the other
- Parameters
| textHyperlinkDestinationData | - The destination that this marker is related to |
| *textModel | - Text model to point to |
| virtual TextIndex IHyperlinkTextDestinationMarker::UpdateLocation | ( | TextIndex | newTextIndex = -1 | ) | |
| pure virtual |
Update this markers location
- Parameters
| newTextIndex | - Setting this to a value other than -1 will set the new location to that value |
- Returns
- TextIndex - This marker's location in the text strand