first commit
This commit is contained in:
22
hrmsEjb/jxl/write/biff/PrintHeadersRecord.java
Normal file
22
hrmsEjb/jxl/write/biff/PrintHeadersRecord.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package jxl.write.biff;
|
||||
|
||||
import jxl.biff.Type;
|
||||
import jxl.biff.WritableRecordData;
|
||||
|
||||
class PrintHeadersRecord extends WritableRecordData {
|
||||
private byte[] data;
|
||||
|
||||
private boolean printHeaders;
|
||||
|
||||
public PrintHeadersRecord(boolean ph) {
|
||||
super(Type.PRINTHEADERS);
|
||||
this.printHeaders = ph;
|
||||
this.data = new byte[2];
|
||||
if (this.printHeaders)
|
||||
this.data[0] = 1;
|
||||
}
|
||||
|
||||
public byte[] getData() {
|
||||
return this.data;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user