| java.lang.Object org.apache.poi.hssf.record.formula.Ptg org.apache.poi.hssf.record.formula.AreaPtg
All known Subclasses: org.apache.poi.hssf.record.formula.AreaVPtg, org.apache.poi.hssf.record.formula.AreaAPtg, org.apache.poi.hssf.record.formula.AreaNAPtg, org.apache.poi.hssf.record.formula.AreaNPtg, org.apache.poi.hssf.record.formula.AreaNVPtg, org.apache.poi.hssf.record.formula.AreaErrPtg,
AreaPtg | public class AreaPtg extends Ptg (Code) | | Specifies a rectangular area of cells A1:A4 for instance.
author: andy author: Jason Height (jheight at chariot dot net dot au) |
Field Summary | |
final public static short | sid |
Constructor Summary | |
protected | AreaPtg() | public | AreaPtg(String arearef) | public | AreaPtg(short firstRow, short lastRow, short firstColumn, short lastColumn, boolean firstRowRelative, boolean lastRowRelative, boolean firstColRelative, boolean lastColRelative) | public | AreaPtg(RecordInputStream in) |
sid | final public static short sid(Code) | | |
AreaPtg | protected AreaPtg()(Code) | | |
AreaPtg | public AreaPtg(short firstRow, short lastRow, short firstColumn, short lastColumn, boolean firstRowRelative, boolean lastRowRelative, boolean firstColRelative, boolean lastColRelative)(Code) | | |
getDefaultOperandClass | public byte getDefaultOperandClass()(Code) | | |
getFirstColumn | public short getFirstColumn()(Code) | | the first column number in the area. |
getFirstColumnRaw | public short getFirstColumnRaw()(Code) | | the first column number + the options bit settings unstripped |
getFirstRow | public short getFirstRow()(Code) | | the first row in the area |
getLastColumn | public short getLastColumn()(Code) | | lastcolumn in the area |
getLastColumnRaw | public short getLastColumnRaw()(Code) | | last column and bitmask (the raw field) |
getLastRow | public short getLastRow()(Code) | | last row in the range (x2 in x1,y1-x2,y2) |
getSize | public int getSize()(Code) | | |
isFirstColRelative | public boolean isFirstColRelative()(Code) | | isrelative first column to relative or not |
isFirstRowRelative | public boolean isFirstRowRelative()(Code) | | whether or not the first row is a relative reference or not. |
isLastColRelative | public boolean isLastColRelative()(Code) | | lastcol relative or not |
isLastRowRelative | public boolean isLastRowRelative()(Code) | | last row relative or not |
setFirstColRelative | public void setFirstColRelative(boolean rel)(Code) | | set whether the first column is relative
|
setFirstColumn | public void setFirstColumn(short column)(Code) | | set the first column in the area
|
setFirstColumnRaw | public void setFirstColumnRaw(short column)(Code) | | set the first column irespective of the bitmasks
|
setFirstRow | public void setFirstRow(short row)(Code) | | sets the first row
Parameters: row - number (0-based) |
setFirstRowRelative | public void setFirstRowRelative(boolean rel)(Code) | | sets the first row to relative or not
Parameters: rel - is relative or not. |
setLastColRelative | public void setLastColRelative(boolean rel)(Code) | | set whether the last column should be relative or not
|
setLastColumn | public void setLastColumn(short column)(Code) | | set the last column in the area
|
setLastColumnRaw | public void setLastColumnRaw(short column)(Code) | | set the last column irrespective of the bitmasks
|
setLastRow | public void setLastRow(short row)(Code) | | Parameters: row - last row number in the area |
setLastRowRelative | public void setLastRowRelative(boolean rel)(Code) | | set whether the last row is relative or not
Parameters: rel - true if the last row relative, elsefalse |
writeBytes | public void writeBytes(byte[] array, int offset)(Code) | | |
|
|