Aspose::Pdf::Facades::Bookmarks Class Referencefinal

Represents a collection of Bookmark objects. More...

Inherits System::Collections::Generic::List< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > >.

Static Protected Member Functions

static System::SharedPtr< BookmarksCreate (System::SharedPtr< OutlineItemCollection > itemCollection)
 

Additional Inherited Members

- Public Types inherited from System::Collections::Generic::List< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > >
typedef System::SharedPtr< Aspose::Pdf::Facades::BookmarkValueType
 This type. More...
 
typedef IList< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > BaseType
 Interface type. More...
 
typedef std::vector< System::SharedPtr< Aspose::Pdf::Facades::Bookmark >, typename pointer_mode_t::allocator_type > vector_t
 Underlying data type. More...
 
typedef SharedPtr< IEnumerable< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > > IEnumerablePtr
 Container holding elements of same type we hold. More...
 
typedef SharedPtr< IEnumerator< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > > IEnumeratorPtr
 Enumerator type. More...
 
- 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...
 
- Public Types inherited from System::Collections::Generic::IList< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > >
typedef ICollection< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > BaseType
 Base type. More...
 
typedef IList< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > ThisType
 This type. More...
 
typedef System::SharedPtr< Aspose::Pdf::Facades::BookmarkValueType
 Value type. More...
 
- Public Types inherited from System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > >
typedef System::SharedPtr< Aspose::Pdf::Facades::BookmarkValueType
 Value type name. More...
 
typedef ICollection< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > ThisType
 Collection type name. More...
 
- Public Types inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > >
typedef IEnumerator< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > IEnumeratorType
 Enumerator type. More...
 
- Public Member Functions inherited from System::Collections::Generic::List< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > >
 List ()
 Creates empty list. More...
 
 List (int capacity)
 
 List (IEnumerablePtr collection)
 
void AddInitializer (int size, const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > inits[])
 
IEnumeratorPtr GetEnumerator () override
 
int get_Count () const override
 
void Add (const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item) override
 
void Clear () override
 Deletes all elements. More...
 
bool Contains (const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item) const override
 
bool Remove (const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item) override
 
void CopyTo (System::ArrayPtr< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > array, int arrayIndex) override
 
void CopyTo (const System::ArrayPtr< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > &array)
 
void CopyTo (int index, const System::ArrayPtr< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > &array, int arrayIndex, int count)
 
int IndexOf (const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item) const override
 
int IndexOf (const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item, int index) const
 
void Insert (int index, const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item) override
 
void RemoveAt (int index) override
 
System::SharedPtr< Aspose::Pdf::Facades::Bookmarkidx_get (int index) const override
 
void idx_set (int index, System::SharedPtr< Aspose::Pdf::Facades::Bookmark > value) override
 
int get_Capacity () const
 
void set_Capacity (int capacity)
 
void AddRange (IEnumerablePtr collection)
 
SharedPtr< System::Collections::ObjectModel::ReadOnlyCollection< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > > AsReadOnly ()
 
int BinarySearch (const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item) const
 
int BinarySearch (const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item, const SharedPtr< System::Collections::Generic::IComparer< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > > &comparer) const
 
int BinarySearch (int index, int count, const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item, const SharedPtr< System::Collections::Generic::IComparer< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > > &comparer) const
 
SharedPtr< List< OutputType > > ConvertAll (Converter< System::SharedPtr< Aspose::Pdf::Facades::Bookmark >, OutputType > converter)
 
bool Exists (System::Predicate< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > match)
 
System::SharedPtr< Aspose::Pdf::Facades::BookmarkFind (System::Predicate< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > predicate)
 
ListPtr< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > FindAll (System::Predicate< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > match)
 
int FindIndex (System::Predicate< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > match)
 
int FindIndex (int startIndex, System::Predicate< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > match)
 
int FindIndex (int startIndex, int count, System::Predicate< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > match)
 
System::SharedPtr< Aspose::Pdf::Facades::BookmarkFindLast (System::Predicate< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > match)
 
void ForEach (System::Action< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > action)
 
ThisPtr GetRange (int index, int count)
 
void InsertRange (int index, IEnumerablePtr collection)
 
int32_t LastIndexOf (const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item) const
 
int32_t LastIndexOf (const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item, int32_t index) const
 
int32_t LastIndexOf (const System::SharedPtr< Aspose::Pdf::Facades::Bookmark > &item, int32_t index, int32_t count) const
 
int RemoveAll (Predicate< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > match)
 
void RemoveRange (int index, int count)
 
void Reverse ()
 Reverses elements order of the whole list. More...
 
void Reverse (int index, int count)
 
void Sort (const SharedPtr< System::Collections::Generic::IComparer< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > > &comparator)
 
void Sort ()
 Sorts elements in the list using default comparator. More...
 
void Sort (int index, int count, SharedPtr< System::Collections::Generic::IComparer< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > > comparator)
 
void Sort (Comparison< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > comparison, bool)
 
ArrayPtr< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > ToArray () const
 
void TrimExcess ()
 Makes list capacity to fit its size. More...
 
vector_t::reference operator[] (int index)
 
vector_t::const_reference operator[] (int index) const
 
vector_tdata ()
 
const vector_tdata () const
 
void _add_range (std::initializer_list< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > list)
 
void SetTemplateWeakPtr (unsigned int argument) override
 
- 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...
 
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)
 
- Public Member Functions inherited from System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > >
virtual bool get_IsReadOnly () const
 
ICollectionoperator= (ICollection &&)
 
ICollectionoperator= (const ICollection &)
 
 ICollection ()
 Default constructor. More...
 
 ICollection (const ICollection &)
 Copy constructor. More...
 
 ICollection (ICollection &&)
 Move constructor. More...
 
virtual ~ICollection ()
 Destructor. 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...
 
- Protected Types inherited from System::Collections::Generic::List< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > >
typedef SharedPtr< List< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > > > ThisPtr
 Pointer type. More...
 
typedef vector_t::iterator iterator_t
 Iterator type. More...
 
typedef vector_t::const_iterator const_iterator_t
 Const iterator type. More...
 
- Protected Attributes inherited from System::Collections::Generic::List< System::SharedPtr< Aspose::Pdf::Facades::Bookmark > >
vector_t m_data
 Underlting data structure. More...
 

Detailed Description

Represents a collection of Bookmark objects.

Member Function Documentation

◆ Create()

static System::SharedPtr<Bookmarks> Aspose::Pdf::Facades::Bookmarks::Create ( System::SharedPtr< OutlineItemCollection itemCollection)
staticprotected