internal AskFieldEventArgs(Spire.Doc.Fields.Field A_0)
        {
            int num4 = 12;

            this.string_0 = string.Empty;
            this.string_1 = string.Empty;
            this.string_3 = string.Empty;
            this.field_0  = A_0;
            string str = A_0.method_137(A_0.method_177()).Replace(BookmarkStart.b("渱嬳", 12), string.Empty).Replace(BookmarkStart.b("渱笳", 12), string.Empty);

            if (!string.IsNullOrEmpty(str))
            {
                if (str.Contains(BookmarkStart.b("渱倳", num4)))
                {
                    int index = str.IndexOf(BookmarkStart.b("渱倳", num4));
                    if ((index + 2) < str.Length)
                    {
                        this.string_0 = str.Substring(index + 2).Trim(new char[] { ' ' }).Replace(BookmarkStart.b("ေ", num4), string.Empty);
                    }
                    str = str.Substring(0, index);
                }
                string[] strArray = str.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
                if (strArray.Length > 2)
                {
                    this.string_3 = strArray[1];
                    int num2   = 2;
                    int length = strArray.Length;
                    while (num2 < length)
                    {
                        this.string_1 = this.string_1 + strArray[num2];
                        if (num2 < (length - 1))
                        {
                            this.string_1 = this.string_1 + BookmarkStart.b("ሱ", num4);
                        }
                        num2++;
                    }
                }
            }
        }
        private int GetMatchIndex(Spire.Doc.Fields.Field field)
        {
            var match = Regex.Match(field.Code, @"\\\*\\\*");

            return(match.Index + 4);
        }
示例#3
0
 internal override void Close()
 {
     this.byte_5   = null;
     this.field_1  = null;
     this.class6_0 = null;
 }