|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.aggregates.ColumnInfoRecordsAggregate
public class ColumnInfoRecordsAggregate
| Constructor Summary | |
|---|---|
ColumnInfoRecordsAggregate()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Performs a deep clone of the record |
void |
collapseColInfoRecords(int columnIdx)
|
void |
collapseColumn(short columnNumber)
|
static Record |
createColInfo()
creates the ColumnInfo Record and sets it to a default column/width |
void |
expandColumn(short columnNumber)
|
protected void |
fillFields(RecordInputStream in)
You never fill an aggregate |
int |
findColumnIdx(int column,
int fromIdx)
|
int |
findEndOfColumnOutlineGroup(int idx)
|
int |
findStartOfColumnOutlineGroup(int idx)
|
ColumnInfoRecord |
getColInfo(int idx)
|
java.util.Iterator |
getIterator()
|
int |
getNumColumns()
|
int |
getRecordSize()
gives the current serialized size of the record. |
short |
getSid()
It's an aggregate... |
void |
groupColumnRange(short fromColumn,
short toColumn,
boolean indent)
Creates an outline group for the specified columns. |
void |
insertColumn(ColumnInfoRecord col)
Inserts a column into the aggregate (at the end of the list). |
void |
insertColumn(int idx,
ColumnInfoRecord col)
Inserts a column into the aggregate (at the position specified by idx. |
boolean |
isColumnGroupCollapsed(int idx)
|
boolean |
isColumnGroupHiddenByParent(int idx)
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker. |
void |
setColumn(short column,
java.lang.Short xfIndex,
java.lang.Short width,
java.lang.Integer level,
java.lang.Boolean hidden,
java.lang.Boolean collapsed)
|
protected void |
validateSid(short id)
Not required by an aggregate |
ColumnInfoRecord |
writeHidden(ColumnInfoRecord columnInfo,
int idx,
boolean hidden)
|
| Methods inherited from class org.apache.poi.hssf.record.Record |
|---|
cloneViaReserialise, isInValueSection, isValue, serialize, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnInfoRecordsAggregate()
| Method Detail |
|---|
protected void fillFields(RecordInputStream in)
fillFields in class Recordin - the RecordInputstream to read the record fromprotected void validateSid(short id)
validateSid in class Recordid - alleged id for this recordpublic short getSid()
getSid in class Recordpublic int getRecordSize()
Record
getRecordSize in class Recordpublic java.util.Iterator getIterator()
public java.lang.Object clone()
clone in class Recordpublic void insertColumn(ColumnInfoRecord col)
public void insertColumn(int idx,
ColumnInfoRecord col)
idx.
public int getNumColumns()
public int serialize(int offset,
byte[] data)
serialize in class Recordoffset - offset to begin writing atdata - byte array containing instance data
public int findStartOfColumnOutlineGroup(int idx)
public int findEndOfColumnOutlineGroup(int idx)
public ColumnInfoRecord getColInfo(int idx)
public ColumnInfoRecord writeHidden(ColumnInfoRecord columnInfo,
int idx,
boolean hidden)
public boolean isColumnGroupCollapsed(int idx)
public boolean isColumnGroupHiddenByParent(int idx)
public void collapseColumn(short columnNumber)
public void expandColumn(short columnNumber)
public static Record createColInfo()
ColumnInfoRecord
public void setColumn(short column,
java.lang.Short xfIndex,
java.lang.Short width,
java.lang.Integer level,
java.lang.Boolean hidden,
java.lang.Boolean collapsed)
public int findColumnIdx(int column,
int fromIdx)
public void collapseColInfoRecords(int columnIdx)
public void groupColumnRange(short fromColumn,
short toColumn,
boolean indent)
fromColumn - group from this column (inclusive)toColumn - group to this column (inclusive)indent - if true the group will be indented by one level,
if false indenting will be removed by one level.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||