Aspose::Words::Saving::PageSet Class Referencefinal

Detailed Description

Describes a random set of pages.

#include <Aspose.Words.Cpp/Model/Saving/PageSet/PageSet.h>

+ Inheritance diagram for Aspose::Words::Saving::PageSet:

Public Member Functions

 PageSet (const ArrayPtr< int32_t > &pages)
 Creates a page set based on exact page indices. More...
 
 PageSet (const ArrayPtr< SharedPtr< PageRange >> &ranges)
 Creates a page set based on ranges. More...
 
 PageSet (int32_t page)
 Creates an one-page set based on exact page index. More...
 
virtual const TypeInfoGetType () const override
 
virtual bool Is (const TypeInfo &target) const override
 
- Public Member Functions inherited from Object
ASPOSECPP_SHARED_API Object ()
 
ASPOSECPP_SHARED_API Object (Object const &x)
 
virtual ASPOSECPP_SHARED_API ~Object ()
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 
Detail::SmartPtrCounter * GetCounter ()
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 
ASPOSECPP_SHARED_API void Lock ()
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 
Objectoperator= (Object const &x)
 
bool ReferenceEquals (String const &str, std::nullptr_t)
 
bool ReferenceEquals (String const &str1, String const &str2)
 
int RemovedSharedRefs (int count)
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (unsigned int argument)
 
int SharedCount () const
 
ObjectSharedRefAdded ()
 
int SharedRefRemovedSafe ()
 
virtual ASPOSECPP_SHARED_API String ToString () const
 
ASPOSECPP_SHARED_API void Unlock ()
 
Detail::SmartPtrCounter * WeakRefAdded ()
 
void WeakRefRemoved ()
 

Static Public Member Functions

static SharedPtr< PageSetget_All ()
 Gets a set with all the pages of the document in their original order. More...
 
static SharedPtr< PageSetget_Even ()
 Gets a set with all the even pages of the document in their original order. More...
 
static SharedPtr< PageSetget_Odd ()
 Gets a set with all the odd pages of the document in their original order. More...
 
static const TypeInfoType ()
 
- Static Public Member Functions inherited from Object
bool Equals (double const &objA, double const &objB)
 
bool Equals (float const &objA, float const &objB)
 
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 
static const TypeInfoType ()
 

Additional Inherited Members

- Public Types inherited from Object
typedef SmartPtr< Objectptr
 
typedef System::Details::SharedMembersType shared_members_type
 

Constructor & Destructor Documentation

◆ PageSet() [1/3]

Aspose::Words::Saving::PageSet::PageSet ( int32_t  page)

Creates an one-page set based on exact page index.

Parameters
pageZero-based index of the page.

◆ PageSet() [2/3]

Aspose::Words::Saving::PageSet::PageSet ( const System::ArrayPtr< int32_t > &  pages)

Creates a page set based on exact page indices.

Parameters
pagesZero-based indices of pages.

◆ PageSet() [3/3]

Aspose::Words::Saving::PageSet::PageSet ( const System::ArrayPtr< System::SharedPtr< Aspose::Words::Saving::PageRange >> &  ranges)

Creates a page set based on ranges.

Parameters
rangesArray of page ranges.

Member Function Documentation

◆ get_All()

static System::SharedPtr<Aspose::Words::Saving::PageSet> Aspose::Words::Saving::PageSet::get_All ( )
static

Gets a set with all the pages of the document in their original order.

◆ get_Even()

static System::SharedPtr<Aspose::Words::Saving::PageSet> Aspose::Words::Saving::PageSet::get_Even ( )
static

Gets a set with all the even pages of the document in their original order.

◆ get_Odd()

static System::SharedPtr<Aspose::Words::Saving::PageSet> Aspose::Words::Saving::PageSet::get_Odd ( )
static

Gets a set with all the odd pages of the document in their original order.

◆ GetType()

virtual const System::TypeInfo& Aspose::Words::Saving::PageSet::GetType ( ) const
overridevirtual

Reimplemented from System::Object.

◆ Is()

virtual bool Aspose::Words::Saving::PageSet::Is ( const System::TypeInfo target) const
overridevirtual

Reimplemented from System::Object.

◆ Type()

static const System::TypeInfo& Aspose::Words::Saving::PageSet::Type ( )
static