Ejemplo n.º 1
0
    internal Class10 method_26(ConditionalFormattingCode A_0)
    {
        Class10 class2 = new Class10(A_0, base.Document);

        this.dictionary_2.Add(A_0, class2);
        return(class2);
    }
Ejemplo n.º 2
0
 internal Class10 method_29(ConditionalFormattingCode A_0)
 {
     if (this.dictionary_2.ContainsKey(A_0))
     {
         return(this.dictionary_2[A_0]);
     }
     return(null);
 }
Ejemplo n.º 3
0
    protected long method_36(SprmCode A_0, ConditionalFormattingCode A_1)
    {
        this.bool_0 = true;
        this.class345_0.method_5(A_0);
        long position = (int)this.class345_0.BaseStream.Position;

        this.class345_0.Write((byte)0);
        this.class345_0.Write((ushort)smethod_0(A_1));
        return(position);
    }
Ejemplo n.º 4
0
    private Class10 method_28(ConditionalFormattingCode A_0)
    {
        Class10 class2 = this.method_29(A_0);

        if (class2 == null)
        {
            class2 = new Class10(A_0, base.Document);
            this.dictionary_2.Add(A_0, class2);
        }
        return(class2);
    }
Ejemplo n.º 5
0
 internal Class10(ConditionalFormattingCode A_0, IDocument A_1) : base((Document)A_1)
 {
     this.conditionalFormattingCode_0 = A_0;
     base.m_ParaPr = new ParagraphFormat(base.Document);
     base.m_ParaPr.method_0(this);
     this.form3_0 = new Form3(base.Document);
     this.form3_0.method_0(this);
     this.form1_0 = new Form1(base.Document);
     this.form1_0.method_0(this);
     this.form2_0 = new Form2(base.Document);
     this.form2_0.method_0(this);
 }
Ejemplo n.º 6
0
    protected void method_53(Interface15 A_0, BinaryReader A_1, int A_2, TableStylePrType A_3)
    {
        ConditionalFormattingCode code = this.method_0((Cnfc)A_1.ReadInt16());

        this.bool_0 = true;
        WordAttrCollection attrs = this.wordAttrCollection_0;

        this.wordAttrCollection_0 = this.class13_0.method_27(code, A_3);
        new Class479(A_0, A_1).method_1(A_1.ReadBytes(A_2 - 2));
        this.wordAttrCollection_0 = attrs;
        this.bool_0 = false;
    }
Ejemplo n.º 7
0
    internal WordAttrCollection method_27(ConditionalFormattingCode A_0, TableStylePrType A_1)
    {
        int     num    = 6;
        Class10 class2 = this.method_28(A_0);

        switch (A_1)
        {
        case TableStylePrType.Run:
            return(class2.RunPr);

        case TableStylePrType.Para:
            return(class2.ParaPr);

        case TableStylePrType.Cell:
            return(class2.method_24());
        }
        throw new InvalidOperationException(BookmarkStart.b("礫䀭嬯就嬳䄵嘷ᨹ䰻䰽ᐿ㭁㑃⍅桇㱉ⵋ≍╏㝑穓", num));
    }
Ejemplo n.º 8
0
    private static Cnfc smethod_0(ConditionalFormattingCode A_0)
    {
        switch (A_0)
        {
        case ConditionalFormattingCode.OddRowBanding:
            return(Cnfc.BandedRows);

        case ConditionalFormattingCode.OddColumnBanding:
            return(Cnfc.BandedColumns);

        case ConditionalFormattingCode.EvenRowBanding:
            return(Cnfc.EvenRowBanding);

        case ConditionalFormattingCode.EvenColumnBanding:
            return(Cnfc.EvenColumnBanding);

        case ConditionalFormattingCode.FirstColumn:
            return(Cnfc.FirstColumn);

        case ConditionalFormattingCode.FirstRow:
            return(Cnfc.HeaderRow);

        case ConditionalFormattingCode.LastColumn:
            return(Cnfc.LastColumn);

        case ConditionalFormattingCode.LastRow:
            return(Cnfc.FooterRow);

        case ConditionalFormattingCode.FirstRowLastCell:
            return(Cnfc.TopRightCell);

        case ConditionalFormattingCode.FirstRowFirstCell:
            return(Cnfc.TopLeftCell);

        case ConditionalFormattingCode.LastRowLastCell:
            return(Cnfc.BottomRightCell);

        case ConditionalFormattingCode.LastRowFirstCell:
            return(Cnfc.BottomLeftCell);
        }
        return(Cnfc.None);
    }