Aspose::Cells::IRow Class Referenceabstract

Represents a single row in a worksheet. More...

Inherits IEnumerable, and Object.

Public Member Functions

virtual intrusive_ptr< Aspose::Cells::ICellGetICellByIndex (Aspose::Cells::Systems::Int32 index)=0
 Get the cell by specific index in the list. More...
 
virtual bool IsBlank ()=0
 Indicates whether the row contains any data More...
 
virtual intrusive_ptr< Aspose::Cells::ICellGetObjectByIndex (Aspose::Cells::Systems::Int32 column)=0
 Gets the cell. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Collections::IEnumerator > GetEnumerator ()=0
 Gets the cells enumerator More...
 
virtual intrusive_ptr< Aspose::Cells::ICellGetICellOrNull (Aspose::Cells::Systems::Int32 column)=0
 Gets the cell or null in the specific index. More...
 
virtual bool IsCollapsed ()=0
 whether the row is collapsed More...
 
virtual void SetCollapsed (bool value)=0
 whether the row is collapsed More...
 
virtual Aspose::Cells::Systems::Double GetHeight ()=0
 Gets and sets the row height in unit of Points. More...
 
virtual void SetHeight (Aspose::Cells::Systems::Double value)=0
 Gets and sets the row height in unit of Points. More...
 
virtual bool IsHidden ()=0
 Indicates whether the row is hidden. More...
 
virtual void SetHidden (bool value)=0
 Indicates whether the row is hidden. More...
 
virtual Aspose::Cells::Systems::Int32 GetIndex ()=0
 Gets the index of this row. More...
 
virtual Aspose::Cells::Systems::Byte GetGroupLevel ()=0
 Gets the group level of the row. More...
 
virtual bool IsHeightMatched ()=0
 Indicates that row height and default font height matches More...
 
virtual void SetHeightMatched (bool value)=0
 Indicates that row height and default font height matches More...
 
virtual intrusive_ptr< Aspose::Cells::IStyleGetIStyle ()=0
 Represents the style of this row. More...
 
virtual void CopySettings (intrusive_ptr< Aspose::Cells::IRow > source, bool checkStyle)=0
 Copy settings of row, such as style, height, visibility, ...etc. More...
 
virtual intrusive_ptr< Aspose::Cells::ICellGetFirstICell ()=0
 Gets the first cell object in the row. More...
 
virtual intrusive_ptr< Aspose::Cells::ICellGetFirstDataICell ()=0
 Gets the first non-blank cell in the row. More...
 
virtual intrusive_ptr< Aspose::Cells::ICellGetLastICell ()=0
 Gets the last cell object in the row. More...
 
virtual intrusive_ptr< Aspose::Cells::ICellGetLastDataICell ()=0
 Gets the last non-blank cell in the row. More...
 
virtual void ApplyIStyle (intrusive_ptr< Aspose::Cells::IStyle > style, intrusive_ptr< Aspose::Cells::IStyleFlag > flag)=0
 Applies formats for a whole row. More...
 
virtual bool Equals (intrusive_ptr< Aspose::Cells::Systems::Object > obj)=0
 Checks whether this object refers to the same row with another. More...
 
virtual bool Equals (intrusive_ptr< Aspose::Cells::IRow > row)=0
 Checks whether this object refers to the same row with another row object. More...
 
virtual void add_ref ()
 
virtual int release_ref ()
 

Detailed Description

Represents a single row in a worksheet.

Member Function Documentation

◆ add_ref()

virtual void Aspose::Cells::IRow::add_ref ( )
inlinevirtual

◆ ApplyIStyle()

virtual void Aspose::Cells::IRow::ApplyIStyle ( intrusive_ptr< Aspose::Cells::IStyle style,
intrusive_ptr< Aspose::Cells::IStyleFlag flag 
)
pure virtual

Applies formats for a whole row.

Parameters
styleThe style object which will be applied.
flagFlags which indicates applied formatting properties.

◆ CopySettings()

virtual void Aspose::Cells::IRow::CopySettings ( intrusive_ptr< Aspose::Cells::IRow source,
bool  checkStyle 
)
pure virtual

Copy settings of row, such as style, height, visibility, ...etc.

Parameters
sourcethe source row whose settings will be copied to this one
checkStylewhether check and gather style. Only takes effect and be needed when two row objects belong to different workbook and the styles of two workbooks are different.

◆ Equals() [1/2]

virtual bool Aspose::Cells::IRow::Equals ( intrusive_ptr< Aspose::Cells::Systems::Object >  obj)
pure virtual

Checks whether this object refers to the same row with another.

Parameters
objanother object
Returns
true if two objects refers to the same row.

◆ Equals() [2/2]

virtual bool Aspose::Cells::IRow::Equals ( intrusive_ptr< Aspose::Cells::IRow row)
pure virtual

Checks whether this object refers to the same row with another row object.

Parameters
rowanother row object
Returns
true if two row objects refers to the same row.

◆ GetEnumerator()

virtual intrusive_ptr<Aspose::Cells::Systems::Collections::IEnumerator> Aspose::Cells::IRow::GetEnumerator ( )
pure virtual

Gets the cells enumerator

Returns
The cells enumerator

◆ GetFirstDataICell()

virtual intrusive_ptr<Aspose::Cells::ICell> Aspose::Cells::IRow::GetFirstDataICell ( )
pure virtual

Gets the first non-blank cell in the row.

◆ GetFirstICell()

virtual intrusive_ptr<Aspose::Cells::ICell> Aspose::Cells::IRow::GetFirstICell ( )
pure virtual

Gets the first cell object in the row.

◆ GetGroupLevel()

virtual Aspose::Cells::Systems::Byte Aspose::Cells::IRow::GetGroupLevel ( )
pure virtual

Gets the group level of the row.

◆ GetHeight()

virtual Aspose::Cells::Systems::Double Aspose::Cells::IRow::GetHeight ( )
pure virtual

Gets and sets the row height in unit of Points.

◆ GetICellByIndex()

virtual intrusive_ptr<Aspose::Cells::ICell> Aspose::Cells::IRow::GetICellByIndex ( Aspose::Cells::Systems::Int32  index)
pure virtual

Get the cell by specific index in the list.

Parameters
indexThe position.
Returns
The Cell object.

◆ GetICellOrNull()

virtual intrusive_ptr<Aspose::Cells::ICell> Aspose::Cells::IRow::GetICellOrNull ( Aspose::Cells::Systems::Int32  column)
pure virtual

Gets the cell or null in the specific index.

Parameters
columnThe column index
Returns
Returns the cell object if the cell exists. Or returns null if the cell object does not exist.

◆ GetIndex()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::IRow::GetIndex ( )
pure virtual

Gets the index of this row.

◆ GetIStyle()

virtual intrusive_ptr<Aspose::Cells::IStyle> Aspose::Cells::IRow::GetIStyle ( )
pure virtual

Represents the style of this row.

You have to call Row.ApplyStyle() method to save your changing with the row style, otherwise it will not effect.

◆ GetLastDataICell()

virtual intrusive_ptr<Aspose::Cells::ICell> Aspose::Cells::IRow::GetLastDataICell ( )
pure virtual

Gets the last non-blank cell in the row.

◆ GetLastICell()

virtual intrusive_ptr<Aspose::Cells::ICell> Aspose::Cells::IRow::GetLastICell ( )
pure virtual

Gets the last cell object in the row.

◆ GetObjectByIndex()

virtual intrusive_ptr<Aspose::Cells::ICell> Aspose::Cells::IRow::GetObjectByIndex ( Aspose::Cells::Systems::Int32  column)
pure virtual

Gets the cell.

Parameters
columnThe column index
Returns

◆ IsBlank()

virtual bool Aspose::Cells::IRow::IsBlank ( )
pure virtual

Indicates whether the row contains any data

◆ IsCollapsed()

virtual bool Aspose::Cells::IRow::IsCollapsed ( )
pure virtual

whether the row is collapsed

◆ IsHeightMatched()

virtual bool Aspose::Cells::IRow::IsHeightMatched ( )
pure virtual

Indicates that row height and default font height matches

◆ IsHidden()

virtual bool Aspose::Cells::IRow::IsHidden ( )
pure virtual

Indicates whether the row is hidden.

◆ release_ref()

virtual int Aspose::Cells::IRow::release_ref ( )
inlinevirtual

◆ SetCollapsed()

virtual void Aspose::Cells::IRow::SetCollapsed ( bool  value)
pure virtual

whether the row is collapsed

◆ SetHeight()

virtual void Aspose::Cells::IRow::SetHeight ( Aspose::Cells::Systems::Double  value)
pure virtual

Gets and sets the row height in unit of Points.

◆ SetHeightMatched()

virtual void Aspose::Cells::IRow::SetHeightMatched ( bool  value)
pure virtual

Indicates that row height and default font height matches

◆ SetHidden()

virtual void Aspose::Cells::IRow::SetHidden ( bool  value)
pure virtual

Indicates whether the row is hidden.