internal VisitorAction method_3(ParagraphBase A_0) { string text = ((TextRange)A_0).Text; if ((text != Class816.string_15) && (text != Class816.string_14)) { Paragraph paragraph = A_0.method_28(); if (paragraph == null) { return(VisitorAction.Continue); } bool flag = ((text.IndexOf(Class816.string_26) != -1) || (text.IndexOf(Class816.string_25) != -1)) || (text.IndexOf(Class816.string_27) != -1); if (this.method_11(text, flag)) { return(VisitorAction.Continue); } switch (this.class422_0.method_23()) { case OpenDocumentWritingStage.ContentAutomaticStyles: case OpenDocumentWritingStage.StylesAutomaticStyles: if ((!this.class422_0.method_67() || flag) && (!Class569.smethod_7(paragraph) && (!this.class422_0.method_103() || !this.class422_0.method_101()))) { if (flag) { this.method_4(A_0); } else { this.class974_0.method_2(A_0); } } break; case OpenDocumentWritingStage.ContentBody: case OpenDocumentWritingStage.StylesMasterPage: if (!flag) { this.method_0(A_0); break; } this.method_5(A_0); break; } } return(VisitorAction.Continue); }
internal void method_0(ParagraphBase A_0) { if (!this.class422_0.method_67()) { bool flag; if (!(flag = Class569.smethod_7(A_0.OwnerParagraph)) && (!this.class422_0.method_103() || !this.class422_0.method_101())) { this.method_1(); } if (!(A_0 as TextRange).SkipDocxItem && (A_0 is TextRange)) { string str = smethod_0(((TextRange)A_0).Text); this.method_7(str); if (!flag && (!this.class422_0.method_103() || !this.class422_0.method_101())) { this.method_2(); } this.class422_0.method_96(false); } } }