// Token: 0x060062D4 RID: 25300 RVA: 0x001BBA20 File Offset: 0x001B9C20 private static IList <IAttachedAnnotation> GetSpannedAnnotationsForFixed(AnnotationService service, int startPage, int endPage) { Invariant.Assert(service != null, "Need non-null service to get spanned annotations for fixed content."); FixedPageProcessor fixedPageProcessor = service.LocatorManager.GetSubTreeProcessorForLocatorPart(FixedPageProcessor.CreateLocatorPart(0)) as FixedPageProcessor; Invariant.Assert(fixedPageProcessor != null, "FixedPageProcessor should be available if we are processing fixed content."); List <IAttachedAnnotation> result = null; List <Annotation> annotations = new List <Annotation>(); try { fixedPageProcessor.UseLogicalTree = true; for (int i = startPage; i <= endPage; i++) { ContentLocator contentLocator = new ContentLocator(); contentLocator.Parts.Add(FixedPageProcessor.CreateLocatorPart(i)); AnnotationHelper.AddRange(annotations, service.Store.GetAnnotations(contentLocator)); } result = AnnotationHelper.ResolveAnnotations(service, annotations); } finally { fixedPageProcessor.UseLogicalTree = false; } return(result); }