Represents a cell of a table. More...

Inherits Aspose::Slides::IDOMObject, and Aspose::Slides::ICell.

Public Member Functions

double get_OffsetX () override
 Returns a distance from left side of a table to left side of a cell. Read-only double. More...
 
double get_OffsetY () override
 Returns a distance from top side of a table to top side of a cell. Read-only double. More...
 
int32_t get_FirstRowIndex () override
 Returns an index of first row, covered by the cell. Read-only int32_t. More...
 
int32_t get_FirstColumnIndex () override
 Returns an index of first column, covered by the cell. Read-only int32_t. More...
 
double get_Width () override
 Returns the width of the cell. Read-only double. More...
 
double get_Height () override
 Returns the height of the cell. Read-only double. More...
 
double get_MinimalHeight () override
 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...
 
double get_MarginLeft () override
 Returns the left margin in a TextFrame. Read double. More...
 
void set_MarginLeft (double value) override
 Sets the left margin in a TextFrame. Write double. More...
 
double get_MarginRight () override
 Returns the right margin in a TextFrame. Read double. More...
 
void set_MarginRight (double value) override
 Sets the right margin in a TextFrame. Write double. More...
 
double get_MarginTop () override
 Returns the top margin in a TextFrame. Read double. More...
 
void set_MarginTop (double value) override
 Sets the top margin in a TextFrame. Write double. More...
 
double get_MarginBottom () override
 Returns the bottom margin in a TextFrame. Read double. More...
 
void set_MarginBottom (double value) override
 Sets the bottom margin in a TextFrame. Write double. More...
 
Aspose::Slides::TextVerticalType get_TextVerticalType () override
 Returns the type of vertical text. Read Slides::TextVerticalType. More...
 
void set_TextVerticalType (Aspose::Slides::TextVerticalType value) override
 Sets the type of vertical text. Write Slides::TextVerticalType. More...
 
Aspose::Slides::TextAnchorType get_TextAnchorType () override
 Returns the text anchor type. Read Slides::TextAnchorType. More...
 
void set_TextAnchorType (Aspose::Slides::TextAnchorType value) override
 Sets the text anchor type. Write Slides::TextAnchorType. More...
 
bool get_AnchorCenter () override
 Determines whether or not text box centered inside a cell. Read bool. More...
 
void set_AnchorCenter (bool value) override
 Determines whether or not text box centered inside a cell. Write bool. More...
 
System::SharedPtr< IRowget_FirstRow () override
 Gets first row of cell. Read-only IRow. More...
 
System::SharedPtr< IColumnget_FirstColumn () override
 Gets first column of cell. Read-only IColumn. More...
 
int32_t get_ColSpan () override
 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...
 
int32_t get_RowSpan () override
 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...
 
System::SharedPtr< ITextFrameget_TextFrame () override
 Returns the text frame of a cell. Read-only ITextFrame. More...
 
System::SharedPtr< ITableget_Table () override
 Returns the parent Table object for a cell. Read-only ITable. More...
 
bool get_IsMergedCell () override
 Returns true if the cell is merged with any adjusted cell, false otherwise. Read-only bool. More...
 
System::SharedPtr< ICellFormatget_CellFormat () override
 Returns the CellFormat object that contains formatting properties for this cell. Read-only ICellFormat. More...
 
System::SharedPtr< IBaseSlideget_Slide () override
 Returns the parent slide of a cell. Read-only IBaseSlide. More...
 
System::SharedPtr< IPresentationget_Presentation () override
 Returns the parent presentation of a cell. Read-only IPresentation. More...
 
System::SharedPtr< IDOMObjectget_Parent_Immediate () override
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 
void SplitByColSpan (int32_t index) override
 Splits the cell to two cells by index of column. More...
 
void SplitByRowSpan (int32_t index) override
 Splits the cell to two cells by index of row. More...
 
void SplitByHeight (double height) override
 Splits the cell by height. More...
 
void SplitByWidth (double width) override
 Splits the cell by width. 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 reference 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 int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () 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 (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 

Protected Member Functions

virtual ~Cell ()
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer 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 ()
 Implements C# typeof(System.Object) construct. More...
 

Detailed Description

Represents a cell of a table.

Constructor & Destructor Documentation

◆ ~Cell()

virtual Aspose::Slides::Cell::~Cell ( )
protectedvirtual

Member Function Documentation

◆ get_AnchorCenter()

bool Aspose::Slides::Cell::get_AnchorCenter ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_CellFormat()

System::SharedPtr<ICellFormat> Aspose::Slides::Cell::get_CellFormat ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_ColSpan()

int32_t Aspose::Slides::Cell::get_ColSpan ( )
overridevirtual

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.

Implements Aspose::Slides::ICell.

◆ get_FirstColumn()

System::SharedPtr<IColumn> Aspose::Slides::Cell::get_FirstColumn ( )
overridevirtual

Gets first column of cell. Read-only IColumn.

Implements Aspose::Slides::ICell.

◆ get_FirstColumnIndex()

int32_t Aspose::Slides::Cell::get_FirstColumnIndex ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_FirstRow()

System::SharedPtr<IRow> Aspose::Slides::Cell::get_FirstRow ( )
overridevirtual

Gets first row of cell. Read-only IRow.

Implements Aspose::Slides::ICell.

◆ get_FirstRowIndex()

int32_t Aspose::Slides::Cell::get_FirstRowIndex ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_Height()

double Aspose::Slides::Cell::get_Height ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_IsMergedCell()

bool Aspose::Slides::Cell::get_IsMergedCell ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_MarginBottom()

double Aspose::Slides::Cell::get_MarginBottom ( )
overridevirtual

Returns the bottom margin in a TextFrame. Read double.

Implements Aspose::Slides::ICell.

◆ get_MarginLeft()

double Aspose::Slides::Cell::get_MarginLeft ( )
overridevirtual

Returns the left margin in a TextFrame. Read double.

Implements Aspose::Slides::ICell.

◆ get_MarginRight()

double Aspose::Slides::Cell::get_MarginRight ( )
overridevirtual

Returns the right margin in a TextFrame. Read double.

Implements Aspose::Slides::ICell.

◆ get_MarginTop()

double Aspose::Slides::Cell::get_MarginTop ( )
overridevirtual

Returns the top margin in a TextFrame. Read double.

Implements Aspose::Slides::ICell.

◆ get_MinimalHeight()

double Aspose::Slides::Cell::get_MinimalHeight ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_OffsetX()

double Aspose::Slides::Cell::get_OffsetX ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_OffsetY()

double Aspose::Slides::Cell::get_OffsetY ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_Parent_Immediate()

System::SharedPtr<IDOMObject> Aspose::Slides::Cell::get_Parent_Immediate ( )
overridevirtual

Returns Parent_Immediate object. Read-only IDOMObject.

Implements Aspose::Slides::IDOMObject.

◆ get_Presentation()

System::SharedPtr<IPresentation> Aspose::Slides::Cell::get_Presentation ( )
overridevirtual

Returns the parent presentation of a cell. Read-only IPresentation.

Implements Aspose::Slides::IPresentationComponent.

◆ get_RowSpan()

int32_t Aspose::Slides::Cell::get_RowSpan ( )
overridevirtual

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.

Implements Aspose::Slides::ICell.

◆ get_Slide()

System::SharedPtr<IBaseSlide> Aspose::Slides::Cell::get_Slide ( )
overridevirtual

Returns the parent slide of a cell. Read-only IBaseSlide.

Implements Aspose::Slides::ISlideComponent.

◆ get_Table()

System::SharedPtr<ITable> Aspose::Slides::Cell::get_Table ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_TextAnchorType()

Aspose::Slides::TextAnchorType Aspose::Slides::Cell::get_TextAnchorType ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_TextFrame()

System::SharedPtr<ITextFrame> Aspose::Slides::Cell::get_TextFrame ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_TextVerticalType()

Aspose::Slides::TextVerticalType Aspose::Slides::Cell::get_TextVerticalType ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ get_Width()

double Aspose::Slides::Cell::get_Width ( )
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ set_AnchorCenter()

void Aspose::Slides::Cell::set_AnchorCenter ( bool  value)
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ set_MarginBottom()

void Aspose::Slides::Cell::set_MarginBottom ( double  value)
overridevirtual

Sets the bottom margin in a TextFrame. Write double.

Implements Aspose::Slides::ICell.

◆ set_MarginLeft()

void Aspose::Slides::Cell::set_MarginLeft ( double  value)
overridevirtual

Sets the left margin in a TextFrame. Write double.

Implements Aspose::Slides::ICell.

◆ set_MarginRight()

void Aspose::Slides::Cell::set_MarginRight ( double  value)
overridevirtual

Sets the right margin in a TextFrame. Write double.

Implements Aspose::Slides::ICell.

◆ set_MarginTop()

void Aspose::Slides::Cell::set_MarginTop ( double  value)
overridevirtual

Sets the top margin in a TextFrame. Write double.

Implements Aspose::Slides::ICell.

◆ set_TextAnchorType()

void Aspose::Slides::Cell::set_TextAnchorType ( Aspose::Slides::TextAnchorType  value)
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ set_TextVerticalType()

void Aspose::Slides::Cell::set_TextVerticalType ( Aspose::Slides::TextVerticalType  value)
overridevirtual

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

Implements Aspose::Slides::ICell.

◆ SplitByColSpan()

void Aspose::Slides::Cell::SplitByColSpan ( int32_t  index)
overridevirtual

Splits the cell to two cells by index of column.

Parameters
indexIndex of column.

Implements Aspose::Slides::ICell.

◆ SplitByHeight()

void Aspose::Slides::Cell::SplitByHeight ( double  height)
overridevirtual

Splits the cell by height.

Parameters
heightHeight of a row.

Implements Aspose::Slides::ICell.

◆ SplitByRowSpan()

void Aspose::Slides::Cell::SplitByRowSpan ( int32_t  index)
overridevirtual

Splits the cell to two cells by index of row.

Parameters
indexIndex of row.

Implements Aspose::Slides::ICell.

◆ SplitByWidth()

void Aspose::Slides::Cell::SplitByWidth ( double  width)
overridevirtual

Splits the cell by width.

Parameters
widthWidth of a column.

Implements Aspose::Slides::ICell.