private string method_10() { float num; switch (((TableAlignment)this.method_13().method_8().TableFormat.method_32(0xfaa))) { case TableAlignment.Center: return(Class576.smethod_35((Class969.smethod_31(this.method_11()) - this.method_13().method_10()) / 2)); case TableAlignment.Right: return(Class576.smethod_35(Class969.smethod_31(this.method_11()) - this.method_13().method_10())); default: { Table table = this.method_13().method_8(); num = 2.147484E+09f; int num2 = 0; for (TableRow row = table.Rows[0]; row != null; row = table.Rows[num2++]) { if (num2 >= table.Rows.Count) { break; } num = Math.Min(row.RowFormat.LeftIndent, num); } break; } } return(Class576.smethod_42((double)num)); }
internal Class347(ShapeBase A_0) { this.int_1 = A_0.Id; this.bool_0 = false; this.bool_1 = false; Class265 class2 = Class265.smethod_3(A_0); TextWrappingStyle shapeAttribute = (TextWrappingStyle)A_0.GetShapeAttribute(0x1001); if (shapeAttribute != TextWrappingStyle.Inline) { this.horizontalOrigin_0 = A_0.HorizontalOrigin; this.verticalOrigin_0 = A_0.VerticalOrigin; if (this.horizontalOrigin_0 > HorizontalOrigin.Column) { this.horizontalOrigin_0 = HorizontalOrigin.Column; } if (this.verticalOrigin_0 > VerticalOrigin.Paragraph) { this.verticalOrigin_0 = VerticalOrigin.Paragraph; } this.textWrappingStyle_0 = (shapeAttribute == TextWrappingStyle.Behind) ? TextWrappingStyle.InFrontOfText : shapeAttribute; this.textWrappingType_0 = A_0.TextWrappingType; this.bool_2 = A_0.BehindText; this.bool_3 = A_0.AnchorLocked; } else { class2.double_0 = 0.0; class2.double_1 = 0.0; this.horizontalOrigin_0 = HorizontalOrigin.Column; this.verticalOrigin_0 = VerticalOrigin.Paragraph; this.textWrappingStyle_0 = TextWrappingStyle.InFrontOfText; this.textWrappingType_0 = TextWrappingType.Both; this.bool_2 = false; this.bool_3 = true; } this.int_2 = Class969.smethod_31(class2.double_0); this.int_3 = Class969.smethod_31(class2.double_1); this.int_4 = Class969.smethod_31(class2.double_0 + class2.double_2); this.int_5 = Class969.smethod_31(class2.double_1 + class2.double_3); this.int_6 = 0; }
private static int smethod_4(Class857 A_0, Class106 A_1, Class975 A_2) { int num = 0; Class108 class2 = Class574.smethod_11(A_0, A_0.method_14(), A_0.method_26()); if (class2 != null) { int num2 = Class969.smethod_31((double)class2.method_8().PageSetup.ClientWidth); int num3 = 0; int num4 = 0; if (A_1 == null) { return(num); } int num5 = (A_1.method_16() == -2147483648) ? num2 : A_1.method_16(); foreach (Class94 class3 in A_1.method_20()) { if (class3.method_12() == -2147483648) { num3++; } else { num4 += class3.method_12(); } } if (A_2.method_5() > A_1.method_20().Count) { num3 += A_2.method_5() - A_1.method_20().Count; } if (num3 > 0) { num = (num5 - num4) / num3; } } return(num); }
internal Class623 method_9() { return(new Class623(Class969.smethod_31(this.method_8()), false)); }