internal static void smethod_1(ParagraphFormat A_0) { Class646 class2 = new Class646(A_0); class2.method_0(0x654, 0x488, 0x47e); class2.method_0(0x65e, 0x47e, 0x488); class2.method_0(0x668, 0x492, 0x492); class2.method_1(); }
private void imethod_11(ParagraphFormat A_0, CharacterFormat A_1) { int num = 3; if (this.shapeObject_0 == null) { while (this.documentObject_0.DocumentObjectType == DocumentObjectType.SmartTag) { this.Interface28.imethod_35(); } while (this.documentObject_0.DocumentObjectType == DocumentObjectType.CustomXml) { this.Interface28.imethod_37(); } if (this.documentObject_0.DocumentObjectType != DocumentObjectType.Paragraph) { throw new InvalidOperationException(BookmarkStart.b("昨帪夬༮帰唲ᔴ䐶䀸唺帼ᄾ", num)); } Paragraph paragraph = (Paragraph)this.documentObject_0; paragraph.method_23(A_0); if (A_0.HasKey(0x271a)) { A_0.FormatRevision.method_4().method_0(paragraph); } this.method_1(paragraph, A_0); this.method_2(paragraph, A_0); paragraph.BreakCharacterFormat.method_73(A_1); Class646.smethod_1(paragraph.Format); this.method_13(); if (this.documentObject_0.Owner is Comment) { this.method_13(); } if (this.stack_2.Count > 0) { this.stack_2.Clear(); } } }
private void imethod_32(RowFormat A_0) { int num = 14; if (this.documentObject_0.DocumentObjectType != DocumentObjectType.TableRow) { throw new InvalidOperationException(BookmarkStart.b("笳䌵䰷ᨹ医堽怿ㅁ㵃⡅⭇摉", num)); } TableRow row = (TableRow)this.documentObject_0; Class732 class3 = (Class732)A_0.method_31(0x13ec); if (class3 != null) { row.HasTblPrEx = true; row.RowFormat.method_25(A_0); this.method_8(row, class3); smethod_8(row); smethod_10(row); this.method_9(A_0, row); row.RowFormat.Remove(0x13ec); Class580 formatRevision = row.RowFormat.FormatRevision; if (formatRevision != null) { formatRevision.method_4().Remove(0x13ec); } Class646.smethod_2(row.RowFormat); this.method_10(row); row.method_30(); this.method_13(); } else { this.method_13(); row.method_19(); } }
private bool method_11(ListLevel A_0) { bool flag2; int num = 7; A_0.method_10(this.binaryReader_0.ReadInt32()); A_0.PatternType = (ListPatternType)this.binaryReader_0.ReadByte(); int num2 = this.binaryReader_0.ReadByte(); A_0.NumberAlignment = ((ListNumberAlignment)num2) & (ListNumberAlignment.Right | ListNumberAlignment.Center); A_0.IsLegalStyleNumbering = (num2 & 4) != 0; bool flag = (num2 & 8) != 0; A_0.bool_8 = (num2 & 0x10) != 0; A_0.bool_9 = (num2 & 0x20) != 0; A_0.Word6Legacy = (num2 & 0x40) != 0; A_0.bool_7 = (num2 & 0x80) != 0; this.binaryReader_0.ReadBytes(9); A_0.FollowCharacter = (FollowCharacterType)this.binaryReader_0.ReadByte(); A_0.LegacySpace = this.binaryReader_0.ReadInt32(); A_0.LegacyIndent = this.binaryReader_0.ReadInt32(); int num3 = this.binaryReader_0.ReadByte(); int num4 = this.binaryReader_0.ReadByte(); int num5 = this.binaryReader_0.ReadByte() - 1; this.binaryReader_0.ReadByte(); if (flag && (num5 == 0)) { A_0.NoRestartByHigher = true; } this.class141_0.method_65(new Class428(this.binaryReader_0, num4).method_2(), A_0.ParagraphFormat, null); if ((this.class703_0.nfibEnum_0 == NFibEnum.Word97BiDi) && !A_0.ParagraphFormat.method_6(0x618)) { A_0.ParagraphFormat.IsBidi = true; Class646.smethod_1(A_0.ParagraphFormat); A_0.ParagraphFormat.Remove(0x618); } else { Class646.smethod_1(A_0.ParagraphFormat); } this.class140_0.method_62(new Class428(this.binaryReader_0, num3).method_2(), A_0.CharacterFormat, null, this.dictionary_2); uint num7 = this.binaryReader_0.ReadUInt16(); Stream baseStream = this.binaryReader_0.BaseStream; baseStream.Position -= 2L; if (flag2 = Class567.smethod_46(this.binaryReader_0, (int)num7)) { string str = Class813.smethod_1(this.binaryReader_0, true, false); if ((ListLevel.smethod_1(str) && (str != null)) && ((str.Length <= 30) && (str.IndexOf(0xffff) < 0))) { for (int i = 0; i < 9; i++) { str = str.Replace(((char)i).ToString(), string.Format(BookmarkStart.b("ࠬ吮İ串", num), i + 1)); } if (A_0.PatternType == ListPatternType.Bullet) { A_0.BulletCharacter = str; } else { A_0.LevelText = str; string str3 = BookmarkStart.b("ࠬ", num) + ((A_0.LevelNumber + 1)).ToString(); int index = str.IndexOf(str3); if (index != -1) { A_0.NumberPrefix = str.Substring(0, index); A_0.NumberPrefix = this.method_12(A_0.NumberPrefix); int startIndex = index + 2; A_0.NumberSufix = str.Substring(startIndex, str.Length - startIndex); } else { A_0.NoPlaceholder = true; if (!string.IsNullOrEmpty(str)) { A_0.NumberPrefix = str; } else { A_0.NumberPrefix = (string)(A_0.NumberSufix = null); } A_0.NoLevelText = true; } } } } smethod_0(A_0); return(flag2); }
void Interface28.imethod_0() { Class646.smethod_0(this.document_0.Styles, false); }