internal static TabCollection smethod_0(BinaryReader A_0, TabCollection A_1, bool A_2) { int num = A_0.ReadByte(); int[] numArray = new int[num]; for (int i = 0; i < num; i++) { numArray[i] = A_0.ReadInt16(); } int[] numArray3 = null; if (A_2) { numArray3 = new int[num]; for (int n = 0; n < num; n++) { numArray3[n] = A_0.ReadInt16(); } } for (int j = 0; j < num; j++) { Tab tab2 = new Tab(A_1.Document, ((float)numArray[j]) / 20f, TabJustification.Clear, TabLeader.NoLeader) { DeletePosition = numArray[j], Position = 0f }; A_1.method_6(tab2); } int num6 = A_0.ReadByte(); int[] numArray2 = new int[num6]; for (int k = 0; k < num6; k++) { numArray2[k] = A_0.ReadInt16(); } byte[] buffer = new byte[num6]; Stream baseStream = A_0.BaseStream; int num8 = (int)(baseStream.Length - baseStream.Position); baseStream.Read(buffer, 0, Math.Min(num6, num8)); for (int m = 0; m < num6; m++) { if ((m > 0) && (numArray2[m] <= numArray2[m - 1])) { return(A_1); } Tab tab = A_1.AddTab(((float)numArray2[m]) / 20f, ((TabJustification)buffer[m]) & TabJustification.Clear, (TabLeader)((buffer[m] & 0x38) >> 3)); if (tab.Justification == (TabJustification.Bar | TabJustification.Centered)) { tab.Justification = TabJustification.Left; } tab.Undocumented40 = (buffer[m] & 0x40) != 0; } return(A_1); }
private static void smethod_4(TabCollection A_0, TabCollection A_1) { if ((A_0 != null) && (A_1 != null)) { for (int i = 0; i < A_0.Count; i++) { Tab tab = A_0[i].method_5(); tab.Justification = TabJustification.Clear; A_1.method_6(tab); } } }
private static TabCollection smethod_6(Class857 A_0, double A_1) { int num = 11; TabCollection tabs = new TabCollection(A_0.method_9()); Class396 class2 = A_0.method_11(); while (class2.method_9(BookmarkStart.b("䔰刲圴ᨶ䨸伺刼伾㉀", num))) { string str; if (((str = class2.method_1()) != null) && (str == BookmarkStart.b("䔰刲圴ᨶ䨸伺刼伾", num))) { tabs.method_6(smethod_7(A_0, A_1)); } else { class2.vmethod_1(); } } return(tabs); }