The other two classes just specifically set the SIDS for record creation.
REFERENCE: Microsoft Excel SDK page 322 and 420
HorizontalPageBreakRecord, VerticalPageBreakRecord
| Modifier and Type | Class and Description |
|---|---|
| public static class | PageBreakRecord.
Since both records store 2byte integers (short), no point in differentiating it in the records. |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final ArrayList | |
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | addBreak(int
Depending on sid, will determine row or column to put page break (zero-based) main, int No user-interface to set (defaults to minimum, 0) subFrom, int No user-interface to set subTo)Adds the page break at the specified parameters |
| public abstract PageBreakRecord | copy()
Redeclares org. Implements abstract org.
|
| public final PageBreakRecord. | Returns: The Break or null if no break exists at the row/col specified.FIXME: Document this! main)Retrieves the region at the row/column indicated |
| public final int[] | |
| public final Iterator | |
| public final Spliterator | |
| protected int | |
| public Map | |
| public int | |
| private void | |
| public boolean | |
| public final void | |
| public final void | serialize(LittleEndianOutput
the output object out)Implements abstract org. Write the data content of this BIFF record. |
| _breakMap | back to summary |
|---|---|
| private final Map<Integer, PageBreakRecord. | |
| _breaks | back to summary |
|---|---|
| private final ArrayList<PageBreakRecord. | |
| EMPTY_INT_ARRAY | back to summary |
|---|---|
| private static final int[] EMPTY_INT_ARRAY | |
| PageBreakRecord | back to summary |
|---|---|
| protected PageBreakRecord() | |
| PageBreakRecord | back to summary |
|---|---|
| protected PageBreakRecord(PageBreakRecord other) | |
| PageBreakRecord | back to summary |
|---|---|
| protected PageBreakRecord(RecordInputStream in) | |
| addBreak | back to summary |
|---|---|
| public void addBreak(int main, int subFrom, int subTo) Adds the page break at the specified parameters
| |
| copy | back to summary |
|---|---|
| public abstract PageBreakRecord copy() Redeclares org. Implements abstract org.
| |
| getBreak | back to summary |
|---|---|
| public final PageBreakRecord. Retrieves the region at the row/column indicated
| |
| getBreaks | back to summary |
|---|---|
| public final int[] getBreaks() | |
| getBreaksIterator | back to summary |
|---|---|
| public final Iterator | |
| getBreaksSpliterator | back to summary |
|---|---|
public final Spliterator
| |
| getDataSize | back to summary |
|---|---|
| protected int getDataSize() Implements abstract org. | |
| getGenericProperties | back to summary |
|---|---|
| public Map Implements org.
| |
| getNumBreaks | back to summary |
|---|---|
| public int getNumBreaks() | |
| initMap | back to summary |
|---|---|
| private void initMap() | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| removeBreak | back to summary |
|---|---|
| public final void removeBreak(int main) Removes the break indicated by the parameter
| |
| serialize | back to summary |
|---|---|
| public final void serialize(LittleEndianOutput out) Implements abstract org. Doc from org. Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.
The number of bytes written must equal the record size reported by
| |
The subs (rows or columns, don't seem to be able to set but excel sets them automatically)
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Map | |
| public int | |
| public int | |
| public int | |
| public void |
| ENCODED_SIZE | back to summary |
|---|---|
| public static final int ENCODED_SIZE | |
| main | back to summary |
|---|---|
| private int main | |
| subFrom | back to summary |
|---|---|
| private int subFrom | |
| subTo | back to summary |
|---|---|
| private int subTo | |
| Break | back to summary |
|---|---|
| public Break(PageBreakRecord. | |
| Break | back to summary |
|---|---|
| public Break(int main, int subFrom, int subTo) | |
| Break | back to summary |
|---|---|
| public Break(RecordInputStream in) | |
| getGenericProperties | back to summary |
|---|---|
| public Map Implements org.
| |
| getMain | back to summary |
|---|---|
| public int getMain() | |
| getSubFrom | back to summary |
|---|---|
| public int getSubFrom() | |
| getSubTo | back to summary |
|---|---|
| public int getSubTo() | |
| serialize | back to summary |
|---|---|
| public void serialize(LittleEndianOutput out) | |