Aspose::Slides::Charts::IChartDataCell Class Referenceabstract

Represents cell for chart data. More...

Inherits System::Object.

Inherited by Aspose::Slides::Charts::ChartDataCell.

Public Member Functions

virtual int32_t get_Row ()=0
 Returns the index of the row of worksheet in which the cell is located. Read-only int32_t. More...
 
virtual int32_t get_Column ()=0
 Returns the index of the column of worksheet in which the cell is located. Read-only int32_t. More...
 
virtual System::SharedPtr< System::Objectget_Value ()=0
 Gets the value. Read System::Object. More...
 
virtual void set_Value (System::SharedPtr< System::Object > value)=0
 Sets the value. Write System::Object. More...
 
virtual System::String get_Formula ()=0
 Gets the formula in A1-style. More...
 
virtual void set_Formula (System::String value)=0
 Sets the formula in A1-style. More...
 
virtual System::String get_R1C1Formula ()=0
 Gets the formula in R1C1-style. More...
 
virtual void set_R1C1Formula (System::String value)=0
 Sets the formula in R1C1-style. More...
 
virtual System::SharedPtr< IChartDataWorksheetget_ChartDataWorksheet ()=0
 Gets the worksheet. Read-only Aspose::Slides::Charts::IChartDataWorksheet. More...
 
virtual bool get_IsHidden ()=0
 Determines whether the cell is hidden. Read-only bool. More...
 
virtual System::String get_CustomNumberFormat ()=0
 Gets the custom display format of numbers and dates. If value is empty will be used PresetNumberFormat value. Read System::String. More...
 
virtual void set_CustomNumberFormat (System::String value)=0
 Sets the custom display format of numbers and dates. If value is empty will be used PresetNumberFormat value. Write System::String. More...
 
virtual uint8_t get_PresetNumberFormat ()=0
 Gets the built-in display format of numbers and dates. Preset number must be in [0..22] or [37..49]". Read <see cref="uint8_t">. More...
 
virtual void set_PresetNumberFormat (uint8_t value)=0
 Sets the built-in display format of numbers and dates. Preset number must be in [0..22] or [37..49]". Write <see cref="uint8_t">. 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 refernce 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 int 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 (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. 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 ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Detailed Description

Represents cell for chart data.

Member Function Documentation

◆ get_ChartDataWorksheet()

virtual System::SharedPtr<IChartDataWorksheet> Aspose::Slides::Charts::IChartDataCell::get_ChartDataWorksheet ( )
pure virtual

◆ get_Column()

virtual int32_t Aspose::Slides::Charts::IChartDataCell::get_Column ( )
pure virtual

Returns the index of the column of worksheet in which the cell is located. Read-only int32_t.

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ get_CustomNumberFormat()

virtual System::String Aspose::Slides::Charts::IChartDataCell::get_CustomNumberFormat ( )
pure virtual

Gets the custom display format of numbers and dates. If value is empty will be used PresetNumberFormat value. Read System::String.

Exceptions
System::ArgumentNullExceptionThrown if value is null.

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ get_Formula()

virtual System::String Aspose::Slides::Charts::IChartDataCell::get_Formula ( )
pure virtual

Gets the formula in A1-style.

auto cell = workbook->GetCell(0, u"B2");
cell->set_Formula(u"1 + SUM(F2:H5)");

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ get_IsHidden()

virtual bool Aspose::Slides::Charts::IChartDataCell::get_IsHidden ( )
pure virtual

Determines whether the cell is hidden. Read-only bool.

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ get_PresetNumberFormat()

virtual uint8_t Aspose::Slides::Charts::IChartDataCell::get_PresetNumberFormat ( )
pure virtual

Gets the built-in display format of numbers and dates. Preset number must be in [0..22] or [37..49]". Read <see cref="uint8_t">.

0 General
1 0
2 0.00
3 #,##0
4 #,##0.00
5 $#,##0;$-#,##0
6 $#,##0;[Red]$-#,##0
7 $#,##0.00;$-#,##0.00
8 $#,##0.00;[Red]$-#,##0.00
9 0%
10 0.00%
11 0.00E+00
12 # ?/?
13 # /
14 m/d/yy
15 d-mmm-yy
16 d-mmm
17 mmm-yy
18 h:mm AM/PM
19 h:mm:ss AM/PM
20 h:mm
21 h:mm:ss
22 m/d/yy h:mm
37 #,##0;-#,##0
38 #,##0;[Red]-#,##0
39 #,##0.00;-#,##0.00
40 #,##0.00;[Red]-#,##0.00
41 _ * #,##0_ ;_ * "_ ;_ @_
42 _ $* #,##0_ ;_ $* "_ ;_ @_
43 _ * #,##0.00_ ;_ * "??_ ;_ @_
44 _ $* #,##0.00_ ;_ $* "??_ ;_ @_
45 mm:ss
46 h :mm:ss
47 mm:ss.0
48 ##0.0E+00
49 @

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ get_R1C1Formula()

virtual System::String Aspose::Slides::Charts::IChartDataCell::get_R1C1Formula ( )
pure virtual

Gets the formula in R1C1-style.

auto cell = workbook->GetCell(0, u"C2");
cell->set_R1C1Formula(u"MAX(R2C6:R5C8) / 3");

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ get_Row()

virtual int32_t Aspose::Slides::Charts::IChartDataCell::get_Row ( )
pure virtual

Returns the index of the row of worksheet in which the cell is located. Read-only int32_t.

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ get_Value()

virtual System::SharedPtr<System::Object> Aspose::Slides::Charts::IChartDataCell::get_Value ( )
pure virtual

Gets the value. Read System::Object.

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ set_CustomNumberFormat()

virtual void Aspose::Slides::Charts::IChartDataCell::set_CustomNumberFormat ( System::String  value)
pure virtual

Sets the custom display format of numbers and dates. If value is empty will be used PresetNumberFormat value. Write System::String.

Exceptions
System::ArgumentNullExceptionThrown if value is null.

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ set_Formula()

virtual void Aspose::Slides::Charts::IChartDataCell::set_Formula ( System::String  value)
pure virtual

Sets the formula in A1-style.

auto cell = workbook->GetCell(0, u"B2");
cell->set_Formula(u"1 + SUM(F2:H5)");

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ set_PresetNumberFormat()

virtual void Aspose::Slides::Charts::IChartDataCell::set_PresetNumberFormat ( uint8_t  value)
pure virtual

Sets the built-in display format of numbers and dates. Preset number must be in [0..22] or [37..49]". Write <see cref="uint8_t">.

0 General
1 0
2 0.00
3 #,##0
4 #,##0.00
5 $#,##0;$-#,##0
6 $#,##0;[Red]$-#,##0
7 $#,##0.00;$-#,##0.00
8 $#,##0.00;[Red]$-#,##0.00
9 0%
10 0.00%
11 0.00E+00
12 # ?/?
13 # /
14 m/d/yy
15 d-mmm-yy
16 d-mmm
17 mmm-yy
18 h:mm AM/PM
19 h:mm:ss AM/PM
20 h:mm
21 h:mm:ss
22 m/d/yy h:mm
37 #,##0;-#,##0
38 #,##0;[Red]-#,##0
39 #,##0.00;-#,##0.00
40 #,##0.00;[Red]-#,##0.00
41 _ * #,##0_ ;_ * "_ ;_ @_
42 _ $* #,##0_ ;_ $* "_ ;_ @_
43 _ * #,##0.00_ ;_ * "??_ ;_ @_
44 _ $* #,##0.00_ ;_ $* "??_ ;_ @_
45 mm:ss
46 h :mm:ss
47 mm:ss.0
48 ##0.0E+00
49 @

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ set_R1C1Formula()

virtual void Aspose::Slides::Charts::IChartDataCell::set_R1C1Formula ( System::String  value)
pure virtual

Sets the formula in R1C1-style.

auto cell = workbook->GetCell(0, u"C2");
cell->set_R1C1Formula(u"MAX(R2C6:R5C8) / 3");

Implemented in Aspose::Slides::Charts::ChartDataCell.

◆ set_Value()

virtual void Aspose::Slides::Charts::IChartDataCell::set_Value ( System::SharedPtr< System::Object value)
pure virtual

Sets the value. Write System::Object.

Implemented in Aspose::Slides::Charts::ChartDataCell.