Cell
Contents
[
Hide
]Cell class
Represents a cell of a table.
class Cell : public Aspose::Slides::IDOMObject,
public Aspose::Slides::ICell
Methods
Method | Description |
---|---|
virtual bool Equals(ptr) | Compares objects using C# Object.Equals semantics. |
static std::enable_if<IsSmartPtr<T1>::value&&IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&) | Compares reference type objects in C# style. |
static std::enable_if<!IsSmartPtr<T1>::value&&!IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&) | Compares value type objects in C# style. |
static bool Equals(float const&, float const&) | 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. |
static bool Equals(double const&, double const&) | 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. |
virtual bool FastCast(const Details::FastRttiBase&, void **) const | For internal purposes only. |
bool get_AnchorCenter() override | Determines whether or not text box centered inside a cell. Read bool. |
System::SharedPtr<ICellFormat> get_CellFormat() override | Returns the CellFormat object that contains formatting properties for this cell. Read-only ICellFormat. |
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. |
System::SharedPtr<IColumn> get_FirstColumn() override | Gets first column of cell. Read-only IColumn. |
int32_t get_FirstColumnIndex() override | Returns an index of first column, covered by the cell. Read-only int32_t. |
System::SharedPtr<IRow> get_FirstRow() override | Gets first row of cell. Read-only IRow. |
int32_t get_FirstRowIndex() override | Returns an index of first row, covered by the cell. Read-only int32_t. |
double get_Height() override | Returns the height of the cell. Read-only double. |
bool get_IsMergedCell() override | Returns true if the cell is merged with any adjusted cell, false otherwise. Read-only bool. |
double get_MarginBottom() override | Returns the bottom margin in a TextFrame. Read double. |
double get_MarginLeft() override | Returns the left margin in a TextFrame. Read double. |
double get_MarginRight() override | Returns the right margin in a TextFrame. Read double. |
double get_MarginTop() override | Returns the top margin in a TextFrame. Read double. |
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. |
double get_OffsetX() override | Returns a distance from left side of a table to left side of a cell. Read-only double. |
double get_OffsetY() override | Returns a distance from top side of a table to top side of a cell. Read-only double. |
System::SharedPtr<IPresentation> get_Presentation() override | Returns the parent presentation of a cell. Read-only IPresentation. |
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. |
System::SharedPtr<IBaseSlide> get_Slide() override | Returns the parent slide of a cell. Read-only IBaseSlide. |
System::SharedPtr<ITable> get_Table() override | Returns the parent Table object for a cell. Read-only ITable. |
Aspose::Slides::TextAnchorType get_TextAnchorType() override | Returns the text anchor type. Read Slides::TextAnchorType. |
System::SharedPtr<ITextFrame> get_TextFrame() override | Returns the text frame of a cell. Read-only ITextFrame. |
Aspose::Slides::TextVerticalType get_TextVerticalType() override | Returns the type of vertical text. Read Slides::TextVerticalType. |
double get_Width() override | Returns the width of the cell. Read-only double. |
Detail::SmartPtrCounter * GetCounter() | Gets reference counter data structure associated with the object. |
virtual int32_t GetHashCode() const | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. |
virtual const TypeInfo& GetType() const | Gets actual type of object. Analog of C# System.Object.GetType() call. |
virtual bool Is(const TypeInfo&) const | Check if object represents an instance of type described by targetType. Analog of C# ‘is’ operator. |
void Lock() | Implements C# lock() statement locking. Call directly or use LockContext sentry object. |
virtual ptr MemberwiseClone() const | Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. |
Object() | Creates object. Initializes all internal data structures. |
Object(Object const&) | Copy constructor. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses. |
Object& operator=(Object const&) | Assignment operator. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses. |
static bool ReferenceEquals(ptr const&, ptr const&) | Compares objects by reference. |
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, T const&) | Compares objects by reference. |
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, std::nullptr_t) | Reference-compares value type object with nullptr. |
bool ReferenceEquals(String const&, std::nullptr_t) | Specialization of Object::ReferenceEquals for case of string and nullptr. |
bool ReferenceEquals(String const&, String const&) | Specialization of Object::ReferenceEquals for case of strings. |
int RemovedSharedRefs(int) | Decreases shared reference count by specified value. |
void set_AnchorCenter(bool) override | Determines whether or not text box centered inside a cell. Write bool. |
void set_MarginBottom(double) override | Sets the bottom margin in a TextFrame. Write double. |
void set_MarginLeft(double) override | Sets the left margin in a TextFrame. Write double. |
void set_MarginRight(double) override | Sets the right margin in a TextFrame. Write double. |
void set_MarginTop(double) override | Sets the top margin in a TextFrame. Write double. |
void set_TextAnchorType(Aspose::Slides::TextAnchorType) override | Sets the text anchor type. Write Slides::TextAnchorType. |
void set_TextVerticalType(Aspose::Slides::TextVerticalType) override | Sets the type of vertical text. Write Slides::TextVerticalType. |
virtual void SetTemplateWeakPtr(uint32_t) | Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. |
int SharedCount() const | Gets current value of shared reference counter. |
Object * SharedRefAdded() | Increments shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
int SharedRefRemovedSafe() | Decrements and returns shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
void SplitByColSpan(int32_t) override | Splits the cell to two cells by index of column. |
void SplitByHeight(double) override | Splits the cell by height. |
void SplitByRowSpan(int32_t) override | Splits the cell to two cells by index of row. |
void SplitByWidth(double) override | Splits the cell by width. |
virtual String ToString() const | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
static const TypeInfo& Type() | Implements C# typeof(System.Object) construct. |
void Unlock() | Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. |
Detail::SmartPtrCounter * WeakRefAdded() | Increments weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
void WeakRefRemoved() | Decrements weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector. |
virtual ~Object() | Destroys object. Frees all internal data structures. |
See Also
- Class IDOMObject
- Class ICell
- Namespace Aspose::Slides
- Library Aspose.Slides