Skip to content
Reference > AmiScript > Classes

XlsSpreadSheetFlexsheet

Definition

XlsSpreadSheetFlexsheet var = .... ;

Extends

Extended By

None

Description

A worksheet inside an XlsSpreadSheetBuilder. Use getValue/ setValue to read or modify cells.

Method Summary

Owner Name Return Type Description
XlsSpreadSheetFlexsheet constructor() XlsSpreadSheetFlexsheet Creates an empty Flexsheet
Object getClassName() String Returns the string name of this object's class type.
XlsSpreadSheetFlexsheet getTitle() String Gets the name of the underlying sheet
XlsSpreadSheetFlexsheet getValue(dimension) Object Gets the value of a single cell. Note that this is the underlying excel value not what excel might compute
XlsSpreadSheetFlexsheet setValue(dimension, value) Boolean Sets the value for a single cell
Object toJson() String Returns a string of a json representation of this object.

Method Definitions


constructor()

XlsSpreadSheetFlexsheet xlsspreadsheetflexsheet = new XlsSpreadSheetFlexsheet()

Description

Creates an empty Flexsheet


getClassName()

String Object::getClassName()

Description

Returns the string name of this object's class type.


getTitle()

String XlsSpreadSheetFlexsheet::getTitle()

Description

Gets the name of the underlying sheet


getValue(dimension)

Object XlsSpreadSheetFlexsheet::getValue(String dimension)

Description

Gets the value of a single cell. Note that this is the underlying excel value not what excel might compute

Parameter Definition

Name Type Description
dimension String  Excel dimension to be used (e.g. A2, C16)

setValue(dimension,value)

Boolean XlsSpreadSheetFlexsheet::setValue(String dimension, Object value)

Description

Sets the value for a single cell

Parameter Definition

Name Type Description
dimension String  Excel dimension to be applied (e.g. A2, C16)
value Object  Value to be set

toJson()

String Object::toJson()

Description

Returns a string of a json representation of this object.