Inherits Object.
|
virtual void | Clear ()=0 |
| Clear all settings. More...
|
|
virtual bool | HasHeaders ()=0 |
| Represents whether the range has headers. More...
|
|
virtual void | SetHasHeaders (bool value)=0 |
| Represents whether the range has headers. More...
|
|
virtual void | AddKey (Aspose::Cells::Systems::Int32 key, Aspose::Cells::SortOrder order)=0 |
| Adds sorted column index and sort order. More...
|
|
virtual void | AddKey (Aspose::Cells::Systems::Int32 key, Aspose::Cells::SortOrder order, intrusive_ptr< Aspose::Cells::Systems::String > customList)=0 |
| Adds sorted column index and sort order with custom sort list. More...
|
|
virtual void | AddKey (Aspose::Cells::Systems::Int32 key, Aspose::Cells::SortOnType type, Aspose::Cells::SortOrder order, intrusive_ptr< Aspose::Cells::Systems::Object > customList)=0 |
| Adds sorted column index and sort order with custom sort list. More...
|
|
virtual void | AddKey (Aspose::Cells::Systems::Int32 key, Aspose::Cells::SortOrder order, intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::String *>> customList)=0 |
| Adds sorted column index and sort order with custom sort list. More...
|
|
virtual Aspose::Cells::Systems::Int32 | GetKey1 ()=0 |
| Represents first sorted column index(absolute position, column A is 0, B is 1, ...). More...
|
|
virtual void | SetKey1 (Aspose::Cells::Systems::Int32 value)=0 |
| Represents first sorted column index(absolute position, column A is 0, B is 1, ...). More...
|
|
virtual Aspose::Cells::SortOrder | GetOrder1 ()=0 |
| Represents sort order of the first key. More...
|
|
virtual void | SetOrder1 (Aspose::Cells::SortOrder value)=0 |
| Represents sort order of the first key. More...
|
|
virtual Aspose::Cells::Systems::Int32 | GetKey2 ()=0 |
| Represents second sorted column index(absolute position, column A is 0, B is 1, ...). More...
|
|
virtual void | SetKey2 (Aspose::Cells::Systems::Int32 value)=0 |
| Represents second sorted column index(absolute position, column A is 0, B is 1, ...). More...
|
|
virtual Aspose::Cells::SortOrder | GetOrder2 ()=0 |
| Represents sort order of the second key. More...
|
|
virtual void | SetOrder2 (Aspose::Cells::SortOrder value)=0 |
| Represents sort order of the second key. More...
|
|
virtual Aspose::Cells::Systems::Int32 | GetKey3 ()=0 |
| Represents third sorted column index(absolute position, column A is 0, B is 1, ...). More...
|
|
virtual void | SetKey3 (Aspose::Cells::Systems::Int32 value)=0 |
| Represents third sorted column index(absolute position, column A is 0, B is 1, ...). More...
|
|
virtual Aspose::Cells::SortOrder | GetOrder3 ()=0 |
| Represents sort order of the third key. More...
|
|
virtual void | SetOrder3 (Aspose::Cells::SortOrder value)=0 |
| Represents sort order of the third key. More...
|
|
virtual bool | GetSortLeftToRight ()=0 |
| True means that sorting orientation is from left to right. False means that sorting orientation is from top to bottom. The default value is false. More...
|
|
virtual void | SetSortLeftToRight (bool value)=0 |
| True means that sorting orientation is from left to right. False means that sorting orientation is from top to bottom. The default value is false. More...
|
|
virtual bool | GetCaseSensitive ()=0 |
| Gets and sets whether case sensitive when comparing string. More...
|
|
virtual void | SetCaseSensitive (bool value)=0 |
| Gets and sets whether case sensitive when comparing string. More...
|
|
virtual bool | GetSortAsNumber ()=0 |
| Indicates whether sorting anything that looks like a number. More...
|
|
virtual void | SetSortAsNumber (bool value)=0 |
| Indicates whether sorting anything that looks like a number. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Int32 > > | Sort (intrusive_ptr< Aspose::Cells::ICells > cells, Aspose::Cells::Systems::Int32 startRow, Aspose::Cells::Systems::Int32 startColumn, Aspose::Cells::Systems::Int32 endRow, Aspose::Cells::Systems::Int32 endColumn)=0 |
| Sorts the data of the area. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Int32 > > | Sort (intrusive_ptr< Aspose::Cells::ICells > cells, intrusive_ptr< Aspose::Cells::ICellArea > area)=0 |
| Sort the data of the area. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Int32 > > | Sort ()=0 |
| Sort the data in the range. More...
|
|
Summary description for DataSorter.
[C++]
intrusive_ptr<IDataSorter> sorter = workbook->GetIDataSorter();
sorter->SetKey1(0);
sorter->SetKey2(1);
ca->SetstartRow(0);
ca->SetstartColumn(0);
ca->SetendRow(13);
ca->SetendColumn(1);
sorter->Sort(workbook->GetIWorksheets()->GetObjectByIndex(0)->GetICells(), ca);
workbook->Save(new String("D:\\outBook.xls"));