Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.poi » hssf » record » [javadoc | source]
org.apache.cocoon.poi.hssf.record
public class: StyleRecord [javadoc | source]
java.lang.Object
   org.apache.cocoon.poi.hssf.record.Record
      org.apache.cocoon.poi.hssf.record.StyleRecord
Title: Style Record

Description: Describes a builtin to the gui or user defined style

Copyright: Copyright (c) 2001 SuperLink Software, Inc.

REFERENCE: PG 390 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)

Field Summary
public static final  short sid     
public static final  short STYLE_USER_DEFINED     
public static final  short STYLE_BUILT_IN     
Fields inherited from org.apache.cocoon.poi.hssf.record.Record:
sid
Constructor:
 public StyleRecord() 
 public StyleRecord(short id,
    short size,
    byte[] data) 
 public StyleRecord(short id,
    short size,
    byte[] data,
    int offset) 
Method from org.apache.cocoon.poi.hssf.record.StyleRecord Summary:
fillFields,   getBuiltin,   getIndex,   getName,   getNameLength,   getOutlineStyleLevel,   getSid,   getType,   getXFIndex,   serialize,   setBuiltin,   setIndex,   setName,   setNameLength,   setOutlineStyleLevel,   setType,   setXFIndex,   toString,   validateSid
Methods from org.apache.cocoon.poi.hssf.record.Record:
fillFields,   fillFields,   getRecordSize,   getSid,   isInValueSection,   isValue,   processContinueRecord,   serialize,   toString,   validateSid
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.poi.hssf.record.StyleRecord Detail:
 protected  void fillFields(byte[] data,
    short size,
    int offset) 
 public byte getBuiltin() 
    if this is a builtin style get the number of the built in style
 public short getIndex() 
    get the entire index field (including the type) (see bit getters that reference this method)
 public String getName() 
    get the style's name
 public byte getNameLength() 
    if this is a user defined record get the length of the style name
 public byte getOutlineStyleLevel() 
    get the row or column level of the style (if builtin 1||2)
 public short getSid() 
 public short getType() 
    get the type of the style (builtin or user-defined)
 public short getXFIndex() 
    get the actual index of the style extended format record
 public byte[] serialize() 
 public  void setBuiltin(byte builtin) 
    if this is a builtin style set teh number of the built in style
 public  void setIndex(short index) 
    set the entire index field (including the type) (see bit setters that reference this method)
 public  void setName(String name) 
    set the style's name
 public  void setNameLength(byte length) 
    if this is a user defined record set the length of the style name
 public  void setOutlineStyleLevel(byte level) 
    set the row or column level of the style (if builtin 1||2)
 public  void setType(short type) 
    set the type of the style (builtin or user-defined)
 public  void setXFIndex(short index) 
    set the actual index of the style extended format record
 public String toString() 
 protected  void validateSid(short id)