IStringChartValue

All Implemented Interfaces: com.aspose.slides.IMultipleCellChartValue

public interface IStringChartValue extends IMultipleCellChartValue

Represent string value which can be stored in pptx presentation document in two ways: 1) in cell/cells of workbook related to chart; 2) as literal value.

Methods

Method Description
getAsLiteralString() Returns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals.
setAsLiteralString(String value) Returns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals.
toString() Returns string representation.
setFromOneCell(IChartDataCell cell) Sets value from specified cell.
getCellsAddressInWorkbook() If DataSourceType property is DataSourceType.Worksheet then this method returns address of the cells in workbook which represent the string data.

getAsLiteralString()

public abstract String getAsLiteralString()

Returns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals. Read/write String.

Returns: java.lang.String

setAsLiteralString(String value)

public abstract void setAsLiteralString(String value)

Returns or sets the literal string if DataSourceType property is DataSourceType.StringLiterals. Read/write String.

Parameters:

Parameter Type Description
value java.lang.String

toString()

public abstract String toString()

Returns string representation.

Returns: java.lang.String - String representation of a value String

setFromOneCell(IChartDataCell cell)

public abstract void setFromOneCell(IChartDataCell cell)

Sets value from specified cell.

Parameters:

Parameter Type Description
cell IChartDataCell Cell.

getCellsAddressInWorkbook()

public abstract String getCellsAddressInWorkbook()

If DataSourceType property is DataSourceType.Worksheet then this method returns address of the cells in workbook which represent the string data. Otherwise return empty string.

Returns: java.lang.String - String value String