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)
 Copies all elements from the collection to the specified array. More...
 

Protected Member Functions

System::SharedPtr< ColumnCollectionget_ParentColumnsCollection ()
 
int32_t get_ColumnIndex ()
 
double get_ColumnOffset ()
 
virtual System::SharedPtr< Tableget_ParentTable ()
 
 Column (System::SharedPtr< ColumnCollection > parentImmediate, double width)
 
void RequestOfWidthValidation ()
 
virtual int32_t GetCellsCount ()
 
virtual System::SharedPtr< CellGetCellByIndexInternal (int32_t index)
 
virtual System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< ICell > > > ReturnEnumerator ()
 
virtual int32_t FindByOffset (double offset)
 
virtual 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)
 

Static Protected Attributes

static const double MinWidth
 

Additional Inherited Members

- Static Protected Member Functions inherited from Aspose::Slides::CellCollection
static bool CanReturnCell (System::SharedPtr< System::Object > obj, System::SharedPtr< System::Object > data)
 

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 void Aspose::Slides::Column::CopyToArrayInternal ( System::ArrayPtr< System::SharedPtr< ICell >>  array,
int32_t  destIndex 
)
protectedvirtual

◆ FindByOffset()

virtual 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 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 System::SharedPtr<Cell> Aspose::Slides::Column::GetCellByIndexInternal ( int32_t  index)
protectedvirtual

◆ GetCellsCount()

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

◆ RequestOfWidthValidation()

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

◆ ReturnEnumerator()

virtual 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