internal bool method_0(Interface60 A_0, DocumentObject A_1) { this.stack_0.Push(A_0); if (A_0.imethod_0() != MarkupLevel.Inline) { this.hashtable_0[A_0] = A_1; } return(A_0.imethod_0() != MarkupLevel.Inline); }
internal bool method_3(DocumentContainer A_0) { if (this.stack_0.Count == 0) { this.method_2(A_0); return(false); } Interface60 interface2 = (Interface60)this.stack_0.Pop(); if (interface2.imethod_0() != MarkupLevel.Inline) { this.stack_1.Push(interface2); this.hashtable_1[interface2] = A_0; } return(interface2.imethod_0() != MarkupLevel.Inline); }
internal static bool smethod_11(Interface60 A_0, DocumentObject A_1) { if (A_1 is Interface60) { return(A_0.imethod_0() == ((Interface60)A_1).imethod_0()); } switch (A_0.imethod_0()) { case MarkupLevel.Inline: return(smethod_10(A_1)); case MarkupLevel.Block: return(smethod_7(A_1)); case MarkupLevel.Row: return(smethod_8(A_1)); case MarkupLevel.Cell: return(smethod_9(A_1)); } return(false); }
internal void method_4() { while (this.stack_1.Count > 0) { Interface60 interface2 = (Interface60)this.stack_1.Pop(); ArrayList list = smethod_0((DocumentObject)this.hashtable_0[interface2], (DocumentObject)this.hashtable_1[interface2]); if (list != null) { DocumentObject parentObject = ((DocumentObject)list[0]).ParentObject; if ((((parentObject.DocumentObjectType == DocumentObjectType.Table) && (interface2.imethod_0() == MarkupLevel.Block)) || ((parentObject.DocumentObjectType == DocumentObjectType.TableRow) && (interface2.imethod_0() == MarkupLevel.Row))) || ((parentObject.DocumentObjectType == DocumentObjectType.TableCell) && (interface2.imethod_0() == MarkupLevel.Cell))) { list.Clear(); list.Add(parentObject); parentObject = parentObject.ParentObject; } else if ((parentObject.DocumentObjectType == DocumentObjectType.TableCell) && (interface2.imethod_0() == MarkupLevel.Row)) { list.Clear(); list.Add(((TableCell)parentObject).OwnerRow); parentObject = ((TableCell)parentObject).OwnerRow; } if (parentObject.DocumentObjectType == (interface2 as DocumentObject).DocumentObjectType) { smethod_1((DocumentObject)interface2, list); } } } }