24 references to LocatorManager
PresentationFramework (24)
System\Windows\Annotations\AnnotationHelper.cs (10)
204
TextSelectionProcessor rangeProcessor = service.
LocatorManager
.GetSelectionProcessor(typeof(TextRange)) as TextSelectionProcessor;
205
TextSelectionProcessor anchorProcessor = service.
LocatorManager
.GetSelectionProcessor(typeof(TextAnchor)) as TextSelectionProcessor;
226
FixedPageProcessor processor = service.
LocatorManager
.GetSubTreeProcessorForLocatorPart(FixedPageProcessor.CreateLocatorPart(0)) as FixedPageProcessor;
678
IList<ContentLocatorBase> locators = service.
LocatorManager
.GenerateLocators(textRange);
681
TextSelectionProcessor rangeProcessor = service.
LocatorManager
.GetSelectionProcessor(typeof(TextRange)) as TextSelectionProcessor;
682
TextSelectionProcessor anchorProcessor = service.
LocatorManager
.GetSelectionProcessor(typeof(TextAnchor)) as TextSelectionProcessor;
720
FixedPageProcessor processor = service.
LocatorManager
.GetSubTreeProcessorForLocatorPart(FixedPageProcessor.CreateLocatorPart(0)) as FixedPageProcessor;
783
object anchor = service.
LocatorManager
.ResolveLocator(annot.Anchors[0].ContentLocators[0], 0, service.Root, out level);
786
attachedAnnotations.Add(new AttachedAnnotation(service.
LocatorManager
, annot, annot.Anchors[0], anchor, level));
1057
IList<ContentLocatorBase> locators = service.
LocatorManager
.GenerateLocators(selection);
System\Windows\Annotations\AnnotationService.cs (9)
364
IList<IAttachedAnnotation> attachedAnnotations =
LocatorManager
.ProcessSubTree(element);
777
IList<IAttachedAnnotation> attachedAnnotations =
LocatorManager
.ProcessSubTree(_root);
965
attachedAnnotations =
LocatorManager
.ProcessSubTree(_root);
1350
this.
LocatorManager
,
1456
this.
LocatorManager
,
1556
flowRangeProcessor = this.
LocatorManager
.GetSelectionProcessor(typeof(TextRange)) as TextSelectionProcessor;
1559
flowAnchorProcessor = this.
LocatorManager
.GetSelectionProcessor(typeof(TextAnchor)) as TextSelectionProcessor;
1565
fixedProcessor = this.
LocatorManager
.GetSubTreeProcessorForLocatorPart(FixedPageProcessor.CreateLocatorPart(0)) as FixedPageProcessor;
1608
attachedAnchor =
LocatorManager
.FindAttachedAnchor(_root,
System\Windows\Controls\Primitives\DocumentViewerBase.cs (5)
1376
service.
LocatorManager
.RegisterSelectionProcessor(new FixedTextSelectionProcessor(), typeof(TextRange));
1377
service.
LocatorManager
.RegisterSelectionProcessor(new FixedTextSelectionProcessor(), typeof(TextAnchor));
1389
service.
LocatorManager
.RegisterSelectionProcessor(new TextSelectionProcessor(), typeof(TextRange));
1390
service.
LocatorManager
.RegisterSelectionProcessor(new TextSelectionProcessor(), typeof(TextAnchor));
1391
service.
LocatorManager
.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(DocumentViewerBase));