Hyperlink
Contents
[
Hide
]Hyperlink class
Represents a hyperlink.
class Hyperlink : public Aspose::Slides::PVIObject,
public Aspose::Slides::IHyperlink
Methods
Method | Description |
---|---|
bool Equals(System::SharedPtr<System::Object>) override | Determines whether the two Hyperlink instances are equal. |
virtual bool Equals(ptr) | Compares objects using C# Object.Equals semantics. |
static std::enable_if<IsSmartPtr<T1>::value&&IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&) | Compares reference type objects in C# style. |
static bool Equals(float const&, float const&) | Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. |
static bool Equals(double const&, double const&) | Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. |
virtual bool FastCast(const Details::FastRttiBase&, void **) const | For internal purposes only. |
HyperlinkActionType get_ActionType() override | Returns type of Hyperlink’s action. Read-only HyperlinkActionType. |
HyperlinkColorSource get_ColorSource() override | Represents the source of hyperlink color - either styles or portion format. Read HyperlinkColorSource. |
static System::SharedPtr<Hyperlink> get_EndShow() | Returns a hyperlink which ends the show. Read-only Hyperlink. |
System::String get_ExternalUrl() override | Specifies the external URL. Read-only System::String. |
System::String get_ExternalUrlOriginal() override | Represents a hyperlink that is set for this portion without regard to the actual content of the portion. |
static System::SharedPtr<Hyperlink> get_FirstSlide() | Returns a hyperlink to the first slide of the presentation. Read-only Hyperlink. |
bool get_HighlightClick() override | Determines whether the hyperlink should be highlighted on click. Read bool. |
bool get_History() override | Determines whether the target of the parent hyperlink shall be added to a list of viewed hyperlinks when it is invoked. Read bool. |
static System::SharedPtr<Hyperlink> get_LastSlide() | Returns a hyperlink to the last slide of the presentation. Read-only Hyperlink. |
static System::SharedPtr<Hyperlink> get_LastVievedSlide() | Returns a hyperlink to the last viewed slide. Read-only Hyperlink. |
static System::SharedPtr<Hyperlink> get_Media() | Returns a special "play mediafile" hyperlink. Used in AudioFrame and VideoFrame. Read-only Hyperlink. |
static System::SharedPtr<Hyperlink> get_NextSlide() | Returns a hyperlink to the next slide. Read-only Hyperlink. |
static System::SharedPtr<Hyperlink> get_NoAction() | Returns a special "do nothing" hyperlink. Read-only Hyperlink. |
virtual ASPOSE_SLIDES_LOCAL_API System::SharedPtr<IPresentationComponent> get_Parent_IPresentationComponent() | Returns parent IPresentationComponent. Read-only IPresentationComponent. |
static System::SharedPtr<Hyperlink> get_PreviousSlide() | Returns a hyperlink to the previous slide. Read-only Hyperlink. |
System::SharedPtr<IAudio> get_Sound() override | Represents the playing sound of the hyperlink. Read IAudio. |
bool get_StopSoundOnClick() override | Determines whether the sound should be stopped on hyperlink click. Read bool. |
System::String get_TargetFrame() override | Returns the frame within the parent HTML frameset for the target of the parent hyperlink when one exists. Read/wite System::String. |
System::SharedPtr<ISlide> get_TargetSlide() override | If the Hyperlink targets specific slide returns this slide. Read-only ISlide. |
System::String get_Tooltip() override | Returns the string which may be surfaced in a user interface as associated with the parent hyperlink. Read System::String. |
Detail::SmartPtrCounter * GetCounter() | Gets reference counter data structure associated with the object. |
int32_t GetHashCode() const override | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
virtual const TypeInfo& GetType() const | Gets actual type of object. Analog of C# System.Object.GetType() call. |
Hyperlink(System::String) | Creates an instance of a hyperlink. |
Hyperlink(System::SharedPtr<ISlide>) | Creates an instance of a hyperlink which points to specific slide. Note: created hyperlink should be assigned to some object from the same presentation, otherwise link will be saved as NoAction. |
Hyperlink(System::SharedPtr<Hyperlink>, System::String, System::String, bool, bool, bool) | Creates an instance of a hyperlink using another hyperlink as source, overriding secondary properties. |
virtual bool Is(const TypeInfo&) const | Check if object represents an instance of type described by targetType. Analog of C# ‘is’ operator. |
void Lock() | Implements C# lock() statement locking. Call directly or use LockContext sentry object. |
virtual ptr MemberwiseClone() const | Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. |
Object() | Creates object. Initializes all internal data structures. |
Object(Object const&) | Copy constructor. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses. |
Object& operator=(Object const&) | Assignment operator. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses. |
static bool ReferenceEquals(ptr const&, ptr const&) | Compares objects by reference. |
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, T const&) | Compares objects by reference. |
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, std::nullptr_t) | Reference-compares value type object with nullptr. |
bool ReferenceEquals(String const&, std::nullptr_t) | Specialization of Object::ReferenceEquals for case of string and nullptr. |
bool ReferenceEquals(String const&, String const&) | Specialization of Object::ReferenceEquals for case of strings. |
int RemovedSharedRefs(int) | Decreases shared reference count by specified value. |
void set_ColorSource(HyperlinkColorSource) override | Represents the source of hyperlink color - either styles or portion format. Write HyperlinkColorSource. |
void set_HighlightClick(bool) override | Determines whether the hyperlink should be highlighted on click. Write bool. |
void set_History(bool) override | Determines whether the target of the parent hyperlink shall be added to a list of viewed hyperlinks when it is invoked. Write bool. |
void set_Sound(System::SharedPtr<IAudio>) override | Represents the playing sound of the hyperlink. Write IAudio. |
void set_StopSoundOnClick(bool) override | Determines whether the sound should be stopped on hyperlink click. Write bool. |
void set_TargetFrame(System::String) override | Returns the frame within the parent HTML frameset for the target of the parent hyperlink when one exists. Read/wite System::String. |
void set_Tooltip(System::String) override | Returns the string which may be surfaced in a user interface as associated with the parent hyperlink. Write System::String. |
virtual void SetTemplateWeakPtr(uint32_t) | Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. |
int SharedCount() const | Gets current value of shared reference counter. |
Object * SharedRefAdded() | Increments shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
int SharedRefRemovedSafe() | Decrements and returns shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
virtual String ToString() const | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
static const TypeInfo& Type() | Implements C# typeof(System.Object) construct. |
void Unlock() | Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. |
Detail::SmartPtrCounter * WeakRefAdded() | Increments weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
void WeakRefRemoved() | Decrements weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
ASPOSE_SLIDES_LOCAL_API void WrapperLazyInitialization() const | |
virtual ~Object() | Destroys object. Frees all internal data structures. |
See Also
- Class PVIObject
- Class IHyperlink
- Namespace Aspose::Slides
- Library Aspose.Slides