Пример #1
0
 internal Class432 method_68(Class13 A_0)
 {
     base.class345_0.BaseStream.Position = 0L;
     base.wordAttrCollection_0           = A_0.Interface8.imethod_3();
     if (A_0.Istd >= 15)
     {
         base.class345_0.method_1(SprmCode.TIstd, A_0.Istd);
     }
     this.method_87(true);
     this.method_91(SprmCode.TWidthBefore, 0x109a);
     Class592.smethod_2(this.method_93(), SprmCode.TCellPaddingDefault, this, icomparer_1);
     this.method_91(SprmCode.TLeftIndent, 0x10f4);
     foreach (ConditionalFormattingCode code in A_0.method_25().Keys)
     {
         CellFormat format = A_0.method_25()[code].method_24();
         if (format != null)
         {
             long num = base.method_36(SprmCode.TCnf, code);
             if (format.method_6(0xbf4))
             {
                 base.class345_0.method_0(SprmCode.TCellVertAlignStyle, (byte)format.VerticalAlignment);
             }
             base.method_31(SprmCode.TCellBrcTopStyle, format.Borders.Top);
             base.method_31(SprmCode.TCellBrcBottomStyle, format.Borders.Bottom);
             base.method_31(SprmCode.TCellBrcLeftStyle, format.Borders.Left);
             base.method_31(SprmCode.TCellBrcRightStyle, format.Borders.Top);
             base.method_31(SprmCode.TCellBrcInsideHStyle, format.Borders.Horizontal);
             base.method_31(SprmCode.TCellBrcInsideVStyle, format.Borders.Vertical);
             base.method_31(SprmCode.TCellBrcTL2BRStyle, format.Borders.DiagonalUp);
             base.method_31(SprmCode.TCellBrcTR2BLStyle, format.Borders.DiagonalDown);
             base.method_35(SprmCode.TCellShdStyle, format.method_31(0xc62));
             base.method_37(num);
         }
     }
     if (base.wordAttrCollection_0.method_6(0x1194))
     {
         base.class345_0.method_0(SprmCode.TCHorzBands, (int)((long)base.wordAttrCollection_0.method_31(0x1194)));
     }
     if (base.wordAttrCollection_0.method_6(0x119e))
     {
         base.class345_0.method_0(SprmCode.TCVertBands, (int)((long)base.wordAttrCollection_0.method_31(0x119e)));
     }
     base.method_35(SprmCode.TCellShdStyle, A_0.Interface8.imethod_1().method_31(0xc62));
     return(new Class432(base.method_2()));
 }
Пример #2
0
 internal byte[] method_72(Class13 A_0)
 {
     base.class345_0.BaseStream.Position = 0L;
     base.wordAttrCollection_0           = A_0.ParaPr;
     this.vmethod_0();
     foreach (ConditionalFormattingCode code in A_0.method_25().Keys)
     {
         Class10 class2 = A_0.method_25()[code];
         if (class2.ParaPr != null)
         {
             long num = base.method_36(SprmCode.PCnf, code);
             base.wordAttrCollection_0 = class2.ParaPr;
             this.vmethod_0();
             base.method_37(num);
         }
     }
     return(base.method_2());
 }
Пример #3
0
 internal static bool smethod_2(Class13 A_0)
 {
     foreach (ConditionalFormattingCode code in A_0.method_25().Keys)
     {
         CharacterFormat runPr = A_0.method_25()[code].RunPr;
         if (runPr != null)
         {
             foreach (int num in arrayList_0)
             {
                 if (runPr.method_6(num) && (Class791.smethod_6(hashtable_1, runPr.method_31(num)) == null))
                 {
                     return(true);
                 }
             }
         }
     }
     return(false);
 }