Aspose::Pdf::Annotations::IAnnotationVisitor Class Referenceabstract

Defines Visitor for visiting different document annotations. More...

Inherits System::Object.

Inherited by Aspose::Pdf::Annotations::AnnotationSelector.

Public Member Functions

virtual void Visit (System::SharedPtr< LinkAnnotation > link)=0
 Visit/select link annotation. More...
 
virtual void Visit (System::SharedPtr< FileAttachmentAnnotation > attachment)=0
 Visit/select attachment annotation. More...
 
virtual void Visit (System::SharedPtr< TextAnnotation > text)=0
 Visit/select text annotation. More...
 
virtual void Visit (System::SharedPtr< FreeTextAnnotation > freetext)=0
 Visit/select freetext annotation. More...
 
virtual void Visit (System::SharedPtr< HighlightAnnotation > highlight)=0
 Visit/select highlight annotation. More...
 
virtual void Visit (System::SharedPtr< UnderlineAnnotation > underline)=0
 Visit/select underline annotation. More...
 
virtual void Visit (System::SharedPtr< StrikeOutAnnotation > strikeOut)=0
 Visit/select strikeOut annotation. More...
 
virtual void Visit (System::SharedPtr< SquigglyAnnotation > squiggly)=0
 Visit/select squiggly annotation. More...
 
virtual void Visit (System::SharedPtr< PopupAnnotation > popup)=0
 Visit/select popup annotation. More...
 
virtual void Visit (System::SharedPtr< LineAnnotation > line)=0
 Visit/select line annotation. More...
 
virtual void Visit (System::SharedPtr< CircleAnnotation > circle)=0
 Visit/select circle annotation. More...
 
virtual void Visit (System::SharedPtr< SquareAnnotation > square)=0
 Visit/select square annotation. More...
 
virtual void Visit (System::SharedPtr< InkAnnotation > ink)=0
 Visit/select ink annotation. More...
 
virtual void Visit (System::SharedPtr< PolylineAnnotation > polyline)=0
 Visit/select polyline annotation. More...
 
virtual void Visit (System::SharedPtr< PolygonAnnotation > polygon)=0
 Visit/select polygon annotation. More...
 
virtual void Visit (System::SharedPtr< CaretAnnotation > caret)=0
 Visit/select caret annotation. More...
 
virtual void Visit (System::SharedPtr< StampAnnotation > stamp)=0
 Visit/select stamp annotation. More...
 
virtual void Visit (System::SharedPtr< WidgetAnnotation > widget)=0
 Visit/select widget annotation. More...
 
virtual void Visit (System::SharedPtr< MovieAnnotation > movie)=0
 Visit/select movie annotation. More...
 
virtual void Visit (System::SharedPtr< ScreenAnnotation > screen)=0
 Visit/select screen annotation. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Detailed Description

Defines Visitor for visiting different document annotations.

Member Function Documentation

◆ Visit() [1/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< LinkAnnotation link)
pure virtual

Visit/select link annotation.

Parameters
linkLinkAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [2/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< FileAttachmentAnnotation attachment)
pure virtual

Visit/select attachment annotation.

Parameters
attachmentFileAttachmentAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [3/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< TextAnnotation text)
pure virtual

Visit/select text annotation.

Parameters
textTextAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [4/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< FreeTextAnnotation freetext)
pure virtual

Visit/select freetext annotation.

Parameters
freetextFreeTextAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [5/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< HighlightAnnotation highlight)
pure virtual

Visit/select highlight annotation.

Parameters
highlightHighlightAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [6/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< UnderlineAnnotation underline)
pure virtual

Visit/select underline annotation.

Parameters
underlineUnderlineAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [7/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< StrikeOutAnnotation strikeOut)
pure virtual

Visit/select strikeOut annotation.

Parameters
strikeOutStrikeOutAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [8/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< SquigglyAnnotation squiggly)
pure virtual

Visit/select squiggly annotation.

Parameters
squigglySquigglyAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [9/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< PopupAnnotation popup)
pure virtual

Visit/select popup annotation.

Parameters
popupPopupAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [10/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< LineAnnotation line)
pure virtual

Visit/select line annotation.

Parameters
lineLineAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [11/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< CircleAnnotation circle)
pure virtual

Visit/select circle annotation.

Parameters
circleCircleAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [12/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< SquareAnnotation square)
pure virtual

Visit/select square annotation.

Parameters
squareSquareAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [13/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< InkAnnotation ink)
pure virtual

Visit/select ink annotation.

Parameters
inkInkAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [14/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< PolylineAnnotation polyline)
pure virtual

Visit/select polyline annotation.

Parameters
polylinePolylineAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [15/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< PolygonAnnotation polygon)
pure virtual

Visit/select polygon annotation.

Parameters
polygonPolygonAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [16/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< CaretAnnotation caret)
pure virtual

Visit/select caret annotation.

Parameters
caretCaretAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [17/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< StampAnnotation stamp)
pure virtual

Visit/select stamp annotation.

Parameters
stampStampAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [18/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< WidgetAnnotation widget)
pure virtual

Visit/select widget annotation.

Parameters
widgetWidgetAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [19/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< MovieAnnotation movie)
pure virtual

Visit/select movie annotation.

Parameters
movieMovieAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.

◆ Visit() [20/20]

virtual void Aspose::Pdf::Annotations::IAnnotationVisitor::Visit ( System::SharedPtr< ScreenAnnotation screen)
pure virtual

Visit/select screen annotation.

Parameters
screenScreenAnnotation object example/template.

Implemented in Aspose::Pdf::Annotations::AnnotationSelector.