internal void method_15(bool A_0) { if (A_0) { Class592.smethod_0(this.class732_0, 0xbc4, SprmCode.TCellWidth, this); } else { for (int i = 0; i < this.class732_0.Count; i++) { if ((this.class732_0.method_0(i).WidthUnit == FtsWidth.Auto) || (this.class732_0.method_0(i).WidthUnit == FtsWidth.None)) { this.method_23(i, i + 1, 3, this.class732_0.method_0(i).TwipCellWidth); } } } }
private void method_80() { this.class758_0.method_30((Class732)this.method_93().method_31(0x13ec)); int num = (int)(((this.method_93().Paddings.Left + this.method_93().Paddings.Right) * 20f) / 2f); base.class345_0.method_1(SprmCode.TDxaLeft, (this.class1056_0.method_0() + num) + ((int)this.method_93().GridBeforeWidth.method_49())); this.class758_0.method_13(base.method_56()); this.class758_0.method_15(false); Class592.smethod_0((Class732)this.method_93().method_31(0x13ec), 0xbc2, SprmCode.TDxaCol, this.class758_0); if (this.method_83()) { int num3; if (this.method_93().OwnerRow.OwnerTable.TableStyle is Style) { int num2 = this.method_93().Document.Styles.DocStyleCollection.method_17(this.method_93().OwnerRow.OwnerTable.TableStyle as Style); num3 = (num2 != 0xfff) ? num2 : 11; } else { num3 = 11; } base.class345_0.method_1(SprmCode.TIstd, num3); } if (!base.method_56() && (num != 0)) { base.class345_0.method_1(SprmCode.TDxaGapHalf, num); } this.method_82(); base.method_3(SprmCode.TTableHeader, 0xfc8); this.method_88(); Class732 class2 = (Class732)this.rowFormat_1.method_31(0x13ec); this.class758_0.method_17(class2, SprmCode.TCellShd); base.method_9(SprmCode.TFBiDi, 0x111c); this.method_89(); base.method_52(SprmCode.TPositionCode, 0x3f, 0x40); base.method_49(SprmCode.TFrameLeft, 0x3d, 0x3b); base.method_50(SprmCode.TFrameTop, 0x3e, 60); if (this.method_93().Positioning.HasKey(0x43)) { base.method_16(SprmCode.TFromTextLeft, (short)Math.Round((double)(this.method_93().Positioning.DistanceFromLeft * 20f), 2)); } if (this.method_93().Positioning.HasKey(0x41)) { base.method_16(SprmCode.TFromTextTop, (short)Math.Round((double)(this.method_93().Positioning.DistanceFromTop * 20f), 2)); } this.class758_0.method_17(class2, SprmCode.TCellShdEx3); this.class758_0.method_17(class2, SprmCode.TCellShdEx); this.class758_0.method_14(); this.method_87(true); this.method_90(SprmCode.TTableWidth, 0x1086); base.method_5(SprmCode.TFAllowAutoFit, base.wordAttrCollection_0.method_32(0x1090)); this.class758_0.method_17(class2, SprmCode.TCellShdEx2); this.method_91(SprmCode.TWidthBefore, 0x109a); this.method_91(SprmCode.TWidthAfter, 0x10a4); Class592.smethod_0(class2, 0xbea, SprmCode.TTextFlow, this.class758_0); Class592.smethod_0(class2, 0xbf4, SprmCode.TVertAlign, this.class758_0); if (this.method_93().Positioning.HasKey(0x44)) { base.method_16(SprmCode.TFromTextRight, (short)Math.Round((double)(this.method_93().Positioning.DistanceFromRight * 20f), 2)); } if (this.method_93().Positioning.HasKey(0x42)) { base.method_16(SprmCode.TFromTextBottom, (short)Math.Round((double)(this.method_93().Positioning.DistanceFromBottom * 20f), 2)); } this.class758_0.method_16(); this.class758_0.method_15(true); Class592.smethod_0(class2, 0xc76, SprmCode.TFitText, this.class758_0); Class592.smethod_0(class2, 0xc6c, SprmCode.TFCellNoWrap, this.class758_0); Class592.smethod_4(class2, SprmCode.TSetBrc, this.class758_0, icomparer_0); Class592.smethod_0(class2, 0xc94, SprmCode.TCellHideMark, this.class758_0); this.class758_0.method_26(); object obj2 = null; if ((base.wordAttrCollection_0 as RowFormat).Positioning.method_6(0x45)) { obj2 = !((bool)(base.wordAttrCollection_0 as RowFormat).Positioning.method_32(0x45)); } base.method_4(SprmCode.TFCantOverlap, obj2); if ((base.wordAttrCollection_0 as RowFormat).IsChangedFormat) { WordAttrCollection attrs = base.wordAttrCollection_0; base.wordAttrCollection_0 = base.wordAttrCollection_0.FormatRevision.method_4(); base.method_46(SprmCode.TPropRMark, SprmCode.TWall); base.wordAttrCollection_0 = attrs; } Class592.smethod_3(class2, SprmCode.TCellPadding, this.class758_0); Class354.smethod_4(base.class345_0, SprmCode.TCellSpacingDefault, CellAlign.Box, this.method_93().method_31(0x10c2)); base.method_34(SprmCode.TTableShd, 0x10ea); Class592.smethod_1(this.method_93(), SprmCode.TCellPaddingDefault, this); base.method_6(SprmCode.TFCantSplit, 0x1108); this.class758_0.method_18(SprmCode.TCellShdExRaw); this.class758_0.method_18(SprmCode.TCellShdExRaw2); this.class758_0.method_18(SprmCode.TCellShdExRaw3); this.method_91(SprmCode.TLeftIndent, 0x10f4); base.method_18(SprmCode.TRsidTr, 0x1130); this.method_86(true); }