protected void method_27(SprmCode A_0, object A_1, float A_2) { Border border = (Border)A_1; if ((border != null) && !border.IsDefault) { this.class345_0.method_5(A_0); Class355.smethod_3(border, this.class345_0, true, A_2); } }
protected void method_31(SprmCode A_0, object A_1) { Border border = (Border)A_1; if ((border != null) && !border.IsDefault) { this.class345_0.method_5(A_0); this.class345_0.Write((byte)8); Class355.smethod_4(border, this.class345_0, true); } }
internal Class262(BinaryReader A_0) : this() { int num2 = 15; long position = A_0.BaseStream.Position; this.int_2 = A_0.ReadInt32(); this.int_3 = A_0.ReadUInt16(); this.picfType_0 = (PicfType)A_0.ReadUInt16(); this.int_4 = A_0.ReadUInt16(); this.int_5 = A_0.ReadUInt16(); this.int_6 = A_0.ReadUInt16(); this.picfSubType_0 = (PicfSubType)A_0.ReadUInt16(); this.int_7 = A_0.ReadUInt16(); this.int_8 = A_0.ReadUInt16(); this.int_9 = A_0.ReadUInt16(); this.int_10 = A_0.ReadUInt16(); this.int_11 = A_0.ReadUInt16(); this.int_12 = A_0.ReadUInt16(); this.int_13 = A_0.ReadUInt16(); this.int_14 = A_0.ReadUInt16(); this.int_24 = A_0.ReadUInt16(); this.int_25 = A_0.ReadUInt16(); this.int_15 = A_0.ReadInt16(); this.int_16 = A_0.ReadInt16(); this.int_17 = A_0.ReadInt16(); this.int_18 = A_0.ReadInt16(); int num = A_0.ReadUInt16(); this.int_19 = num & 15; this.bool_0 = (num & 0x10) != 0; this.bool_1 = (num & 0x20) != 0; this.bool_2 = (num & 0x40) != 0; this.bool_3 = (num & 0x80) != 0; this.int_20 = (num & 0xff00) >> 8; this.border_0 = Class355.smethod_0(A_0, this.border_0); this.border_1 = Class355.smethod_0(A_0, this.border_1); this.border_2 = Class355.smethod_0(A_0, this.border_2); this.border_3 = Class355.smethod_0(A_0, this.border_3); this.int_21 = A_0.ReadInt16(); this.int_22 = A_0.ReadInt16(); this.int_23 = A_0.ReadInt16(); if (bool_4) { StringBuilder builder = new StringBuilder(); builder.Append(BookmarkStart.b("㼴收尸娺夼Ἶᅀੂلņ獈", num2)); builder.AppendFormat(BookmarkStart.b("㼴᜶吸崺䴼爾ⱀ祂㹄睆㑈杊浌≎㝐⍒ൔቖ⅘⽚杜偠Ṣ䥤䝦Ѩ൪ᵬ㙮㑰୲Ŵ䵶ɸ䥺|卾ꆀ솈욊쮌떎ꂒ", num2), new object[] { this.picfType_0, this.int_4, this.int_5, this.int_6 }); builder.AppendFormat(BookmarkStart.b("㼴᜶嬸嘺椼䘾ㅀ♂罄㱆祈㙊慌潎㍐㹒ɔ㹖㵘⽚㕜敞᩠剢ᡤ䭦䥨४l❮ᑰᩲቴὶ൸䅺ټ䵾ﲀ꾂ꖄ\udc8a\ue48cﮒ힔ﺚꖞ\udaa0\u90a2\ud8a4\u8ba6覨즪삹\uddb0\ud2b2\udbb4\ud2b6쪸膺욼设변ꗆ觊믎ꋐ菒볔꿖볘럚ꓞ퓠黢짤쟦诨蛪꿬蛮藰胲쿴賶쿸蛺", num2), new object[] { this.picfSubType_0, this.int_7, this.int_8, this.int_9, this.int_10, this.int_11, this.int_12 }); builder.AppendFormat(BookmarkStart.b("㼴᜶崸䌺尼砾⹀≂⥄絆㉈筊が捎煐㝒ⱔ㙖Ṙ㑚㱜㍞孠ᡢ呤ᩦ䕨䭪lᝮ䭰ࡲ䝴੶啸孺ၼپ뮀뚄惘", num2), new object[] { this.int_13, this.int_14, this.int_24, this.int_25 }); builder.AppendFormat(BookmarkStart.b("㼴᜶崸䌺尼簾㍀ⱂ㕄ⱈⵊ㥌畎⩐捒⡔策祘㽚㹞≠ᅢᝦ㵨Ѫᵬ啮ੰ䉲ࡴ孶奸ὺռṾ슀\udb88\ue28aꦒꖖ랚붜ﮞ\ud8a0\uc2a2햦욨\udbaa\uefac삮얰잲\udab4\udab6莸삺躼슾", num2), new object[] { this.int_13, this.int_14, this.int_17, this.int_18 }); builder.AppendFormat(BookmarkStart.b("㼴᜶崸䌺尼瀾㍀⩂≄⹆❈煊㙌罎ⱐ罒畔㍖⁘㩚ቜⵞࡠѢ०卨ၪ屬ቮ嵰卲ᙴ❶ᑺർ౾뮀랄惘", num2), this.int_21, this.int_22, this.int_23); } }
private void method_27(int A_0, int A_1, Border A_2, CellAlign A_3, SprmCode A_4) { if ((A_2 != null) && !A_2.IsDefault) { this.class345_0.method_5(A_4); int num = 3 + Class355.smethod_7(A_4 == SprmCode.TSetBrc); this.class345_0.Write((byte)num); this.class345_0.Write((byte)A_0); this.class345_0.Write((byte)A_1); this.class345_0.Write((byte)A_3); Class355.smethod_6(A_2.Equals(new Border()) ? null : A_2, this.class345_0, false, A_4 == SprmCode.TSetBrc); } }
private void method_87(bool A_0) { RowFormat format = (!this.method_93().Borders.IsDefault || (this.method_93().OwnerRow == null)) ? this.method_93() : this.method_93().OwnerRow.OwnerTable.TableFormat; if (!format.Borders.IsDefault) { base.class345_0.method_5(A_0 ? SprmCode.TTableBorders : SprmCode.TTableBorders80); base.class345_0.Write((byte)(Class355.smethod_7(A_0) * 6)); Class355.smethod_6(format.Borders.Top, base.class345_0, false, A_0); Class355.smethod_6(format.Borders.Left, base.class345_0, false, A_0); Class355.smethod_6(format.Borders.Bottom, base.class345_0, false, A_0); Class355.smethod_6(format.Borders.Right, base.class345_0, false, A_0); Class355.smethod_6(format.Borders.Horizontal, base.class345_0, false, A_0); Class355.smethod_6(format.Borders.Vertical, base.class345_0, false, A_0); } }
// Token: 0x06001CB1 RID: 7345 RVA: 0x0005CAD4 File Offset: 0x0005ACD4 private void method_5(Class355 audioData) { if (audioData == null) { this.wmpUserPlayer.method_2(); this.picUserContentAudioFile.Visible = false; return; } if (audioData.UserAudioData == null) { this.wmpUserPlayer.method_2(); } else { this.wmpUserPlayer.method_0(audioData.AudioFile, audioData.UserAudioData); } this.picUserContentAudioFile.Visible = true; }
private static void smethod_3(CellFormat A_0, int A_1, BinaryWriter A_2) { Border border = (Border)A_0.method_31(A_1); if ((border != null) && !border.IsDefault) { if (border.BorderType == BorderStyle.Cleared) { A_2.Write(uint.MaxValue); } else { Class355.smethod_2(border, A_2, false); } } else { A_2.Write((uint)0); } }
internal void method_1(BinaryWriter A_0) { A_0.Write(this.int_2); A_0.Write((ushort)this.int_3); A_0.Write((ushort)this.picfType_0); A_0.Write((ushort)this.int_4); A_0.Write((ushort)this.int_5); A_0.Write((ushort)this.int_6); A_0.Write((ushort)this.picfSubType_0); A_0.Write((ushort)this.int_7); A_0.Write((ushort)this.int_8); A_0.Write((ushort)this.int_9); A_0.Write((ushort)this.int_10); A_0.Write((ushort)this.int_11); A_0.Write((ushort)this.int_12); A_0.Write((ushort)this.int_13); A_0.Write((ushort)this.int_14); A_0.Write((ushort)this.int_24); A_0.Write((ushort)this.int_25); A_0.Write((short)this.int_15); A_0.Write((short)this.int_16); A_0.Write((short)this.int_17); A_0.Write((short)this.int_18); int num = 0; num = 0 | this.int_19; num |= this.bool_0 ? 0x10 : 0; num |= this.bool_1 ? 0x20 : 0; num |= this.bool_2 ? 0x40 : 0; num |= this.bool_3 ? 0x80 : 0; num |= this.int_20 << 8; A_0.Write((ushort)num); Class355.smethod_3(this.border_0, A_0, false, 8f); Class355.smethod_3(this.border_1, A_0, false, 8f); Class355.smethod_3(this.border_2, A_0, false, 8f); Class355.smethod_3(this.border_3, A_0, false, 8f); A_0.Write((short)this.int_21); A_0.Write((short)this.int_22); A_0.Write((short)this.int_23); }
internal void method_10(SprmCode A_0) { int num = this.binaryReader_0.ReadByte(); int num2 = this.binaryReader_0.ReadByte(); CellAlign align = (CellAlign)this.binaryReader_0.ReadByte(); Border border = (A_0 == SprmCode.TSetBrc) ? Class355.smethod_1(this.binaryReader_0, null) : Class355.smethod_0(this.binaryReader_0, null); num = Math.Min(num, this.class732_0.Count); num2 = Math.Min(num2, this.class732_0.Count); for (int i = num; i < num2; i++) { CellFormat format = this.class732_0.method_0(i); if ((align & CellAlign.Left) != CellAlign.None) { this.method_28(format, 0xc30, border); } if ((align & CellAlign.Top) != CellAlign.None) { this.method_28(format, 0xc26, border); } if ((align & CellAlign.Bottom) != CellAlign.None) { this.method_28(format, 0xc3a, border); } if ((align & CellAlign.Right) != CellAlign.None) { this.method_28(format, 0xc44, border); } if ((align & CellAlign.DiagonalDown) != CellAlign.None) { this.method_28(format, 0xc4e, border); } if ((align & CellAlign.DiagonalUp) != CellAlign.None) { this.method_28(format, 0xc58, border); } } }
public abstract void Visit(Class355 c);
public override void Visit(Class355 c) { }
private static void smethod_2(BinaryReader A_0, CellFormat A_1, int A_2) { Class355.smethod_0(A_0, A_1.method_33(A_2) as Border); }
protected void method_39(int A_0) { Border border = (Border)this.wordAttrCollection_0.method_33(A_0); Class355.smethod_1(this.binaryReader_0, border); }