Aspose::Slides::ICell Class Referenceabstract

Represents a cell in a table. More...

Inherits Aspose::Slides::ISlideComponent.

Inherited by Aspose::Slides::Cell.

Public Member Functions

virtual double get_OffsetX ()=0
 Returns a distance from left side of a table to left side of a cell. Read-only double. More...
 
virtual double get_OffsetY ()=0
 Returns a distance from top side of a table to top side of a cell. Read-only double. More...
 
virtual int32_t get_FirstRowIndex ()=0
 Returns an index of first row, covered by the cell. Read-only int32_t. More...
 
virtual int32_t get_FirstColumnIndex ()=0
 Returns an index of first column, covered by the cell. Read-only int32_t. More...
 
virtual double get_Width ()=0
 Returns the width of the cell. Read-only double. More...
 
virtual double get_Height ()=0
 Returns the height of the cell. Read-only double. More...
 
virtual double get_MinimalHeight ()=0
 Returns the minimum height of a cell. This is a sum of minimal heights of all rows cowered by the cell. Read-only double. More...
 
virtual double get_MarginLeft ()=0
 Returns the left margin in a TextFrame. Read double. More...
 
virtual void set_MarginLeft (double value)=0
 Sets the left margin in a TextFrame. Write double. More...
 
virtual double get_MarginRight ()=0
 Returns the right margin in a TextFrame. Read double. More...
 
virtual void set_MarginRight (double value)=0
 Sets the right margin in a TextFrame. Write double. More...
 
virtual double get_MarginTop ()=0
 Returns the top margin in a TextFrame. Read double. More...
 
virtual void set_MarginTop (double value)=0
 Sets the top margin in a TextFrame. Write double. More...
 
virtual double get_MarginBottom ()=0
 Returns the bottom margin in a TextFrame. Read double. More...
 
virtual void set_MarginBottom (double value)=0
 Sets the bottom margin in a TextFrame. Write double. More...
 
virtual System::SharedPtr< IFillFormatget_FillFormat ()=0
 Returns a cell fill properties object. Read-only IFillFormat. More...
 
virtual System::SharedPtr< ILineFormatget_BorderLeft ()=0
 Returns a left border line properties object. Read-only ILineFormat. More...
 
virtual System::SharedPtr< ILineFormatget_BorderTop ()=0
 Returns a top border line properties object. Read-only ILineFormat. More...
 
virtual System::SharedPtr< ILineFormatget_BorderRight ()=0
 Returns a right border line properties object. Read-only ILineFormat. More...
 
virtual System::SharedPtr< ILineFormatget_BorderBottom ()=0
 Returns a bottom border line properties object. Read-only ILineFormat. More...
 
virtual System::SharedPtr< ILineFormatget_BorderDiagonalDown ()=0
 Returns a top-left to bottom-right diagonal line properties object. Read-only ILineFormat. More...
 
virtual System::SharedPtr< ILineFormatget_BorderDiagonalUp ()=0
 Returns a bottom-left to top-right diagonal line properties object. Read-only ILineFormat. More...
 
virtual Aspose::Slides::TextVerticalType get_TextVerticalType ()=0
 Returns the type of vertical text. Read Slides::TextVerticalType. More...
 
virtual void set_TextVerticalType (Aspose::Slides::TextVerticalType value)=0
 Sets the type of vertical text. Write Slides::TextVerticalType. More...
 
virtual Aspose::Slides::TextAnchorType get_TextAnchorType ()=0
 Returns the text anchor type. Read Slides::TextAnchorType. More...
 
virtual void set_TextAnchorType (Aspose::Slides::TextAnchorType value)=0
 Sets the text anchor type. Write Slides::TextAnchorType. More...
 
virtual bool get_AnchorCenter ()=0
 Determines whether or not text box centered inside a cell. Read bool. More...
 
virtual void set_AnchorCenter (bool value)=0
 Determines whether or not text box centered inside a cell. Write bool. More...
 
virtual System::SharedPtr< IColumnget_FirstColumn ()=0
 Gets first column of cell. Read-only IColumn. More...
 
virtual System::SharedPtr< IRowget_FirstRow ()=0
 Gets first row of cell. Read-only IRow. More...
 
virtual int32_t get_ColSpan ()=0
 Returns the number of grid columns in the parent table's table grid which shall be spanned by the current cell. This property allows cells to have the appearance of being merged, as they span vertical boundaries of other cells in the table. Read-only int32_t. More...
 
virtual int32_t get_RowSpan ()=0
 Returns the number of rows that a merged cell spans. This is used in combination with the vMerge attribute on other cells in order to specify the beginning cell of a horizontal merge. Read-only int32_t. More...
 
virtual System::SharedPtr< ITextFrameget_TextFrame ()=0
 Returns the text frame of a cell. Read-only ITextFrame. More...
 
virtual System::SharedPtr< ITableget_Table ()=0
 Returns the parent Table object for a cell. Read-only ITable. More...
 
virtual bool get_IsMergedCell ()=0
 Returns true if the cell is merged with any adjusted cell, false otherwise. Read-only bool. More...
 
virtual System::SharedPtr< ICellFormatget_CellFormat ()=0
 Returns the CellFormat object that contains formatting properties for this cell. Read-only ICellFormat. More...
 
virtual void SplitByColSpan (int32_t index)=0
 Splits the cell to two cells by index of column. More...
 
virtual void SplitByRowSpan (int32_t index)=0
 Splits the cell to two cells by index of row. More...
 
virtual void SplitByHeight (double height)=0
 Splits the cell by height. More...
 
virtual void SplitByWidth (double width)=0
 Splits the cell by width. More...
 
- Public Member Functions inherited from Aspose::Slides::ISlideComponent
virtual System::SharedPtr< IBaseSlideget_Slide ()=0
 Returns the base slide. Read-only IBaseSlide. More...
 
- Public Member Functions inherited from Aspose::Slides::IPresentationComponent
virtual System::SharedPtr< IPresentationget_Presentation ()=0
 Returns the presentation. Read-only IPresentation. More...
 
- 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...
 
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...
 
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...
 
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)
 

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

Represents a cell in a table.

Member Function Documentation

◆ get_AnchorCenter()

virtual bool Aspose::Slides::ICell::get_AnchorCenter ( )
pure virtual

Determines whether or not text box centered inside a cell. Read bool.

Implemented in Aspose::Slides::Cell.

◆ get_BorderBottom()

virtual System::SharedPtr<ILineFormat> Aspose::Slides::ICell::get_BorderBottom ( )
pure virtual

Returns a bottom border line properties object. Read-only ILineFormat.

Deprecated:
Use ICell.CellFormat.BorderBottom instead. The property will be removed after release of version 20.8.

Implemented in Aspose::Slides::Cell.

◆ get_BorderDiagonalDown()

virtual System::SharedPtr<ILineFormat> Aspose::Slides::ICell::get_BorderDiagonalDown ( )
pure virtual

Returns a top-left to bottom-right diagonal line properties object. Read-only ILineFormat.

Deprecated:
Use ICell.CellFormat.BorderDiagonalDown instead. The property will be removed after release of version 20.8.

Implemented in Aspose::Slides::Cell.

◆ get_BorderDiagonalUp()

virtual System::SharedPtr<ILineFormat> Aspose::Slides::ICell::get_BorderDiagonalUp ( )
pure virtual

Returns a bottom-left to top-right diagonal line properties object. Read-only ILineFormat.

Deprecated:
Use ICell.CellFormat.BorderDiagonalUp instead. The property will be removed after release of version 20.8.

Implemented in Aspose::Slides::Cell.

◆ get_BorderLeft()

virtual System::SharedPtr<ILineFormat> Aspose::Slides::ICell::get_BorderLeft ( )
pure virtual

Returns a left border line properties object. Read-only ILineFormat.

Deprecated:
Use ICell.CellFormat.BorderLeft instead. The property will be removed after release of version 20.8.

Implemented in Aspose::Slides::Cell.

◆ get_BorderRight()

virtual System::SharedPtr<ILineFormat> Aspose::Slides::ICell::get_BorderRight ( )
pure virtual

Returns a right border line properties object. Read-only ILineFormat.

Deprecated:
Use ICell.CellFormat.BorderRight instead. The property will be removed after release of version 20.8.

Implemented in Aspose::Slides::Cell.

◆ get_BorderTop()

virtual System::SharedPtr<ILineFormat> Aspose::Slides::ICell::get_BorderTop ( )
pure virtual

Returns a top border line properties object. Read-only ILineFormat.

Deprecated:
Use ICell.CellFormat.BorderTop instead. The property will be removed after release of version 20.8.

Implemented in Aspose::Slides::Cell.

◆ get_CellFormat()

virtual System::SharedPtr<ICellFormat> Aspose::Slides::ICell::get_CellFormat ( )
pure virtual

Returns the CellFormat object that contains formatting properties for this cell. Read-only ICellFormat.

Implemented in Aspose::Slides::Cell.

◆ get_ColSpan()

virtual int32_t Aspose::Slides::ICell::get_ColSpan ( )
pure virtual

Returns the number of grid columns in the parent table's table grid which shall be spanned by the current cell. This property allows cells to have the appearance of being merged, as they span vertical boundaries of other cells in the table. Read-only int32_t.

Implemented in Aspose::Slides::Cell.

◆ get_FillFormat()

virtual System::SharedPtr<IFillFormat> Aspose::Slides::ICell::get_FillFormat ( )
pure virtual

Returns a cell fill properties object. Read-only IFillFormat.

Deprecated:
Use ICell.CellFormat.FillFormat instead. The property will be removed after release of version 20.8.

Implemented in Aspose::Slides::Cell.

◆ get_FirstColumn()

virtual System::SharedPtr<IColumn> Aspose::Slides::ICell::get_FirstColumn ( )
pure virtual

Gets first column of cell. Read-only IColumn.

Implemented in Aspose::Slides::Cell.

◆ get_FirstColumnIndex()

virtual int32_t Aspose::Slides::ICell::get_FirstColumnIndex ( )
pure virtual

Returns an index of first column, covered by the cell. Read-only int32_t.

Implemented in Aspose::Slides::Cell.

◆ get_FirstRow()

virtual System::SharedPtr<IRow> Aspose::Slides::ICell::get_FirstRow ( )
pure virtual

Gets first row of cell. Read-only IRow.

Implemented in Aspose::Slides::Cell.

◆ get_FirstRowIndex()

virtual int32_t Aspose::Slides::ICell::get_FirstRowIndex ( )
pure virtual

Returns an index of first row, covered by the cell. Read-only int32_t.

Implemented in Aspose::Slides::Cell.

◆ get_Height()

virtual double Aspose::Slides::ICell::get_Height ( )
pure virtual

Returns the height of the cell. Read-only double.

Implemented in Aspose::Slides::Cell.

◆ get_IsMergedCell()

virtual bool Aspose::Slides::ICell::get_IsMergedCell ( )
pure virtual

Returns true if the cell is merged with any adjusted cell, false otherwise. Read-only bool.

Implemented in Aspose::Slides::Cell.

◆ get_MarginBottom()

virtual double Aspose::Slides::ICell::get_MarginBottom ( )
pure virtual

Returns the bottom margin in a TextFrame. Read double.

Implemented in Aspose::Slides::Cell.

◆ get_MarginLeft()

virtual double Aspose::Slides::ICell::get_MarginLeft ( )
pure virtual

Returns the left margin in a TextFrame. Read double.

Implemented in Aspose::Slides::Cell.

◆ get_MarginRight()

virtual double Aspose::Slides::ICell::get_MarginRight ( )
pure virtual

Returns the right margin in a TextFrame. Read double.

Implemented in Aspose::Slides::Cell.

◆ get_MarginTop()

virtual double Aspose::Slides::ICell::get_MarginTop ( )
pure virtual

Returns the top margin in a TextFrame. Read double.

Implemented in Aspose::Slides::Cell.

◆ get_MinimalHeight()

virtual double Aspose::Slides::ICell::get_MinimalHeight ( )
pure virtual

Returns the minimum height of a cell. This is a sum of minimal heights of all rows cowered by the cell. Read-only double.

Implemented in Aspose::Slides::Cell.

◆ get_OffsetX()

virtual double Aspose::Slides::ICell::get_OffsetX ( )
pure virtual

Returns a distance from left side of a table to left side of a cell. Read-only double.

Implemented in Aspose::Slides::Cell.

◆ get_OffsetY()

virtual double Aspose::Slides::ICell::get_OffsetY ( )
pure virtual

Returns a distance from top side of a table to top side of a cell. Read-only double.

Implemented in Aspose::Slides::Cell.

◆ get_RowSpan()

virtual int32_t Aspose::Slides::ICell::get_RowSpan ( )
pure virtual

Returns the number of rows that a merged cell spans. This is used in combination with the vMerge attribute on other cells in order to specify the beginning cell of a horizontal merge. Read-only int32_t.

Implemented in Aspose::Slides::Cell.

◆ get_Table()

virtual System::SharedPtr<ITable> Aspose::Slides::ICell::get_Table ( )
pure virtual

Returns the parent Table object for a cell. Read-only ITable.

Implemented in Aspose::Slides::Cell.

◆ get_TextAnchorType()

virtual Aspose::Slides::TextAnchorType Aspose::Slides::ICell::get_TextAnchorType ( )
pure virtual

Returns the text anchor type. Read Slides::TextAnchorType.

Implemented in Aspose::Slides::Cell.

◆ get_TextFrame()

virtual System::SharedPtr<ITextFrame> Aspose::Slides::ICell::get_TextFrame ( )
pure virtual

Returns the text frame of a cell. Read-only ITextFrame.

Implemented in Aspose::Slides::Cell.

◆ get_TextVerticalType()

virtual Aspose::Slides::TextVerticalType Aspose::Slides::ICell::get_TextVerticalType ( )
pure virtual

Returns the type of vertical text. Read Slides::TextVerticalType.

Implemented in Aspose::Slides::Cell.

◆ get_Width()

virtual double Aspose::Slides::ICell::get_Width ( )
pure virtual

Returns the width of the cell. Read-only double.

Implemented in Aspose::Slides::Cell.

◆ set_AnchorCenter()

virtual void Aspose::Slides::ICell::set_AnchorCenter ( bool  value)
pure virtual

Determines whether or not text box centered inside a cell. Write bool.

Implemented in Aspose::Slides::Cell.

◆ set_MarginBottom()

virtual void Aspose::Slides::ICell::set_MarginBottom ( double  value)
pure virtual

Sets the bottom margin in a TextFrame. Write double.

Implemented in Aspose::Slides::Cell.

◆ set_MarginLeft()

virtual void Aspose::Slides::ICell::set_MarginLeft ( double  value)
pure virtual

Sets the left margin in a TextFrame. Write double.

Implemented in Aspose::Slides::Cell.

◆ set_MarginRight()

virtual void Aspose::Slides::ICell::set_MarginRight ( double  value)
pure virtual

Sets the right margin in a TextFrame. Write double.

Implemented in Aspose::Slides::Cell.

◆ set_MarginTop()

virtual void Aspose::Slides::ICell::set_MarginTop ( double  value)
pure virtual

Sets the top margin in a TextFrame. Write double.

Implemented in Aspose::Slides::Cell.

◆ set_TextAnchorType()

virtual void Aspose::Slides::ICell::set_TextAnchorType ( Aspose::Slides::TextAnchorType  value)
pure virtual

Sets the text anchor type. Write Slides::TextAnchorType.

Implemented in Aspose::Slides::Cell.

◆ set_TextVerticalType()

virtual void Aspose::Slides::ICell::set_TextVerticalType ( Aspose::Slides::TextVerticalType  value)
pure virtual

Sets the type of vertical text. Write Slides::TextVerticalType.

Implemented in Aspose::Slides::Cell.

◆ SplitByColSpan()

virtual void Aspose::Slides::ICell::SplitByColSpan ( int32_t  index)
pure virtual

Splits the cell to two cells by index of column.

Parameters
indexIndex of column.

Implemented in Aspose::Slides::Cell.

◆ SplitByHeight()

virtual void Aspose::Slides::ICell::SplitByHeight ( double  height)
pure virtual

Splits the cell by height.

Parameters
heightHeight of a row.

Implemented in Aspose::Slides::Cell.

◆ SplitByRowSpan()

virtual void Aspose::Slides::ICell::SplitByRowSpan ( int32_t  index)
pure virtual

Splits the cell to two cells by index of row.

Parameters
indexIndex of row.

Implemented in Aspose::Slides::Cell.

◆ SplitByWidth()

virtual void Aspose::Slides::ICell::SplitByWidth ( double  width)
pure virtual

Splits the cell by width.

Parameters
widthWidth of a column.

Implemented in Aspose::Slides::Cell.