예제 #1
0
    private void method_2(Table A_0)
    {
        Class656 class2 = new Class656();
        float    num    = A_0.method_71(A_0);
        int      num2   = (int)(this.method_0(A_0.FirstRow).LeftIndent * 20f);

        for (TableRow row = A_0.FirstRow; row != null; row = row.NextSibling as TableRow)
        {
            CellCollection cells      = row.Cells;
            int            gridBefore = row.RowFormat.GridBefore;
            int            num6       = (int)Math.Round((double)(num2 + this.method_0(row).GridBeforeWidth.method_49()));
            class2.method_4(num6, null);
            foreach (TableCell cell in cells)
            {
                int        num5   = gridBefore + cell.GridSpanEx;
                CellFormat format = this.method_1(cell);
                format.TwipCellWidth = (format.TwipCellWidth != 0) ? format.TwipCellWidth : this.method_4(cell, num, A_0._ColumnWidths, ref gridBefore, num5);
                num6 += this.method_1(cell).TwipCellWidth;
                class2.method_4(num6, null);
            }
        }
        this.int_1 = new int[Math.Max(class2.method_2() - 1, 0)];
        for (int i = 0; i < this.int_1.Length; i++)
        {
            this.int_1[i] = class2.method_13(i + 1) - class2.method_13(i);
        }
    }
예제 #2
0
 private void method_3(Class656 A_0)
 {
     for (int i = A_0.method_2() - 1; i > 0; i--)
     {
         if (Math.Abs((int)(A_0.method_13(i) - A_0.method_13(i - 1))) < 5)
         {
             A_0.method_17(i);
         }
     }
 }