// Token: 0x06006B2F RID: 27439 RVA: 0x001EF478 File Offset: 0x001ED678 internal List <AttachedObject> GetAttachedObjects(int dcpFirst, int dcpLast) { ITextPointer contentStart = TextContainerHelper.GetContentStart(base.StructuralCache.TextContainer, base.Element); List <AttachedObject> list = new List <AttachedObject>(); List <TextElement> attachedObjectElements = this.GetAttachedObjectElements(dcpFirst, dcpLast); for (int i = 0; i < attachedObjectElements.Count; i++) { TextElement textElement = attachedObjectElements[i]; if (textElement is Figure && base.StructuralCache.CurrentFormatContext.FinitePage) { FigureParagraph figureParagraph = new FigureParagraph(textElement, base.StructuralCache); if (base.StructuralCache.CurrentFormatContext.IncrementalUpdate) { figureParagraph.SetUpdateInfo(PTS.FSKCHANGE.fskchNew, false); } FigureObject item = new FigureObject(contentStart.GetOffsetToPosition(textElement.ElementStart), figureParagraph); list.Add(item); } else { FloaterParagraph floaterParagraph = new FloaterParagraph(textElement, base.StructuralCache); if (base.StructuralCache.CurrentFormatContext.IncrementalUpdate) { floaterParagraph.SetUpdateInfo(PTS.FSKCHANGE.fskchNew, false); } FloaterObject item2 = new FloaterObject(contentStart.GetOffsetToPosition(textElement.ElementStart), floaterParagraph); list.Add(item2); } } if (list.Count != 0) { this.SubmitAttachedObjects(dcpFirst, dcpLast, list); } return(list); }