jxl.read.biff
Class NameRecord
java.lang.Object
|
+--jxl.biff.RecordData
|
+--jxl.read.biff.NameRecord
- public class NameRecord
- extends RecordData
Holds an excel name record, and the details of the cells/ranges it refers
to
Inner Class Summary |
private static class |
NameRecord.Biff7
Dummy indicators for overloading the constructor |
(package private) class |
NameRecord.NameRange
A nested class to hold range information |
Method Summary |
byte[] |
getData()
Called when copying a sheet. |
(package private) int |
getIndex()
Accessor for the index into the name table |
java.lang.String |
getName()
Gets the name |
(package private) NameRecord.NameRange[] |
getRanges()
Gets the array of ranges for this name |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
name
private java.lang.String name
- The name
index
private int index
- The 0-based index in the name table
biff7
public static NameRecord.Biff7 biff7
cellReference
private static final int cellReference
areaReference
private static final int areaReference
subExpression
private static final int subExpression
union
private static final int union
ranges
private java.util.ArrayList ranges
- The ranges referenced by this name
NameRecord
NameRecord(Record t,
WorkbookSettings ws,
int ind)
- Constructs this object from the raw data
- Parameters:
t
- the raw dataws
- the workbook settingsind
- the index in the name table
NameRecord
NameRecord(Record t,
WorkbookSettings ws,
int ind,
NameRecord.Biff7 dummy)
- Constructs this object from the raw data
- Parameters:
t
- the raw dataws
- the workbook settingsind
- the index in the name tabledummy
- dummy parameter to indicate a biff7 workbook
getName
public java.lang.String getName()
- Gets the name
- Returns:
- the strings
getRanges
NameRecord.NameRange[] getRanges()
- Gets the array of ranges for this name
- Returns:
- the ranges
getIndex
int getIndex()
- Accessor for the index into the name table
- Returns:
- the 0-based index into the name table
getData
public byte[] getData()
- Called when copying a sheet. Just returns the raw data
- Returns:
- the raw data