internal void method_12(SprmCode A_0, int A_1) { int num = 0; switch (A_0) { case SprmCode.TBrcTopCv: num = 0xc26; break; case SprmCode.TBrcLeftCv: num = 0xc30; break; case SprmCode.TBrcBottomCv: num = 0xc3a; break; case SprmCode.TBrcRightCv: num = 0xc44; break; } int num2 = A_1 / 4; for (int i = 0; i < num2; i++) { int num4 = this.binaryReader_0.ReadInt32(); if (this.class732_0.method_0(i).method_6(num)) { Border border = (Border)this.class732_0.method_0(i).method_32(num); border.Color = Class624.smethod_7(num4); } } }
private static void smethod_9(BinaryWriter A_0, Class14 A_1) { if ((!A_1.method_124().IsEmpty || (A_1.method_126() != 0)) || (A_1.method_122() != FramesetBorderType.Simple)) { int position = (int)A_0.BaseStream.Position; smethod_4(A_0, 0); smethod_4(A_0, 5); smethod_4(A_0, smethod_11(A_1.method_126(), 0, 0x7bc0) ? A_1.method_126() : 0); smethod_4(A_0, Class624.smethod_6(A_1.method_124())); switch (A_1.method_122()) { case FramesetBorderType.None: smethod_4(A_0, 1); break; case FramesetBorderType.Raised: smethod_4(A_0, 2); break; default: smethod_4(A_0, 0); break; } smethod_5(A_0, (long)position); } }
protected void method_21(SprmCode A_0, object A_1) { if (A_1 != null) { this.class345_0.method_0(A_0, (int)Class624.smethod_0((Color)A_1)); } }
protected void method_24(SprmCode A_0, object A_1) { if (A_1 != null) { this.class345_0.method_3(A_0, Class624.smethod_6((Color)A_1)); } }
internal static void smethod_3(Border A_0, BinaryWriter A_1, bool A_2, float A_3) { while (A_0 != null) { if (!A_0.IsDefault || (A_0.BaseFormat == null)) { break; } A_0 = A_0.BaseFormat as Border; } if ((A_0 != null) && !A_0.IsDefault) { A_1.Write((byte)Math.Round((double)(A_0.LineWidth * A_3))); A_1.Write((byte)smethod_5(A_0.BorderType, false)); if ((A_0.BorderType == BorderStyle.None) && (A_0.Color == Color.Empty)) { A_1.Write((byte)0); } else { A_1.Write((byte)Class624.smethod_0(A_0.Color)); } int num = 0; num = 0 | (A_2 ? ((int)A_0.Space) : 0); num |= (A_0.Shadow ? 0x20 : 0) | (A_0.Frame ? 0x40 : 0); A_1.Write((byte)num); } else { A_1.Write(uint.MaxValue); } }
public void SetPreTransform(Matrix4D preTransform) { this.matrix4D_0 *= preTransform; this.interface32_0.imethod_0(preTransform.GetInverse()); this.matrix3D_0 *= new Matrix3D(preTransform.M00, preTransform.M01, preTransform.M02, preTransform.M10, preTransform.M11, preTransform.M12, preTransform.M20, preTransform.M21, preTransform.M22); this.ilineTypeScaler_0 = Class624.Create(this.matrix3D_0); }
private void method_0() { if (this.iclippingTransformer_0 != null) { this.matrix4D_0 = this.iclippingTransformer_0.Matrix; } else { this.matrix4D_0 = Matrix4D.Identity; foreach (IClippingTransformer clippingTransformer in this.linkedList_0) { this.matrix4D_0 = clippingTransformer.Matrix * this.matrix4D_0; } } if (this.iclippingTransformer_0 != null) { this.matrix3D_0 = this.iclippingTransformer_0.Matrix3D; } else { this.matrix3D_0 = Matrix3D.Identity; foreach (IClippingTransformer clippingTransformer in this.linkedList_0) { this.matrix3D_0 = clippingTransformer.Matrix3D * this.matrix3D_0; } } this.ilineTypeScaler_0 = Class624.Create(this.matrix3D_0); }
internal static Border smethod_0(BinaryReader A_0, Border A_1) { int num = A_0.ReadByte(); int num2 = A_0.ReadByte(); if (num2 != 0xff) { if (A_1 == null) { A_1 = new Border(); } A_1.BorderType = (BorderStyle)num2; A_1.LineWidth = ((float)num) / 8f; A_1.Color = Class624.smethod_1((Word97Color)A_0.ReadByte()); int num3 = A_0.ReadByte(); A_1.Space = (byte)(num3 & 0x1f); A_1.Shadow = (num3 & 0x20) != 0; A_1.Frame = (num3 & 0x40) != 0; A_1.IsChanged = true; return(A_1); } A_0.ReadByte(); A_0.ReadByte(); return(null); }
internal static void smethod_4(Border A_0, BinaryWriter A_1, bool A_2) { while (A_0 != null) { if (!A_0.IsDefault || (A_0.BaseFormat == null)) { break; } A_0 = A_0.BaseFormat as Border; } if (((A_0 != null) && !A_0.IsDefault) && (A_0.BorderType != BorderStyle.Cleared)) { A_1.Write(Class624.smethod_6(A_0.Color)); A_1.Write((byte)(A_0.LineWidth * 8f)); A_1.Write((byte)smethod_5(A_0.BorderType, true)); int num = 0; num = 0 | (A_2 ? ((int)A_0.Space) : 0); num |= (A_0.Shadow ? 0x20 : 0) | (A_0.Frame ? 0x40 : 0); A_1.Write((byte)num); A_1.Write((byte)0); } else { A_1.Write(uint.MaxValue); A_1.Write(uint.MaxValue); } }
internal Class383(int A_0, Class954[] A_1) : this(A_0, A_1.Length, 8) { using (MemoryStream stream = new MemoryStream(this.byte_0)) { BinaryWriter writer = new BinaryWriter(stream); for (int i = 0; i < A_1.Length; i++) { writer.Write(Class624.smethod_6(A_1[i].color_0)); writer.Write(A_1[i].int_0); } } }
internal static Class16 smethod_0(BinaryReader A_0, Class16 A_1) { if (A_1 == null) { A_1 = new Class16(); } int num = A_0.ReadUInt16(); A_1.method_61(Class624.smethod_1(((Word97Color)num) & (Word97Color.LightGray | Word97Color.DarkGray))); A_1.method_57(Class624.smethod_1((Word97Color)((num & 0x3e0) >> 5))); A_1.method_63((TextureStyle)((num & 0xfc00) >> 10)); return(A_1); }
internal ModelSpaceClippingTransformer( Matrix4D transform, Matrix3D matrix3D, Interface32 clipper, double shapeFlattenEpsilon, double shapeFlattenEpsilonForBoundsCalculation) { this.matrix4D_0 = transform; this.matrix3D_0 = matrix3D; this.ilineTypeScaler_0 = Class624.Create(matrix3D); this.interface32_0 = clipper; this.double_0 = shapeFlattenEpsilon; this.double_1 = shapeFlattenEpsilonForBoundsCalculation; }
internal static void smethod_3(Class16 A_0, BinaryWriter A_1) { if (A_0.method_62() == TextureStyle.TextureNil) { A_1.Write(uint.MaxValue); A_1.Write(uint.MaxValue); A_1.Write((ushort)0xffff); } else { A_1.Write(Class624.smethod_6(A_0.method_60())); A_1.Write(Class624.smethod_6(A_0.method_56())); A_1.Write((ushort)A_0.method_62()); } }
internal static void smethod_2(Class16 A_0, BinaryWriter A_1) { int num = 0; if (A_0.method_62() == TextureStyle.TextureNil) { num = 0xffff; } else { num |= Class624.smethod_0(A_0.method_60()); num |= ((int)Class624.smethod_0(A_0.method_56())) << 5; num |= ((int)A_0.method_62()) << 10; } A_1.Write((ushort)num); }
private void method_22(SprmCode A_0, int A_1) { if (this.class732_0 != null) { this.class345_0.method_5(A_0); this.class345_0.Write((byte)(this.class732_0.Count * 4)); for (int i = 0; i < this.class732_0.Count; i++) { Border border = (Border)this.class732_0.method_0(i).method_31(A_1); if ((border == null) || border.IsDefault) { border = border_0; } this.class345_0.Write(Class624.smethod_6(border.Color)); } } }
internal Class954[] method_4() { if (this.int_3 == 0) { return(null); } using (MemoryStream stream = new MemoryStream(this.byte_0)) { BinaryReader reader = new BinaryReader(stream); Class954[] classArray = new Class954[this.int_3]; for (int i = 0; i < classArray.Length; i++) { classArray[i] = new Class954 { color_0 = Class624.smethod_7(reader.ReadInt32()), int_0 = reader.ReadInt32() }; } return(classArray); } }
internal static Border smethod_1(BinaryReader A_0, Border A_1) { int num = A_0.ReadInt32(); int num2 = A_0.ReadByte(); int num3 = A_0.ReadByte(); if (num3 != 0xff) { if (A_1 == null) { A_1 = new Border(); } A_1.LineWidth = ((float)num2) / 8f; A_1.BorderType = (BorderStyle)num3; if (num == -16777216) { A_1.Color = Color.Empty; } else { A_1.Color = Class624.smethod_7(num); } int num4 = A_0.ReadByte(); A_1.Space = (byte)(num4 & 0x1f); A_1.Shadow = (num4 & 0x20) != 0; A_1.Frame = (num4 & 0x40) != 0; A_1.IsChanged = true; A_0.ReadByte(); return(A_1); } A_0.ReadByte(); A_0.ReadByte(); if (A_1 == null) { A_1 = new Border(); } A_1.BorderType = BorderStyle.Cleared; return(A_1); }
internal static Class16 smethod_1(BinaryReader A_0, Class16 A_1) { Color empty; if (A_1 == null) { A_1 = new Class16(); } int num = A_0.ReadInt32(); if (num == -16777216) { empty = Color.Empty; } else { empty = Class624.smethod_7(num); } A_1.method_61(empty); num = A_0.ReadInt32(); if (num == -16777216) { empty = Color.Empty; } else { empty = Class624.smethod_7(num); } A_1.method_57(empty); A_1.method_63(Class955.smethod_12((TextureStyle)A_0.ReadUInt16())); if (A_1.method_62() == TextureStyle.TextureNil) { A_1.method_57(Color.Empty); A_1.method_61(Color.Empty); } return(A_1); }
internal static Class14 smethod_0(Class703 A_0, BinaryReader A_1, ListStyleCollection A_2) { Class1111 class2 = A_0.class1057_0.class1111_6; if (class2.int_1 == 0) { return(null); } A_1.BaseStream.Position = class2.int_0; Stack stack = new Stack(); Class14 class3 = null; Class14 class4 = null; while ((A_1.BaseStream.Position - class2.int_0) < class2.int_1) { bool flag; int num; int num2; int num3; A_1.ReadInt32(); switch (A_1.ReadInt32()) { case 0: { class3 = new Class14(); class4 = class3; continue; } case 1: { if (stack.Count > 0) { class4 = new Class14(); ((Class14)stack.Peek()).method_121().method_2(class4); } class4.method_56((FrameDividerPositionType)A_1.ReadInt32()); class4.method_58(A_1.ReadInt32()); class4.method_60((FrameLayoutType)A_1.ReadInt32()); A_1.ReadInt32(); class4.method_62(A_1.ReadInt32()); class4.method_67(A_1.ReadInt32()); class4.method_115((FrameScrollType)A_1.ReadInt32()); int num6 = A_1.ReadInt32(); class4.method_117((num6 & 1) != 0); class4.method_119((num6 & 2) != 0); A_1.ReadInt32(); continue; } case 2: { if ((A_1.ReadInt32() & 1) == 0) { break; } stack.Push(class4); continue; } case 3: { class4.method_52(Class813.smethod_1(A_1, true, true)); continue; } case 4: { class4.method_54(Class813.smethod_1(A_1, true, true)); continue; } case 5: { class3.method_127(A_1.ReadInt32()); class3.method_125(Class624.smethod_7(A_1.ReadInt32())); int num7 = A_1.ReadInt32(); bool flag2 = (num7 & 1) != 0; flag = (num7 & 2) != 0; if (!flag2) { goto Label_01D3; } class3.method_123(FramesetBorderType.None); continue; } case 6: num = A_1.ReadInt32(); num2 = 0; goto Label_0228; default: { continue; } } class4 = (Class14)stack.Pop(); continue; Label_01D3: if (flag) { class3.method_123(FramesetBorderType.Raised); } else { class3.method_123(FramesetBorderType.Simple); } continue; Label_01F5: num3 = A_1.ReadInt16(); int num5 = A_1.ReadUInt16() & 0xfff; ListStyle style = A_2[num3]; style.ListStyleIstd = num5; num2++; Label_0228: if (num2 < num) { goto Label_01F5; } } return(class3); }
private bool imethod_0(SprmCode A_0, SprmType A_1, int A_2, BinaryReader A_3) { if (A_1 != SprmType.Chp) { return(true); } base.binaryReader_0 = A_3; SprmCode code = A_0; if (code <= SprmCode.CCharScale) { if (code <= SprmCode.CHighlight) { if (code <= SprmCode.CFItalicBi) { if (code <= SprmCode.CFOle2) { switch (code) { case SprmCode.CFRMarkDel: if ((base.binaryReader_0.ReadByte() != 0) && !this.method_77().IsInsertRevision) { this.method_77().IsDeleteRevision = true; this.method_77().DeleteRevision = new Class579(EditRevisionType.Deletion); } goto Label_0FEB; case SprmCode.CFRMarkIns: if ((base.binaryReader_0.ReadByte() != 0) && !this.method_77().IsDeleteRevision) { this.method_77().IsInsertRevision = true; this.method_77().InsertRevision = new Class579(EditRevisionType.Insertion); } goto Label_0FEB; case SprmCode.CFFldVanish: case SprmCode.Noop: goto Label_0FEB; case SprmCode.CFData: if (this.class1107_0 != null) { this.class1107_0.bool_1 = base.binaryReader_0.ReadByte() == 1; } goto Label_0FEB; case SprmCode.CFOle2: if (this.class1107_0 != null) { this.class1107_0.bool_3 = base.binaryReader_0.ReadByte() == 1; } goto Label_0FEB; } } else { if (code <= SprmCode.CFSpecVanish) { if (code != SprmCode.CFWebHidden) { if (code != SprmCode.CFSpecVanish) { goto Label_0FCB; } base.wordAttrCollection_0.SetAttr(10, this.method_75(base.binaryReader_0.ReadByte(), 10)); } goto Label_0FEB; } switch (code) { case SprmCode.CFBold: base.wordAttrCollection_0.SetAttr(60, this.method_75(base.binaryReader_0.ReadByte(), 60)); goto Label_0FEB; case SprmCode.CFItalic: base.wordAttrCollection_0.SetAttr(70, this.method_75(base.binaryReader_0.ReadByte(), 70)); goto Label_0FEB; case SprmCode.CFStrike: base.wordAttrCollection_0.SetAttr(80, this.method_75(base.binaryReader_0.ReadByte(), 80)); goto Label_0FEB; case SprmCode.CFOutline: base.wordAttrCollection_0.SetAttr(90, this.method_75(base.binaryReader_0.ReadByte(), 90)); goto Label_0FEB; case SprmCode.CFShadow: base.wordAttrCollection_0.SetAttr(100, this.method_75(base.binaryReader_0.ReadByte(), 100)); goto Label_0FEB; case SprmCode.CFSmallCaps: base.wordAttrCollection_0.SetAttr(110, this.method_75(base.binaryReader_0.ReadByte(), 110)); goto Label_0FEB; case SprmCode.CFCaps: base.wordAttrCollection_0.SetAttr(120, this.method_75(base.binaryReader_0.ReadByte(), 120)); goto Label_0FEB; case SprmCode.CFVanish: base.wordAttrCollection_0.SetAttr(130, this.method_75(base.binaryReader_0.ReadByte(), 130)); goto Label_0FEB; case SprmCode.CFImprint: base.wordAttrCollection_0.SetAttr(180, this.method_75(base.binaryReader_0.ReadByte(), 180)); goto Label_0FEB; case SprmCode.CFSpec: if (this.class1107_0 != null) { this.class1107_0.bool_0 = base.binaryReader_0.ReadByte() == 1; } goto Label_0FEB; case SprmCode.CFObj: if (this.class1107_0 != null) { this.class1107_0.bool_2 = base.binaryReader_0.ReadByte() == 1; } goto Label_0FEB; case SprmCode.CFEmboss: base.wordAttrCollection_0.SetAttr(170, this.method_75(base.binaryReader_0.ReadByte(), 170)); goto Label_0FEB; case SprmCode.CFBiDi: base.wordAttrCollection_0.SetAttr(0x109, this.method_75(base.binaryReader_0.ReadByte(), 0x109)); goto Label_0FEB; case SprmCode.CFBoldBi: base.wordAttrCollection_0.SetAttr(250, this.method_75(base.binaryReader_0.ReadByte(), 250)); goto Label_0FEB; case SprmCode.CFItalicBi: base.wordAttrCollection_0.SetAttr(260, this.method_75(base.binaryReader_0.ReadByte(), 260)); goto Label_0FEB; } } goto Label_0FCB; } if (code <= SprmCode.CFComplexScript) { switch (code) { case SprmCode.CFUsePgsuSettings: base.wordAttrCollection_0.SetAttr(330, this.method_75(base.binaryReader_0.ReadByte(), 330)); goto Label_0FEB; case SprmCode.CFNoProof: base.wordAttrCollection_0.SetAttr(440, this.method_75(base.binaryReader_0.ReadByte(), 440)); goto Label_0FEB; } if (code != SprmCode.CFComplexScript) { goto Label_0FCB; } base.wordAttrCollection_0.SetAttr(0x10c, this.method_75(base.binaryReader_0.ReadByte(), 0x10c)); } else if (code <= SprmCode.CIdctHint) { if (code != SprmCode.CSfxText) { if (code != SprmCode.CIdctHint) { goto Label_0FCB; } base.wordAttrCollection_0.SetAttr(400, (int)base.binaryReader_0.ReadByte()); } else { base.wordAttrCollection_0.SetAttr(310, (TextEffect)base.binaryReader_0.ReadByte()); } } else if (code != SprmCode.CLineBreakClear) { if (code != SprmCode.CHighlight) { goto Label_0FCB; } int num = base.binaryReader_0.ReadByte(); if ((num >= 0) && (num < Class1006.list_0.Count)) { Color color = Class1006.list_0[num]; base.wordAttrCollection_0.SetAttr(20, color); } } else { base.wordAttrCollection_0.SetAttr(0x2d, (LineBreakClear)base.binaryReader_0.ReadByte()); } } else if (code <= SprmCode.CNeedFontFixup) { if (code <= SprmCode.CIco) { switch (code) { case SprmCode.CKcd: base.wordAttrCollection_0.SetAttr(770, (Emphasis)A_3.ReadByte()); goto Label_0FEB; case SprmCode.CKul: base.wordAttrCollection_0.SetAttr(140, this.method_76(base.binaryReader_0.ReadByte())); goto Label_0FEB; } if (code != SprmCode.CIco) { goto Label_0FCB; } base.wordAttrCollection_0.SetAttr(160, Class624.smethod_1((Word97Color)base.binaryReader_0.ReadByte())); } else if (code <= SprmCode.CFDStrike) { if (code != SprmCode.CIss) { if (code != SprmCode.CFDStrike) { goto Label_0FCB; } base.wordAttrCollection_0.SetAttr(300, this.method_75(base.binaryReader_0.ReadByte(), 300)); } else { base.wordAttrCollection_0.SetAttr(210, (VerticalAlignment)base.binaryReader_0.ReadByte()); } } else { if (code != SprmCode.CWall) { if (code == SprmCode.CNeedFontFixup) { goto Label_0FEB; } goto Label_0FCB; } base.binaryReader_0.ReadByte(); } } else if (code <= SprmCode.CIdslRMark) { if (code != SprmCode.CFSdtVanish) { if (code != SprmCode.CIbstRMark) { if (code == SprmCode.CIdslRMark) { goto Label_0FEB; } goto Label_0FCB; } this.method_73(this.method_77().InsertRevision); } } else if (code <= SprmCode.CHpsKern) { if (code != SprmCode.CHpsPos) { if (code != SprmCode.CHpsKern) { goto Label_0FCB; } base.wordAttrCollection_0.SetAttr(220, ((float)base.binaryReader_0.ReadUInt16()) / 2f); } else { base.wordAttrCollection_0.SetAttr(200, ((float)base.binaryReader_0.ReadInt16()) / 2f); } } else if (code != SprmCode.CYsri) { if (code != SprmCode.CCharScale) { goto Label_0FCB; } base.wordAttrCollection_0.SetAttr(290, (short)base.binaryReader_0.ReadUInt16()); } else { base.wordAttrCollection_0.SetAttr(460, (HyphenRule)base.binaryReader_0.ReadByte()); base.wordAttrCollection_0.SetAttr(470, (int)base.binaryReader_0.ReadByte()); } goto Label_0FEB; } if (code > SprmCode.CBrc) { if (code <= SprmCode.CFMathPr) { if (code <= SprmCode.CPbiIBullet) { switch (code) { case SprmCode.CCv: base.wordAttrCollection_0.SetAttr(160, Class624.smethod_7(base.binaryReader_0.ReadInt32())); goto Label_0FEB; case SprmCode.CUnderlineColor: base.wordAttrCollection_0.SetAttr(450, Class624.smethod_7(base.binaryReader_0.ReadInt32())); goto Label_0FEB; } if (code != SprmCode.CPbiIBullet) { goto Label_0FCB; } base.wordAttrCollection_0.SetAttr(480, base.binaryReader_0.ReadInt32()); } else if (code <= SprmCode.CSymbol) { if (code != SprmCode.CPicLocation) { if (code != SprmCode.CSymbol) { goto Label_0FCB; } if (this.class1107_0 != null) { this.class1107_0.string_0 = this.class52_0.method_9(base.binaryReader_0.ReadUInt16()); this.class1107_0.char_0 = (char)base.binaryReader_0.ReadUInt16(); this.class1107_0.bool_0 = true; } } else if (this.class1107_0 != null) { this.class1107_0.int_1 = base.binaryReader_0.ReadInt32(); this.class1107_0.bool_0 = true; } } else { if (code != SprmCode.CDxaSpace) { if (code == SprmCode.CFMathPr) { goto Label_0FEB; } goto Label_0FCB; } base.wordAttrCollection_0.SetAttr(150, ((float)base.binaryReader_0.ReadInt16()) / 20f); } goto Label_0FEB; } if (code > SprmCode.CDispFldRMark) { if (code <= SprmCode.CFELayout) { switch (code) { case SprmCode.CShdEx: base.method_42(370); goto Label_0FEB; case SprmCode.CBrcEx: base.method_39(360); goto Label_0FEB; } if (code != SprmCode.CFELayout) { goto Label_0FCB; } this.method_71(A_3); goto Label_0FEB; } switch (code) { case SprmCode.CCnf: base.method_53(this, A_3, A_2, TableStylePrType.Run); goto Label_0FEB; case SprmCode.CPropRMark: base.method_44(new CharacterFormat(base.document_0)); goto Label_0FEB; } } else if (code > SprmCode.CMajority50) { switch (code) { case SprmCode.CPropRMarkOld: case SprmCode.CDispFldRMark: goto Label_0FEB; } } else { switch (code) { case SprmCode.CMajority: case SprmCode.CMajority50: goto Label_0FEB; case SprmCode.CHpsNew50: goto Label_0F30; } } goto Label_0FCB; } if (code > SprmCode.CFtcDefault) { if (code <= SprmCode.CHpsBi) { switch (code) { case SprmCode.CLid_60: { short num6 = (short)base.binaryReader_0.ReadUInt16(); base.wordAttrCollection_0.SetAttr(380, num6); base.wordAttrCollection_0.SetAttr(340, num6); base.wordAttrCollection_0.SetAttr(390, num6); goto Label_0FEB; } case SprmCode.CHps: goto Label_0F30; case SprmCode.CFtcAscii: this.method_70(230, base.binaryReader_0.ReadInt16()); goto Label_0FEB; case SprmCode.CFtcFarEast: this.method_70(0xeb, base.binaryReader_0.ReadInt16()); goto Label_0FEB; case SprmCode.CFtcOther: this.method_70(240, base.binaryReader_0.ReadInt16()); goto Label_0FEB; case SprmCode.CFtcBi: this.method_70(270, base.binaryReader_0.ReadInt16()); goto Label_0FEB; case SprmCode.CIcoBi: goto Label_0FEB; case SprmCode.CHpsBi: base.wordAttrCollection_0.SetAttr(350, ((float)base.binaryReader_0.ReadUInt16()) / 2f); goto Label_0FEB; } } else { if (code <= SprmCode.CObjLocation) { if (code != SprmCode.CDttmRMark) { if (code != SprmCode.CObjLocation) { goto Label_0FCB; } if (this.class1107_0 != null) { this.class1107_0.int_1 = base.binaryReader_0.ReadInt32(); } } else { this.method_74(this.method_77().InsertRevision); } goto Label_0FEB; } switch (code) { case SprmCode.CCharacterRsid: base.wordAttrCollection_0.SetAttr(30, base.binaryReader_0.ReadInt32()); goto Label_0FEB; case SprmCode.CInsertRsid: base.wordAttrCollection_0.SetAttr(40, base.binaryReader_0.ReadInt32()); goto Label_0FEB; case SprmCode.CRsidRMDel: goto Label_0FEB; case SprmCode.CDttmRMarkDel: this.method_74(this.method_77().DeleteRevision); goto Label_0FEB; case SprmCode.CBrc: base.method_38(360); goto Label_0FEB; } } goto Label_0FCB; } if (code <= SprmCode.CLidFarEast_80) { switch (code) { case SprmCode.CIbstRMarkDel: this.method_73(this.method_77().DeleteRevision); goto Label_0FEB; case SprmCode.CShd: base.method_40(370); goto Label_0FEB; case SprmCode.CIdslRMarkDel: case SprmCode.CLidUndocumented3: goto Label_0FEB; case SprmCode.CLidBi: base.wordAttrCollection_0.SetAttr(340, (short)base.binaryReader_0.ReadUInt16()); goto Label_0FEB; case SprmCode.CLid_80: { int num2 = base.binaryReader_0.ReadUInt16(); if (num2 != 0x400) { base.wordAttrCollection_0.SetAttr(380, (short)num2); } goto Label_0FEB; } case SprmCode.CLidFarEast_80: { int num4 = base.binaryReader_0.ReadUInt16(); if (num4 != 0x400) { base.wordAttrCollection_0.SetAttr(390, (short)num4); } goto Label_0FEB; } } goto Label_0FCB; } if (code <= SprmCode.CPbiGrf) { switch (code) { case SprmCode.CLid: base.wordAttrCollection_0.SetAttr(380, (short)base.binaryReader_0.ReadUInt16()); goto Label_0FEB; case SprmCode.CLidFarEast: base.wordAttrCollection_0.SetAttr(390, (short)base.binaryReader_0.ReadUInt16()); goto Label_0FEB; case SprmCode.CPbiGrf: base.wordAttrCollection_0.SetAttr(490, (PictureBulletFlags)base.binaryReader_0.ReadInt16()); goto Label_0FEB; } goto Label_0FCB; } if (code != SprmCode.CIstd) { if (code != SprmCode.CFtcDefault) { goto Label_0FCB; } string str2 = this.class52_0.method_9(base.binaryReader_0.ReadInt16()); base.wordAttrCollection_0.SetAttr(230, str2); base.wordAttrCollection_0.SetAttr(270, str2); base.wordAttrCollection_0.SetAttr(0xeb, str2); base.wordAttrCollection_0.SetAttr(240, str2); goto Label_0FEB; } int num5 = base.binaryReader_0.ReadInt16(); string name = string.Empty; using (Dictionary <string, int> .Enumerator enumerator = this.dictionary_0.GetEnumerator()) { KeyValuePair <string, int> current; while (enumerator.MoveNext()) { current = enumerator.Current; if (current.Value == num5) { goto Label_0AD9; } } goto Label_0AF1; Label_0AD9: name = current.Key; } Label_0AF1: if (base.wordAttrCollection_0.Document.Styles.FindByName(name, StyleType.CharacterStyle) != null) { (base.wordAttrCollection_0 as CharacterFormat).CharStyleName = name; } goto Label_0FEB; Label_0F30: base.wordAttrCollection_0.SetAttr(190, ((float)base.binaryReader_0.ReadUInt16()) / 2f); goto Label_0FEB; Label_0FCB: return(false); Label_0FEB: return(true); }