Inherits Object.
|
virtual intrusive_ptr< Aspose::Cells::Systems::String > | GetComment ()=0 |
| Gets the comment of the name. Only applies for Excel 2007. More...
|
|
virtual void | SetComment (intrusive_ptr< Aspose::Cells::Systems::String > value)=0 |
| Sets the comment of the name. Only applies for Excel 2007. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::String > | GetText ()=0 |
| Gets the name text of the object. More...
|
|
virtual void | SetText (intrusive_ptr< Aspose::Cells::Systems::String > value)=0 |
| Gets the name text of the object. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::String > | GetFullText ()=0 |
| Gets the name full text of the object with the scope setting. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::String > | GetRefersTo ()=0 |
| Returns or sets the formula that the name is defined to refer to, beginning with an equal sign. More...
|
|
virtual void | SetRefersTo (intrusive_ptr< Aspose::Cells::Systems::String > value)=0 |
| Returns or sets the formula that the name is defined to refer to, beginning with an equal sign. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::String > | GetR1C1RefersTo ()=0 |
| Gets a R1C1 reference of the IName More...
|
|
virtual void | SetR1C1RefersTo (intrusive_ptr< Aspose::Cells::Systems::String > value)=0 |
| Sets a R1C1 reference of the IName More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::String > | GetRefersTo (bool isR1C1, bool isLocal)=0 |
| Get the reference of this Name. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::String > | GetRefersTo (bool isR1C1, bool isLocal, Aspose::Cells::Systems::Int32 row, Aspose::Cells::Systems::Int32 column)=0 |
| Get the reference of this Name based on specified cell. More...
|
|
virtual void | SetRefersTo (intrusive_ptr< Aspose::Cells::Systems::String > refersTo, bool isR1C1, bool isLocal)=0 |
| Set the reference of this Name. More...
|
|
virtual bool | IsReferred ()=0 |
| Indicates whether this name is referred by other formulas. More...
|
|
virtual bool | IsVisible ()=0 |
| Indicates whether the name is visible. More...
|
|
virtual void | SetVisible (bool value)=0 |
| Indicates whether the name is visible. More...
|
|
virtual Aspose::Cells::Systems::Int32 | GetSheetIndex ()=0 |
| Indicates this name belongs to Workbook or Worksheet. 0 = Global name, otherwise index to sheet (one-based) More...
|
|
virtual void | SetSheetIndex (Aspose::Cells::Systems::Int32 value)=0 |
| Indicates this name belongs to Workbook or Worksheet. 0 = Global name, otherwise index to sheet (one-based) More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::String > | ToString ()=0 |
| Returns a string represents the current Range object. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::IRange * > > | GetIRanges ()=0 |
| Gets all ranges referred by this name. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::IRange * > > | GetIRanges (bool recalculate)=0 |
| Gets all ranges referred by this name. More...
|
|
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::IReferredArea * > > | GetIReferredAreas (bool recalculate)=0 |
| Gets all references referred by this name. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IRange > | GetIRange ()=0 |
| Gets the range if this name refers to a range. More...
|
|
virtual intrusive_ptr< Aspose::Cells::IRange > | GetIRange (bool recalculate)=0 |
| Gets the range if this name refers to a range More...
|
|
virtual intrusive_ptr< Aspose::Cells::IRange > | GetIRange (Aspose::Cells::Systems::Int32 sheetIndex, Aspose::Cells::Systems::Int32 row, Aspose::Cells::Systems::Int32 column)=0 |
| Gets the range if this name refers to a range. If the reference of this name is not absolute, the range may be different for different cell. More...
|
|
Represents a defined name for a range of cells.
[C++]
intrusive_ptr<Aspose::Cells::IWorksheet> worksheet = workbook->GetIWorksheets()->GetObjectByIndex(0);
intrusive_ptr<IRange> range = worksheet->GetICells()->CreateIRange(new String("B4"), new String("G14"));
range->SetName(new String("TestRange"));
workbook->Save(new String("C:\\INameTestOutput.xls"));