public void Serialize(NPOI.Util.IO.LittleEndianOutput out1) { out1.WriteShort(FirstRow); out1.WriteShort(LastRow); out1.WriteByte(FirstColumn); out1.WriteByte(LastColumn); }
public override void Serialize(NPOI.Util.IO.LittleEndianOutput out1) { out1.WriteShort(field_1_iEntry); out1.WriteShort(field_2_grbit); field_3_doper1.Serialize(out1); field_4_doper2.Serialize(out1); if (field_3_doper1.LengthOfString > 0) { out1.WriteByte(rgch1_multibyte?1:0); if (rgch1_multibyte) { StringUtil.PutUnicodeLE(field_5_rgch1, out1); } else { StringUtil.PutCompressedUnicode(field_5_rgch1, out1); } } if (field_4_doper2.LengthOfString > 0) { out1.WriteByte(rgch2_multibyte?1:0); if (rgch2_multibyte) { StringUtil.PutUnicodeLE(field_6_rgch2, out1); } else { StringUtil.PutCompressedUnicode(field_6_rgch2, out1); } } }
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); }
/** * 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.WriteByte(field_1_riser); out1.WriteByte(field_2_taper); }