protected override void SerializeExtraData(NPOI.Util.IO.LittleEndianOutput out1) { out1.WriteByte(field_5_flags); out1.WriteByte(field_6_res); out1.WriteShort(field_7_rowInputRow); out1.WriteShort(field_8_colInputRow); out1.WriteShort(field_9_rowInputCol); out1.WriteShort(field_10_colInputCol); }
public override void Serialize(NPOI.Util.IO.LittleEndianOutput out1) { out1.WriteShort(mdTopLt); out1.WriteShort(mdBotRt); out1.WriteShort(x1); out1.WriteShort(0); out1.WriteShort(y1); out1.WriteShort(0); out1.WriteShort(x2); out1.WriteShort(0); out1.WriteShort(y2); out1.WriteShort(0); }
public override void Serialize(NPOI.Util.IO.LittleEndianOutput out1) { out1.WriteInt(field_1_row_offset); for (int k = 0; k < field_2_cell_offsets.Length; k++) { out1.WriteShort(field_2_cell_offsets[k]); } }
/** * called by the class that Is responsible for writing this sucker. * Subclasses should implement this so that their data Is passed back in a * @param offset to begin writing at * @param data byte array containing instance data * @return number of bytes written */ public override void Serialize(NPOI.Util.IO.LittleEndianOutput out1) { int field_7_length_custom_menu = field_14_custom_menu_text.Length; int field_8_length_description_text = field_15_description_text.Length; int field_9_length_help_topic_text = field_16_help_topic_text.Length; int field_10_length_status_bar_text = field_17_status_bar_text.Length; int rawNameSize = NameRawSize; // size defined below out1.WriteShort(OptionFlag); out1.WriteByte(KeyboardShortcut); out1.WriteByte(NameTextLength); // Note - formula size is not immediately before encoded formula, and does not include any array constant data out1.WriteShort(field_13_name_definition.EncodedTokenSize); out1.WriteShort(field_5_externSheetIndex_plus1); out1.WriteShort(field_6_sheetNumber); out1.WriteByte(field_7_length_custom_menu); out1.WriteByte(field_8_length_description_text); out1.WriteByte(field_9_length_help_topic_text); out1.WriteByte(field_10_length_status_bar_text); out1.WriteByte(field_11_nameIsMultibyte ? 1 : 0); if (IsBuiltInName) { out1.WriteByte(field_12_built_in_code); } else { String nameText = field_12_name_text; if (field_11_nameIsMultibyte) { StringUtil.PutUnicodeLE(nameText, out1); } else { StringUtil.PutCompressedUnicode(nameText, out1); } } field_13_name_definition.SerializeTokens(out1); field_13_name_definition.SerializeArrayConstantData(out1); StringUtil.PutCompressedUnicode(CustomMenuText, out1); StringUtil.PutCompressedUnicode(DescriptionText, out1); StringUtil.PutCompressedUnicode(HelpTopicText, out1); StringUtil.PutCompressedUnicode(StatusBarText, out1); }
public override void Serialize(NPOI.Util.IO.LittleEndianOutput out1) { out1.WriteShort(field_1_number_of_sheets); if (IsExternalReferences) { StringUtil.WriteUnicodeString(out1, field_2_encoded_url); for (int i = 0; i < field_3_sheet_names.Length; i++) { StringUtil.WriteUnicodeString(out1, field_3_sheet_names[i]); } } else { int field2val = _isAddInFunctions ? TAG_ADD_IN_FUNCTIONS : TAG_INTERNAL_REFERENCES; out1.WriteShort(field2val); } }
public override void Serialize(NPOI.Util.IO.LittleEndianOutput out1) { out1.WriteShort(field_1_cEntries); }
/** * called by the class that is responsible for writing this sucker. * Subclasses should implement this so that their data is passed back in a * byte array. * * @return byte array containing instance data */ public override void Serialize(NPOI.Util.IO.LittleEndianOutput out1) { out1.WriteShort(Row); out1.WriteShort(Column); out1.WriteShort(XFIndex); }
protected override void SerializeExtraData(NPOI.Util.IO.LittleEndianOutput out1) { out1.WriteShort(_options); out1.WriteInt(_field3notUsed); _formula.Serialize(out1); }
public override void Serialize(NPOI.Util.IO.LittleEndianOutput out1) { out1.WriteInt(0); out1.WriteInt(0); out1.WriteShort(0); }
protected override void SerializeExtraData(NPOI.Util.IO.LittleEndianOutput out1) { out1.WriteShort(field_5_reserved); field_7_parsed_expr.Serialize(out1); }