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
 
Field Summary
private static int areaReference
           
static NameRecord.Biff7 biff7
           
private static int cellReference
           
private  java.lang.String name
          The name
private  java.util.ArrayList ranges
          The ranges referenced by this name
private static int subExpression
           
private static int union
           
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
(package private) NameRecord(Record t, WorkbookSettings ws)
          Constructs this object from the raw data
(package private) NameRecord(Record t, WorkbookSettings ws, NameRecord.Biff7 dummy)
          Constructs this object from the raw data
 
Method Summary
 byte[] getData()
          Called when copying a sheet.
(package private)  java.lang.String getName()
          Gets the name
(package private)  NameRecord.NameRange[] getRanges()
          Gets the array of ranges for this name
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name
The name

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
Constructor Detail

NameRecord

NameRecord(Record t,
           WorkbookSettings ws)
Constructs this object from the raw data
Parameters:
t - the raw data
ws - the workbook settings

NameRecord

NameRecord(Record t,
           WorkbookSettings ws,
           NameRecord.Biff7 dummy)
Constructs this object from the raw data
Parameters:
t - the raw data
ws - the workbook settings
dummy - dummy parameter to indicate a biff7 workbook
Method Detail

getName

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

getData

public byte[] getData()
Called when copying a sheet. Just returns the raw data
Returns:
the raw data