use of org.apache.poi.hssf.record.WSBoolRecord in project poi by apache.
the class InternalSheet method createWSBool.
/**
* creates the WSBoolRecord and sets its values to defaults
*/
private static WSBoolRecord createWSBool() {
WSBoolRecord retval = new WSBoolRecord();
retval.setWSBool1((byte) 0x4);
retval.setWSBool2((byte) 0xffffffc1);
return retval;
}
use of org.apache.poi.hssf.record.WSBoolRecord in project poi by apache.
the class HSSFSheet method setAutobreaks.
/**
* show automatic page breaks or not
*
* @param b whether to show auto page breaks
*/
@Override
public void setAutobreaks(boolean b) {
WSBoolRecord record = (WSBoolRecord) _sheet.findFirstRecordBySid(WSBoolRecord.sid);
record.setAutobreaks(b);
}
use of org.apache.poi.hssf.record.WSBoolRecord in project poi by apache.
the class HSSFSheet method setAlternativeFormula.
/**
* whether alternative formula entry is on
*
* @param b alternative formulas or not
*/
public void setAlternativeFormula(boolean b) {
WSBoolRecord record = (WSBoolRecord) _sheet.findFirstRecordBySid(WSBoolRecord.sid);
record.setAlternateFormula(b);
}
use of org.apache.poi.hssf.record.WSBoolRecord in project poi by apache.
the class HSSFSheet method setAlternativeExpression.
/**
* whether alternate expression evaluation is on
*
* @param b alternative expression evaluation or not
*/
public void setAlternativeExpression(boolean b) {
WSBoolRecord record = (WSBoolRecord) _sheet.findFirstRecordBySid(WSBoolRecord.sid);
record.setAlternateExpression(b);
}
use of org.apache.poi.hssf.record.WSBoolRecord in project poi by apache.
the class HSSFSheet method setRowSumsRight.
/**
* set if col summaries appear right of the detail in the outline
*
* @param b right or not
*/
@Override
public void setRowSumsRight(boolean b) {
WSBoolRecord record = (WSBoolRecord) _sheet.findFirstRecordBySid(WSBoolRecord.sid);
record.setRowSumsRight(b);
}
Aggregations