Exemplo n.º 1
0
 private void imethod_11(string A_0, Class43 A_1)
 {
     if (Class567.smethod_16(A_0))
     {
         this.hashtable_8[A_0] = A_1;
     }
 }
Exemplo n.º 2
0
    private static void smethod_4(Class393 A_0, Hashtable A_1)
    {
        int    num  = 0x10;
        string str  = null;
        string str2 = null;

        while (A_0.method_19())
        {
            string str3 = A_0.method_1();
            if (str3 != null)
            {
                if (!(str3 == BookmarkStart.b("猵䀷丹夻倽㌿⭁⭃⡅", num)))
                {
                    if (str3 == BookmarkStart.b("电圷吹䠻嬽⸿㙁၃㽅㡇⽉", num))
                    {
                        str = A_0.method_3();
                    }
                }
                else
                {
                    str2 = A_0.method_3();
                }
            }
        }
        if (Class567.smethod_16(str) && Class567.smethod_16(str2))
        {
            A_1[str2] = str;
        }
    }
Exemplo n.º 3
0
 internal void method_21(string A_0)
 {
     if (Class567.smethod_16(A_0))
     {
         this.string_0 = A_0;
     }
 }
Exemplo n.º 4
0
    private static string smethod_10(string A_0)
    {
        if (!Class567.smethod_16(A_0))
        {
            return(string.Empty);
        }
        StringBuilder builder = new StringBuilder();

        foreach (char ch in A_0)
        {
            if ((ch > ' ') && (ch < '\x007f'))
            {
                builder.Append((char)(0xff00 | (ch - ' ')));
            }
            else if (ch == ' ')
            {
                builder.Append(' ');
            }
            else
            {
                builder.Append(ch);
            }
        }
        return(builder.ToString());
    }
Exemplo n.º 5
0
    private static bool smethod_2(string A_0)
    {
        bool flag2;

        if (!Class567.smethod_16(A_0))
        {
            return(false);
        }
        bool flag = true;

        using (IEnumerator enumerator = new Class1087(A_0).System.Collections.IEnumerable.GetEnumerator())
        {
            while (enumerator.MoveNext())
            {
                int current = (int)enumerator.Current;
                if (!smethod_4(current, flag))
                {
                    goto Label_003C;
                }
                flag = false;
            }
            return(true);

Label_003C:
            flag2 = false;
        }
        return(flag2);
    }
Exemplo n.º 6
0
    private void method_7(string A_0)
    {
        int      num    = 4;
        Class400 class2 = this.class422_0.method_18();

        foreach (Match match in regex_1.Matches(A_0))
        {
            string str = match.Groups[5].Value;
            if (Class567.smethod_16(str))
            {
                class2.method_15(str);
            }
            string str2 = match.Groups[3].Value;
            if (Class567.smethod_16(str2))
            {
                this.method_9(str2.Length);
            }
            if (Class567.smethod_16(match.Groups[1].Value))
            {
                this.method_8();
            }
            if (Class567.smethod_16(match.Groups[2].Value))
            {
                class2.method_9(BookmarkStart.b("ᘩ堫䬭䠯䘱ำ娵儷吹夻ጽ∿ぁ⅃❅⍇敉牋", num));
            }
        }
    }
Exemplo n.º 7
0
    internal static void smethod_0(Class857 A_0, Class106 A_1, Class571 A_2, bool A_3)
    {
        int num = 6;

        if (!A_3)
        {
            Class1140 class2 = new Class1140();
            class2.method_9(new TableCell(A_0.method_9()));
            A_0.method_17(null);
            smethod_5(A_0, class2);
            if (!Class567.smethod_16(A_0.method_16()))
            {
                A_0.method_17(A_2.method_6());
            }
            Class100 class3 = (Class100)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("堫伭刯帱儳ᬵ嬷弹倻刽", num), A_0.method_20(), true);
            if ((class3 != null) && (class3.method_45() != null))
            {
                smethod_2(class2.method_8().CellFormat.Borders.Top, class3.method_45().Borders.Top);
                smethod_2(class2.method_8().CellFormat.Borders.Bottom, class3.method_45().Borders.Bottom);
                smethod_2(class2.method_8().CellFormat.Borders.Left, class3.method_45().Borders.Left);
                smethod_2(class2.method_8().CellFormat.Borders.Right, class3.method_45().Borders.Right);
                class2.method_8().CellFormat.BackColor = class3.method_45().BackColor;
                class2.method_8().CellFormat.TextWrap = class3.method_45().TextWrap;
                class2.method_8().CellFormat.Shading.CopyPropertiesTo(class3.method_45().Shading);
                class2.method_8().CellFormat.VerticalAlignment = class3.method_45().VerticalAlignment;
                class2.method_8().CellFormat.SamePaddingsAsTable = class3.method_45().SamePaddingsAsTable;
                smethod_3(class2.method_8().CellFormat.Paddings, class3.method_45().Paddings);
                class2.method_8().CellFormat.TextDirection = class3.method_45().TextDirection;
            }
            smethod_6(A_0, class3, class2.method_8(), A_1);
            A_2.Add(class2);
            smethod_4(A_1, A_2, class2);
        }
    }
Exemplo n.º 8
0
 internal void method_3(string A_0, string A_1)
 {
     if (Class567.smethod_16(A_1))
     {
         this.method_14(A_0, Class1125.smethod_1(A_1));
     }
 }
Exemplo n.º 9
0
    internal static Class43 smethod_1(ShapeType A_0)
    {
        Class43 class2 = null;

        lock (object_1)
        {
            if (dictionary_0.ContainsKey(A_0))
            {
                class2 = dictionary_0[A_0];
            }
        }
        if (class2 == null)
        {
            lock (object_1)
            {
                if (dictionary_0.ContainsKey(A_0))
                {
                    return(dictionary_0[A_0]);
                }
                dictionary_0[A_0] = null;
                string str = smethod_0(A_0);
                if (Class567.smethod_16(str))
                {
                    class2            = Class964.smethod_3(new Class466(str));
                    dictionary_0[A_0] = class2;
                }
            }
        }
        return(class2);
    }
Exemplo n.º 10
0
    public string method_8(string A_0)
    {
        int num = 0;

        if (!Class567.smethod_16(A_0))
        {
            return("");
        }
        Class1088 class2 = this.class644_0.method_4(A_0);

        if (class2 == null)
        {
            return("");
        }
        if (class2.method_3())
        {
            string str = class2.method_2();
            if (str.StartsWith(BookmarkStart.b("䀥䄧䘩䤫ᐭἯᴱ", num)))
            {
                str = Class736.smethod_17(str.Replace(BookmarkStart.b("䀥䄧䘩䤫ᐭἯᴱ", num), ""));
            }
            return(str);
        }
        if (Class736.smethod_14(class2.method_2()))
        {
            return(class2.method_2());
        }
        return(this.method_9(class2));
    }
Exemplo n.º 11
0
 private static string smethod_24(Class857 A_0, Paragraph A_1)
 {
     int num = 0x10;
     string str = A_0.method_11().method_3().Replace('\r', ' ').Replace('\n', ' ').Replace('\t', ' ');
     str = smethod_22(A_0, A_1, str).Replace('‑', '\x001e').Replace('\x00ad', '\x001f');
     string str2 = str.Trim(new char[] { ' ' });
     bool flag = A_1.ChildObjects.Count == 0;
     if (!Class567.smethod_16(str2))
     {
         if (Class567.smethod_16(str) && !flag)
         {
             Class857.string_4 = BookmarkStart.b("ᘵ", num);
         }
         return null;
     }
     StringBuilder builder = new StringBuilder();
     for (int i = 0; i < str2.Length; i++)
     {
         if (((i == (str2.Length - 1)) || (str2[i] != ' ')) || (str2[i + 1] != ' '))
         {
             builder.Append(str2[i]);
         }
     }
     if ((smethod_26(str) || Class567.smethod_16(Class857.string_4)) && !flag)
     {
         builder.Insert(0, ' ');
     }
     Class857.string_4 = smethod_25(str);
     return builder.ToString();
 }
Exemplo n.º 12
0
 internal void method_34(int A_0, string A_1)
 {
     if (Class567.smethod_16(A_1))
     {
         this.SetAttr(A_0, A_1);
     }
 }
Exemplo n.º 13
0
    private static void smethod_4(Class857 A_0, Paragraph A_1, CharacterFormat A_2, Style A_3)
    {
        int      num    = 7;
        Class396 class2 = A_0.method_11();
        Document doc    = A_0.method_9();
        string   str    = class2.method_12(BookmarkStart.b("䌬丮尰嘲", 7), null);
        string   str2   = class2.method_12(BookmarkStart.b("帬嬮䌰娲嬴倶ᐸ䴺尼匾㑀♂", 7), null);

        if (!Class567.smethod_16(str2))
        {
            str2 = class2.method_21();
        }
        string str3 = class2.method_12(BookmarkStart.b("䤬䘮䈰䌲头嘶䀸", num), null);

        if (Class567.smethod_16(str) && (str3 != BookmarkStart.b("䌬䀮弰嘲", num)))
        {
            smethod_12(A_0, A_1, FieldType.FieldSet, string.Format(BookmarkStart.b("縬樮攰ጲ临ܶ䐸ᬺἼ䐾灀㹂杄", num), str, str2), str2, A_2, A_3);
            smethod_12(A_0, A_1, FieldType.FieldRef, string.Format(BookmarkStart.b("缬樮眰ጲ᜴䰶स䘺Ἴ", num), str), str2, A_2, A_3);
            int num2 = 0;
            foreach (Bookmark bookmark in doc.Bookmarks)
            {
                if (Class567.smethod_41(str, bookmark.Name))
                {
                    break;
                }
                num2++;
            }
            if (num2 == doc.Bookmarks.Count)
            {
                A_1.method_13(new BookmarkStart(doc, str));
                A_1.method_13(new BookmarkEnd(doc, str));
            }
        }
    }
Exemplo n.º 14
0
 internal void method_40(string A_0, string A_1)
 {
     if (Class567.smethod_16(A_1))
     {
         base.method_18(A_0, A_1);
     }
 }
Exemplo n.º 15
0
 private void method_4(ParagraphBase A_0)
 {
     if (A_0 is TextRange)
     {
         Paragraph paragraph = A_0.method_28();
         foreach (Match match in regex_0.Matches(((TextRange)A_0).Text))
         {
             if (((Class567.smethod_16(match.Groups[2].Value) || Class567.smethod_16(match.Groups[1].Value)) || Class567.smethod_16(match.Groups[3].Value)) && !this.method_6(A_0, match.Index))
             {
                 if (Class567.smethod_16(match.Groups[2].Value))
                 {
                     this.class974_0.method_8(paragraph, false, true);
                 }
                 if (Class567.smethod_16(match.Groups[1].Value))
                 {
                     this.class974_0.method_8(paragraph, true, false);
                 }
                 if (Class567.smethod_16(match.Groups[3].Value))
                 {
                     this.class974_0.method_8(paragraph, false, false);
                 }
             }
             if (Class567.smethod_16(match.Groups[4].Value) && !this.class422_0.method_67())
             {
                 this.class974_0.method_2(A_0);
             }
         }
     }
 }
Exemplo n.º 16
0
    private void method_8(Interface46 A_0)
    {
        int num = 15;

        if (A_0 is Paragraph)
        {
            Paragraph paragraph = (Paragraph)A_0;
            Section   section   = paragraph.method_49();
            if ((section != null) || !(paragraph.OwnerTextBody.Owner is ShapeObject))
            {
                Class17 sectPr = section.SectPr;
                object  obj3   = sectPr.method_31(0x884);
                object  obj2   = sectPr.method_31(0x83e);
                if ((section.Body.Paragraphs.Count > 0) && (paragraph == section.Body.Paragraphs[0]))
                {
                    if ((obj3 != null) || (obj2 != null))
                    {
                        this.class972_0.string_11 = BookmarkStart.b("䄴䔶䰸帺", num);
                    }
                    if ((sectPr.method_60() && !this.bool_1) && !this.bool_0)
                    {
                        this.class972_0.string_18 = Class1041.smethod_8(sectPr.method_86());
                        this.class972_0.int_0++;
                    }
                }
                if ((this.class972_0.string_11 == BookmarkStart.b("䄴䔶䰸帺", num)) && !Class567.smethod_16(this.class972_0.string_12))
                {
                    object obj4 = sectPr.method_31(0x884);
                    this.class972_0.string_12 = (obj4 != null) ? Class1041.smethod_8((int)obj4) : BookmarkStart.b("д", num);
                    this.class972_0.int_0++;
                }
            }
        }
    }
Exemplo n.º 17
0
    private void method_5(ParagraphBase A_0)
    {
        Paragraph paragraph  = A_0.method_28();
        Section   section    = paragraph.method_49().Clone();
        Paragraph paragraph2 = (Paragraph)paragraph.Clone();

        section.Body.Paragraphs.Add(paragraph2);
        if (A_0 is TextRange)
        {
            foreach (Match match in regex_0.Matches(((TextRange)A_0).Text))
            {
                string str = match.Groups[4].Value;
                if (((Class567.smethod_16(match.Groups[2].Value) || Class567.smethod_16(match.Groups[1].Value)) || Class567.smethod_16(match.Groups[3].Value)) && !this.method_6(A_0, match.Index))
                {
                    this.class569_0.method_19(paragraph);
                }
                if (Class567.smethod_16(str))
                {
                    ParagraphBase entity = (ParagraphBase)A_0.Clone();
                    paragraph2.ChildObjects.Add(entity);
                    if (entity is TextRange)
                    {
                        ((TextRange)entity).Text = str;
                    }
                    this.method_0(entity);
                }
            }
        }
    }
Exemplo n.º 18
0
    private void method_9(Interface46 A_0, ParagraphFormat A_1, HorizontalAlignment A_2, bool A_3)
    {
        int               num        = 5;
        TextOrientation   horizontal = TextOrientation.Horizontal;
        VerticalAlignment top        = VerticalAlignment.Top;

        if (A_0 is Paragraph)
        {
            Paragraph paragraph = (Paragraph)A_0;
            if (paragraph.IsInCell)
            {
                horizontal = (TextOrientation)((TableCell)paragraph.OwnerTextBody).CellFormat.method_32(0xbea);
                top        = ((TableCell)paragraph.OwnerTextBody).CellFormat.VerticalAlignment;
            }
        }
        string str = Class922.smethod_11(A_3, A_2, horizontal, top);

        if (Class567.smethod_16(str))
        {
            this.class972_0.string_2 = str;
        }
        if ((A_1 != null) && (A_2 == HorizontalAlignment.Distribute))
        {
            this.class972_0.string_3 = BookmarkStart.b("䄪堬尮䔰娲匴丶", num);
        }
        if (!Class567.smethod_16(this.class972_0.string_2) && A_3)
        {
            this.class972_0.int_0--;
        }
        if (Class567.smethod_16(this.class972_0.string_2) && !A_3)
        {
            this.class972_0.int_0++;
        }
        this.method_10(A_0);
    }
Exemplo n.º 19
0
    private static void smethod_9(Form4 A_0, BinaryWriter A_1)
    {
        int position = (int)A_1.BaseStream.Position;

        A_1.Write((byte)0);
        int num2 = 0;

        num2  = (int)(FontPitch.Default | A_0.method_41());
        num2 |= A_0.method_43() ? 4 : 0;
        num2 |= ((int)A_0.method_39()) << 4;
        A_1.Write((byte)num2);
        A_1.Write((short)A_0.method_47());
        A_1.Write((byte)A_0.method_37());
        int num3 = Class567.smethod_16(A_0.method_33()) ? (A_0.method_31().Length + 1) : 0;

        A_1.Write((byte)num3);
        A_1.Write((A_0.method_35() != null) ? A_0.method_35() : byte_0);
        A_1.Write((A_0.method_45() != null) ? A_0.method_45() : byte_1);
        Class813.smethod_8(A_0.method_31(), A_1);
        if (Class567.smethod_16(A_0.method_33()))
        {
            Class813.smethod_8(A_0.method_33(), A_1);
        }
        int num4 = (int)A_1.BaseStream.Position;
        int num5 = (num4 - position) - 1;

        A_1.BaseStream.Seek((long)position, SeekOrigin.Begin);
        A_1.Write((byte)num5);
        A_1.BaseStream.Seek((long)num4, SeekOrigin.Begin);
    }
Exemplo n.º 20
0
    private void method_7(string A_0)
    {
        int num = 11;

        if (Class567.smethod_16(A_0))
        {
            string str;
            if (this.bool_1)
            {
                if (this.bool_3)
                {
                    str = BookmarkStart.b("䘰ल儴制唸爺匼䰾㕀ㅂᅄ≆ㅈ㽊", num);
                }
                else
                {
                    str = BookmarkStart.b("䘰ल尴夶䨸伺似款⑀㭂ㅄ", num);
                }
            }
            else if (this.bool_3)
            {
                str = BookmarkStart.b("䘰ल儴制唸漺堼䜾㕀", num);
            }
            else
            {
                str = this.class399_0.method_57() ? BookmarkStart.b("尰ल䄴", num) : BookmarkStart.b("䘰ल䄴", num);
            }
            this.class399_0.method_4(str);
            if ((A_0.Trim(new char[] { ' ' }).Length != A_0.Length) && this.bool_0)
            {
                this.class399_0.method_18(BookmarkStart.b("䤰帲头ശ䨸䬺尼尾⑀", num), BookmarkStart.b("䄰䄲倴䐶尸䤺䬼娾", num));
            }
            this.class399_0.method_15(A_0);
            this.class399_0.method_5();
        }
    }
Exemplo n.º 21
0
    internal static void smethod_4(Class43 A_0, string A_1)
    {
        int num = 6;

        if (Class567.smethod_16(A_1))
        {
            string[] strArray = A_1.Replace(BookmarkStart.b("ఫ", num), "").Replace(BookmarkStart.b("伫䌭", num), BookmarkStart.b("伫䌭䰯", num)).Replace(BookmarkStart.b("䄫䌭", num), BookmarkStart.b("䄫䌭䰯", num)).Replace(BookmarkStart.b("䔫䀭", num), BookmarkStart.b("䔫䀭䰯", num)).Replace(BookmarkStart.b("尫娭", num), BookmarkStart.b("尫娭䰯", num)).Replace(BookmarkStart.b("尫䴭", num), BookmarkStart.b("尫䴭䰯", num)).Replace(BookmarkStart.b("尫嘭", num), BookmarkStart.b("尫嘭䰯", num)).Split(char_0);
            double   num2     = (A_0.method_31(0x1021) == null) ? 0.0 : ((double)A_0.method_31(0x1021));
            double   num4     = (A_0.method_31(0x1022) == null) ? 0.0 : ((double)A_0.method_31(0x1022));
            double   num5     = (A_0.method_31(4) == null) ? 0.0 : Class969.smethod_68((int)A_0.method_31(4));
            for (int i = 0; i < strArray.Length; i++)
            {
                string str = strArray[i];
                if (Class567.smethod_16(str))
                {
                    if (str == BookmarkStart.b("堫尭儯就䜳娵夷丹夻", num))
                    {
                        num2 += Class576.smethod_41(strArray[++i]);
                        num4 += Class576.smethod_41(strArray[++i]);
                    }
                    else if (str == BookmarkStart.b("師䄭䐯匱䀳匵", num))
                    {
                        num5 += -(180.0 * Class1041.smethod_12(strArray[++i])) / 3.1415926535897931;
                    }
                }
            }
            A_0.SetAttr(0x1021, num2);
            A_0.SetAttr(0x1022, num4);
            A_0.SetAttr(4, Class969.smethod_71(num5));
        }
    }
Exemplo n.º 22
0
    public static string smethod_17(string A_0)
    {
        if (!Class567.smethod_16(A_0))
        {
            return(A_0);
        }
        StringBuilder builder    = new StringBuilder();
        int           startIndex = 0;

        while (startIndex < A_0.Length)
        {
            char ch = A_0[startIndex];
            if ((ch == '%') && ((startIndex + 2) < A_0.Length))
            {
                string str = A_0.Substring(startIndex, 3);
                if (smethod_21(str))
                {
                    builder.Append(smethod_22(str));
                    startIndex += 3;
                    continue;
                }
            }
            builder.Append(ch);
            startIndex++;
        }
        return(builder.ToString());
    }
Exemplo n.º 23
0
    internal void method_0(BinaryWriter A_0)
    {
        int num2;
        int num = 13;

        byte[] destinationArray = new byte[0x40];
        if (Class567.smethod_16(this.string_0))
        {
            byte[] bytes = Encoding.Unicode.GetBytes(this.string_0);
            if (bytes.Length > 0x3e)
            {
                throw new InvalidOperationException(string.Format(BookmarkStart.b("朲崴制ᤸ唺尼刾⑀捂扄㱆祈㙊橌潎㡐⁒畔⍖㙘㑚絜㍞๠ൢɤ䥦", num), this.string_0));
            }
            Array.Copy(bytes, 0, destinationArray, 0, bytes.Length);
            num2 = bytes.Length + 2;
        }
        else
        {
            num2 = 0;
        }
        A_0.Write(destinationArray);
        A_0.Write((ushort)num2);
        A_0.Write((byte)this.dirEntryType_0);
        A_0.Write((byte)this.dirEntryColor_0);
        A_0.Write(this.uint_2);
        A_0.Write(this.uint_3);
        A_0.Write(this.uint_1);
        A_0.Write(this.guid_0.ToByteArray());
        A_0.Write(this.uint_5);
        A_0.Write(this.long_0);
        A_0.Write(this.long_1);
        A_0.Write(this.uint_4);
        A_0.Write((uint)this.long_2);
        A_0.Write(0);
    }
Exemplo n.º 24
0
    private static void smethod_5(Class393 A_0, Hashtable A_1)
    {
        int    num  = 0x11;
        string str  = null;
        string str2 = null;

        while (A_0.method_19())
        {
            string str3 = A_0.method_1();
            if (str3 != null)
            {
                if (!(str3 == BookmarkStart.b("朶堸䤺䤼焾⁀⹂⁄", num)))
                {
                    if (str3 == BookmarkStart.b("琶嘸唺䤼娾⽀㝂ᅄ㹆㥈⹊", num))
                    {
                        str = A_0.method_3();
                    }
                }
                else
                {
                    str2 = A_0.method_3();
                }
            }
        }
        if (Class567.smethod_16(str) && Class567.smethod_16(str2))
        {
            A_1[str2] = str;
        }
    }
Exemplo n.º 25
0
 public void method_12(string A_0, string A_1)
 {
     if (Class567.smethod_16(A_1))
     {
         this.method_11(A_0, A_1);
     }
 }
Exemplo n.º 26
0
    private static void smethod_4(Class393 A_0, Hashtable A_1)
    {
        int    num  = 9;
        string str  = null;
        string str2 = null;

        while (A_0.method_19())
        {
            string str3 = A_0.method_1();
            if (str3 != null)
            {
                if (!(str3 == BookmarkStart.b("樮䤰䜲倴夶䨸刺刼儾", num)))
                {
                    if (str3 == BookmarkStart.b("氮帰崲䄴制圸伺椼䘾ㅀ♂", num))
                    {
                        str = A_0.method_3();
                    }
                }
                else
                {
                    str2 = A_0.method_3();
                }
            }
        }
        if (Class567.smethod_16(str) && Class567.smethod_16(str2))
        {
            A_1[str2] = str;
        }
    }
Exemplo n.º 27
0
    private static void smethod_5(Class393 A_0, Hashtable A_1)
    {
        int    num  = 4;
        string str  = null;
        string str2 = null;

        while (A_0.method_19())
        {
            string str3 = A_0.method_1();
            if (str3 != null)
            {
                if (!(str3 == BookmarkStart.b("稩䴫尭䐯簱唳嬵崷", num)))
                {
                    if (str3 == BookmarkStart.b("椩䌫䀭䐯圱娳䈵氷䌹䰻嬽", num))
                    {
                        str = A_0.method_3();
                    }
                }
                else
                {
                    str2 = A_0.method_3();
                }
            }
        }
        if (Class567.smethod_16(str) && Class567.smethod_16(str2))
        {
            A_1[str2] = str;
        }
    }
Exemplo n.º 28
0
    internal override void vmethod_3(BinaryWriter A_0)
    {
        A_0.Write(byte_0);
        A_0.Write(2);
        int position = (int)A_0.BaseStream.Position;
        int num2     = 0;

        A_0.Write(0);
        if (Class567.smethod_16(this.string_2))
        {
            Class1029.smethod_9(this.string_2, A_0);
            num2 |= 0x80;
        }
        if (Class567.smethod_16(this.string_0))
        {
            A_0.Write(byte_1);
            Class1029.smethod_10(this.string_0, A_0);
            num2 |= 1;
            num2 |= 2;
        }
        if (Class567.smethod_16(this.string_1))
        {
            Class1029.smethod_9(this.string_1, A_0);
            num2 |= 8;
        }
        int num3 = (int)A_0.BaseStream.Position;

        A_0.BaseStream.Position = position;
        A_0.Write(num2);
        A_0.BaseStream.Position = num3;
    }
Exemplo n.º 29
0
    private static HeaderFooterType smethod_1(Class108 A_0, string A_1)
    {
        int num = 7;

        if (A_1.StartsWith(BookmarkStart.b("䔬䨮倰圲倴䔶", 7)))
        {
            if (A_1.EndsWith(BookmarkStart.b(",䌮吰唲䄴", num)))
            {
                return(HeaderFooterType.HeaderEven);
            }
            if (Class567.smethod_16(A_0.method_6()))
            {
                return(HeaderFooterType.HeaderFirstPage);
            }
            return(HeaderFooterType.HeaderOdd);
        }
        if (A_1.EndsWith(BookmarkStart.b(",䌮吰唲䄴", num)))
        {
            return(HeaderFooterType.FooterEven);
        }
        if (Class567.smethod_16(A_0.method_6()))
        {
            return(HeaderFooterType.FooterFirstPage);
        }
        return(HeaderFooterType.FooterOdd);
    }
Exemplo n.º 30
0
 internal string method_4()
 {
     if (!Class567.smethod_16(this.string_1))
     {
         return("");
     }
     return(this.string_1);
 }