24 references to LocatorManager
PresentationFramework (24)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (10)
224TextSelectionProcessor rangeProcessor = service.LocatorManager.GetSelectionProcessor(typeof(TextRange)) as TextSelectionProcessor; 225TextSelectionProcessor anchorProcessor = service.LocatorManager.GetSelectionProcessor(typeof(TextAnchor)) as TextSelectionProcessor; 246FixedPageProcessor processor = service.LocatorManager.GetSubTreeProcessorForLocatorPart(FixedPageProcessor.CreateLocatorPart(0)) as FixedPageProcessor; 699IList<ContentLocatorBase> locators = service.LocatorManager.GenerateLocators(textRange); 702TextSelectionProcessor rangeProcessor = service.LocatorManager.GetSelectionProcessor(typeof(TextRange)) as TextSelectionProcessor; 703TextSelectionProcessor anchorProcessor = service.LocatorManager.GetSelectionProcessor(typeof(TextAnchor)) as TextSelectionProcessor; 741FixedPageProcessor processor = service.LocatorManager.GetSubTreeProcessorForLocatorPart(FixedPageProcessor.CreateLocatorPart(0)) as FixedPageProcessor; 804object anchor = service.LocatorManager.ResolveLocator(annot.Anchors[0].ContentLocators[0], 0, service.Root, out level); 807attachedAnnotations.Add(new AttachedAnnotation(service.LocatorManager, annot, annot.Anchors[0], anchor, level)); 1079IList<ContentLocatorBase> locators = service.LocatorManager.GenerateLocators(selection);
src\Framework\System\Windows\Annotations\AnnotationService.cs (9)
397IList<IAttachedAnnotation> attachedAnnotations = LocatorManager.ProcessSubTree(element); 826IList<IAttachedAnnotation> attachedAnnotations = LocatorManager.ProcessSubTree(_root); 1017attachedAnnotations = LocatorManager.ProcessSubTree(_root); 1407this.LocatorManager, 1513this.LocatorManager, 1613flowRangeProcessor = this.LocatorManager.GetSelectionProcessor(typeof(TextRange)) as TextSelectionProcessor; 1616flowAnchorProcessor = this.LocatorManager.GetSelectionProcessor(typeof(TextAnchor)) as TextSelectionProcessor; 1622fixedProcessor = this.LocatorManager.GetSubTreeProcessorForLocatorPart(FixedPageProcessor.CreateLocatorPart(0)) as FixedPageProcessor; 1665attachedAnchor = LocatorManager.FindAttachedAnchor(_root,
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (5)
1403service.LocatorManager.RegisterSelectionProcessor(new FixedTextSelectionProcessor(), typeof(TextRange)); 1404service.LocatorManager.RegisterSelectionProcessor(new FixedTextSelectionProcessor(), typeof(TextAnchor)); 1416service.LocatorManager.RegisterSelectionProcessor(new TextSelectionProcessor(), typeof(TextRange)); 1417service.LocatorManager.RegisterSelectionProcessor(new TextSelectionProcessor(), typeof(TextAnchor)); 1418service.LocatorManager.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(DocumentViewerBase));