org.apache.poi.hssf.record.formula
Class NamePtg

java.lang.Object
  |
  +--org.apache.poi.hssf.record.formula.Ptg
        |
        +--org.apache.poi.hssf.record.formula.NamePtg

public class NamePtg
extends Ptg

Author:
andy

Field Summary
static short sid
           
 
Constructor Summary
  NamePtg(byte[] data, int offset)
          Creates new NamePtg
protected NamePtg(java.lang.String name)
          Creates new NamePtg
 
Method Summary
 int getSize()
           
 java.lang.String toFormulaString()
          return a string representation of this token alone
 void writeBytes(byte[] array, int offset)
          write this Ptg to a byte array
 
Methods inherited from class org.apache.poi.hssf.record.formula.Ptg
createPtg, getBytes, toDebugString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sid

public static final short sid
Constructor Detail

NamePtg

protected NamePtg(java.lang.String name)
Creates new NamePtg

NamePtg

public NamePtg(byte[] data,
               int offset)
Creates new NamePtg
Method Detail

writeBytes

public void writeBytes(byte[] array,
                       int offset)
Description copied from class: Ptg
write this Ptg to a byte array
Overrides:
writeBytes in class Ptg

getSize

public int getSize()
Overrides:
getSize in class Ptg

toFormulaString

public java.lang.String toFormulaString()
Description copied from class: Ptg
return a string representation of this token alone
Overrides:
toFormulaString in class Ptg

jakarta-poi 1.6.0-dev

Copyright © 2002 Apache jakarta-poi project. All Rights Reserved.