示例#1
0
 public void serialize(LittleEndianOutput out) {
   out.writeShort(getVersion());
   out.writeShort(getType());
   out.writeShort(getBuild());
   out.writeShort(getBuildYear());
   out.writeInt(getHistoryBitMask());
   out.writeInt(getRequiredVersion());
 }
  @Override
  protected void serialize(LittleEndianOutput out) {

    out.writeInt(_grbit1);
    out.writeByte(_grbit2);
    out.writeByte(_citmShow);
    out.writeShort(_isxdiSort);
    out.writeShort(_isxdiShow);

    if (_subtotalName == null) {
      out.writeShort(STRING_NOT_PRESENT_LEN);
    } else {
      out.writeShort(_subtotalName.length());
    }

    out.writeInt(_reserved1);
    out.writeInt(_reserved2);
    if (_subtotalName != null) {
      StringUtil.putUnicodeLE(_subtotalName, out);
    }
  }
 public void serialize(LittleEndianOutput out) {
   out.writeInt(errorCheck);
 }
 public void write(LittleEndianOutput out) {
   out.writeByte(sid + getPtgClass());
   out.writeShort(field_1_index_extern_sheet);
   out.writeInt(unused1);
   out.writeInt(unused2);
 }
示例#5
0
 protected void serializeExtraData(LittleEndianOutput out) {
   out.writeShort(_options);
   out.writeInt(_field3notUsed);
   _formula.serialize(out);
 }