Spreadsheet Toolkit

corpus.excel
Class WorkSheetReference

java.lang.Object
  |
  +--corpus.excel.Component
        |
        +--corpus.excel.FormulaComponent
              |
              +--corpus.excel.WorkSheetReference
All Implemented Interfaces:
java.io.Serializable

public class WorkSheetReference
extends FormulaComponent

A component of a formula used to represent a reference to another WorkSheet

See Also:
WorkSheet, Serialized Form

Field Summary
 
Fields inherited from class corpus.excel.FormulaComponent
formula
 
Fields inherited from class corpus.excel.Component
haltOnErrors
 
Constructor Summary
WorkSheetReference(java.lang.String sheet)
           
 
Method Summary
 int length()
          Length of the parsed string.
static java.lang.String sheetNamesPattern(java.lang.String[] sheetnames)
          Turns an array of sheetnames into a regular expression string for use in parsing.
 java.lang.String toHTMLString()
          Pretty printing
 java.lang.String toString()
          Converts information about this component into a String.
 
Methods inherited from class corpus.excel.FormulaComponent
getReferingFormula, parseTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkSheetReference

public WorkSheetReference(java.lang.String sheet)
Method Detail

toHTMLString

public java.lang.String toHTMLString()
Pretty printing

Specified by:
toHTMLString in class Component

toString

public java.lang.String toString()
Description copied from class: Component
Converts information about this component into a String.

Specified by:
toString in class Component

length

public int length()
Length of the parsed string.


sheetNamesPattern

public static java.lang.String sheetNamesPattern(java.lang.String[] sheetnames)
Turns an array of sheetnames into a regular expression string for use in parsing.


Spreadsheet Toolkit

Project Home Page