Class FormulaReference
java.lang.Object
com.independentsoft.office.drawing.extensions.FormulaReference
- All Implemented Interfaces:
IExtensionContent
Represents the formula-reference chart extension (
c15:formulaRef) that
carries the original formula of a chart data reference in a c15:sqref
child (uri {02D57815-91ED-43cb-92C2-25804820EDAC}).-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new formula reference.FormulaReference(InternalXMLStreamReader reader)Instantiates a new formula reference. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone.Gets the formula (the text of thec15:sqrefchild).voidsetFormula(String formula)Sets the formula (the text of thec15:sqrefchild).toString()
-
Field Details
-
NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
FormulaReference
public FormulaReference()Instantiates a new formula reference. -
FormulaReference
Instantiates a new formula reference.- Parameters:
reader- the reader- Throws:
XMLStreamException- the XML stream exception
-
-
Method Details
-
clone
Description copied from interface:IExtensionContentClone.- Specified by:
clonein interfaceIExtensionContent- Overrides:
clonein classObject- Returns:
- the extension content
-
toString
-
getFormula
Gets the formula (the text of thec15:sqrefchild).- Returns:
- the formula
-
setFormula
Sets the formula (the text of thec15:sqrefchild).- Parameters:
formula- the new formula
-