jxl.read.biff
Class NameRecord

java.lang.Object
  extended byjxl.biff.RecordData
      extended byjxl.read.biff.NameRecord

public class NameRecord
extends RecordData

Holds an excel name record, and the details of the cells/ranges it refers to


Nested Class Summary
 class NameRecord.NameRange
          A nested class to hold range information
 
Field Summary
static jxl.read.biff.NameRecord.Biff7 biff7
           
 
Method Summary
 byte[] getData()
          Called when copying a sheet.
 java.lang.String getName()
          Gets the name
 NameRecord.NameRange[] getRanges()
          Gets the array of ranges for this name.
 int getSheetRef()
          The 0-based index sheet reference for a record name 0 is for a global reference
 boolean isBiff8()
          Called when copying to determine whether this is a biff8 name
 void setSheetRef(int i)
          Set the index sheet reference for a record name 0 is for a global reference
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

biff7

public static jxl.read.biff.NameRecord.Biff7 biff7
Method Detail

getName

public java.lang.String getName()
Gets the name

Returns:
the strings

getRanges

public NameRecord.NameRange[] getRanges()
Gets the array of ranges for this name. This method is public as it is used from the writable side when copying ranges

Returns:
the ranges

getSheetRef

public int getSheetRef()
The 0-based index sheet reference for a record name 0 is for a global reference

Returns:
the sheet reference for name formula

setSheetRef

public void setSheetRef(int i)
Set the index sheet reference for a record name 0 is for a global reference


getData

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

Returns:
the raw data

isBiff8

public boolean isBiff8()
Called when copying to determine whether this is a biff8 name

Returns:
TRUE if this is a biff8 name record, FALSE otherwise