Represents a column in a table. More...

Inherits Aspose::Slides::CellCollection, and Aspose::Slides::IColumn.

Public Member Functions

ASPOSE_SLIDES_SHARED_API double get_Width ()
 Returns the width of a column. Read double. More...
 
ASPOSE_SLIDES_SHARED_API void set_Width (double value)
 Sets the width of a column. Write double. More...
 
ASPOSE_SLIDES_SHARED_API void SetTextFormat (System::SharedPtr< IPortionFormat > source)
 Sets defined portion format properties to all column cells' portions. More...
 
ASPOSE_SLIDES_SHARED_API void SetTextFormat (System::SharedPtr< IParagraphFormat > source)
 Sets defined paragraph format properties to all column cells' paragraphs. More...
 
ASPOSE_SLIDES_SHARED_API void SetTextFormat (System::SharedPtr< ITextFrameFormat > source)
 Sets defined text frame format properties to all column cells' text frames. More...
 
- Public Member Functions inherited from Aspose::Slides::CellCollection
ASPOSE_SLIDES_SHARED_API int32_t get_Count ()
 Returns the number of cells in a collection. Read-only int32_t. More...
 
ASPOSE_SLIDES_SHARED_API System::SharedPtr< IBaseSlideget_Slide ()
 Returns the parent slide of a CellCollection. Read-only IBaseSlide. More...
 
ASPOSE_SLIDES_SHARED_API System::SharedPtr< IPresentationget_Presentation ()
 Returns the parent presentation of a CellCollection. Read-only IPresentation. More...
 
ASPOSE_SLIDES_SHARED_API bool get_IsSynchronized ()
 Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only bool. More...
 
ASPOSE_SLIDES_SHARED_API System::SharedPtr< System::Objectget_SyncRoot ()
 Returns a synchronization root. Read-only object. More...
 
ASPOSE_SLIDES_SHARED_API System::SharedPtr< ICellidx_get (int32_t index)
 Returns a cell by it's position. Read-only Cell. More...
 
ASPOSE_SLIDES_SHARED_API System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< ICell > > > GetEnumerator ()
 Returns an enumerator that iterates through the collection. More...
 
ASPOSE_SLIDES_SHARED_API void CopyTo (System::ArrayPtr< System::SharedPtr< ICell >> array, int32_t index)
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 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...
 
void SharedRefRemoved ()
 Decrements shared reference count and deletes object if it hits zero. Shouldn't be called directly; instead, use smart pointers or ThisProtector. 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...
 
void FreeOrDetectCycles (int count)
 Reacts on shared reference counter decrement. Shouldn't be called directly, use smart pointers instead. If neccessary, deletes the object. If allowed, initiates loop references lookup. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
void __FreePointers ()
 Resets all smart pointers stored inside this object directly (in fields) or indirectly (in value type fields). Used by memory management systems, shouldn't be called directly. More...
 
virtual 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)
 
- Public Member Functions inherited from Aspose::Slides::IGenericCollection< System::SharedPtr< Aspose::Slides::ICell > >
virtual void CopyTo (System::ArrayPtr< System::SharedPtr< Aspose::Slides::ICell > > array, int32_t index)=0
 Copies all elements from the collection into the specified array. More...
 

Protected Member Functions

System::SharedPtr< ColumnCollectionget_ParentColumnsCollection ()
 
int32_t get_ColumnIndex ()
 
double get_ColumnOffset ()
 
virtual ASPOSE_SLIDES_SHARED_API System::SharedPtr< Tableget_ParentTable ()
 
 Column (System::SharedPtr< ColumnCollection > parentImmediate, double width)
 
void RequestOfWidthValidation ()
 
virtual ASPOSE_SLIDES_SHARED_API int32_t GetCellsCount ()
 
virtual ASPOSE_SLIDES_SHARED_API System::SharedPtr< CellGetCellByIndexInternal (int32_t index)
 
virtual ASPOSE_SLIDES_SHARED_API System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< ICell > > > ReturnEnumerator ()
 
virtual ASPOSE_SLIDES_SHARED_API int32_t FindByOffset (double offset)
 
virtual ASPOSE_SLIDES_SHARED_API void CopyToArrayInternal (System::ArrayPtr< System::SharedPtr< ICell >> array, int32_t destIndex)
 
- Protected Member Functions inherited from Aspose::Slides::CellCollection
System::SharedPtr< UnsupportedProps::PPTXUnsupportedProps::CellCollectionPPTXUnsupportedProps > get_PPTXUnsupportedProps ()
 
 CellCollection (System::SharedPtr< IDOMObject > parentImmediate)
 
- Protected Member Functions inherited from System::Object
template<class Container , typename Value = typename Container::value_type>
std::enable_if<!System::IsSmartPtr< Value >::value &&!System::detail::is_a< Value, std::pair >::value, void >::type PopulateSharedMembers (Object::shared_members_type &, const char *, Container &)
 
template<class Container , typename Value = typename Container::value_type>
std::enable_if< System::IsSmartPtr< Value >::value, void >::type PopulateSharedMembers (Object::shared_members_type &data, const char *name, Container &container)
 
template<class Container , typename Value = typename Container::value_type>
std::enable_if< System::detail::is_a< Value, std::pair >::value &&!System::IsSmartPtr< typename Value::first_type >::value &&!System::IsSmartPtr< typename Value::second_type >::value, void >::type PopulateSharedMembers (Object::shared_members_type &, const char *, Container &)
 
template<class Container , typename Value = typename Container::value_type>
std::enable_if< System::detail::is_a< Value, std::pair >::value &&System::IsSmartPtr< typename Value::first_type >::value &&!System::IsSmartPtr< typename Value::second_type >::value, void >::type PopulateSharedMembers (Object::shared_members_type &data, const char *name, Container &container)
 
template<class Container , typename Value = typename Container::value_type>
std::enable_if< System::detail::is_a< Value, std::pair >::value &&!System::IsSmartPtr< typename Value::first_type >::value &&System::IsSmartPtr< typename Value::second_type >::value, void >::type PopulateSharedMembers (Object::shared_members_type &data, const char *name, Container &container)
 
template<class Container , typename Value = typename Container::value_type>
std::enable_if< System::detail::is_a< Value, std::pair >::value &&System::IsSmartPtr< typename Value::first_type >::value &&System::IsSmartPtr< typename Value::second_type >::value, void >::type PopulateSharedMembers (Object::shared_members_type &data, const char *name, Container &container)
 

Static Protected Attributes

static const double MinWidth
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Public Types inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Slides::ICell > >
typedef IEnumerator< System::SharedPtr< Aspose::Slides::ICell > > IEnumeratorType
 Enumerator type. 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::Object
template<class T >
using supports_free_pointers = decltype(__SupportsFreePointers(std::declval< T * >()))
 Checks if T type supports __FreePointers() method. More...
 
- Static Protected Member Functions inherited from Aspose::Slides::CellCollection
static bool CanReturnCell (System::SharedPtr< System::Object > obj, System::SharedPtr< System::Object > data)
 
- Static Protected Member Functions inherited from System::Object
template<class T , class Check = decltype(std::declval<T*>()->__FreePointers())>
static std::true_type __SupportsFreePointers (T *)
 Formal function for template magic to check if type T supports __FreePointers() method. More...
 
static std::false_type __SupportsFreePointers (...)
 Formal function for template magic to check if type T supports __FreePointers() method. More...
 
template<class T >
static std::enable_if< supports_free_pointers< T >::value, void >::type __DoFreePointers (T &t)
 
template<class T >
static std::enable_if<!supports_free_pointers< T >::value &&!std::is_fundamental< T >::value &&!std::is_enum< T >::value &&!std::is_const< T >::value, void >::type __DoFreePointers (const T &)
 
template<class T >
static std::enable_if<!supports_free_pointers< T >::value &&!std::is_fundamental< T >::value &&!std::is_enum< T >::value &&std::is_const< T >::value, void >::type __DoFreePointers (T &)
 
template<class T >
static std::enable_if< std::is_fundamental< T >::value||std::is_enum< T >::value, void >::type __DoFreePointers (T)
 

Detailed Description

Represents a column in a table.

Constructor & Destructor Documentation

◆ Column()

Aspose::Slides::Column::Column ( System::SharedPtr< ColumnCollection parentImmediate,
double  width 
)
protected

Member Function Documentation

◆ CopyToArrayInternal()

virtual ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Column::CopyToArrayInternal ( System::ArrayPtr< System::SharedPtr< ICell >>  array,
int32_t  destIndex 
)
protectedvirtual

◆ FindByOffset()

virtual ASPOSE_SLIDES_SHARED_API int32_t Aspose::Slides::Column::FindByOffset ( double  offset)
protectedvirtual

◆ get_ColumnIndex()

int32_t Aspose::Slides::Column::get_ColumnIndex ( )
protected

◆ get_ColumnOffset()

double Aspose::Slides::Column::get_ColumnOffset ( )
protected

◆ get_ParentColumnsCollection()

System::SharedPtr<ColumnCollection> Aspose::Slides::Column::get_ParentColumnsCollection ( )
protected

◆ get_ParentTable()

virtual ASPOSE_SLIDES_SHARED_API System::SharedPtr<Table> Aspose::Slides::Column::get_ParentTable ( )
protectedvirtual

◆ get_Width()

ASPOSE_SLIDES_SHARED_API double Aspose::Slides::Column::get_Width ( )
virtual

Returns the width of a column. Read double.

Implements Aspose::Slides::IColumn.

◆ GetCellByIndexInternal()

virtual ASPOSE_SLIDES_SHARED_API System::SharedPtr<Cell> Aspose::Slides::Column::GetCellByIndexInternal ( int32_t  index)
protectedvirtual

◆ GetCellsCount()

virtual ASPOSE_SLIDES_SHARED_API int32_t Aspose::Slides::Column::GetCellsCount ( )
protectedvirtual

◆ RequestOfWidthValidation()

void Aspose::Slides::Column::RequestOfWidthValidation ( )
protected

◆ ReturnEnumerator()

virtual ASPOSE_SLIDES_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<ICell> > > Aspose::Slides::Column::ReturnEnumerator ( )
protectedvirtual

◆ set_Width()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Column::set_Width ( double  value)
virtual

Sets the width of a column. Write double.

Implements Aspose::Slides::IColumn.

◆ SetTextFormat() [1/3]

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Column::SetTextFormat ( System::SharedPtr< IPortionFormat source)
virtual

Sets defined portion format properties to all column cells' portions.

Parameters
sourceIPortionFormat object with necessary properties set.

Implements Aspose::Slides::IBulkTextFormattable.

◆ SetTextFormat() [2/3]

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Column::SetTextFormat ( System::SharedPtr< IParagraphFormat source)
virtual

Sets defined paragraph format properties to all column cells' paragraphs.

Parameters
sourceIParagraphFormat object with necessary properties set.

Implements Aspose::Slides::IBulkTextFormattable.

◆ SetTextFormat() [3/3]

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Column::SetTextFormat ( System::SharedPtr< ITextFrameFormat source)
virtual

Sets defined text frame format properties to all column cells' text frames.

Parameters
sourceITextFrameFormat object with necessary properties set.

Implements Aspose::Slides::IBulkTextFormattable.

Member Data Documentation

◆ MinWidth

const double Aspose::Slides::Column::MinWidth
staticprotected