2 types derived from SpellerInteropBase
PresentationFramework (2)
System\Windows\Documents\NLGSpellerInterop.cs (1)
21internal class NLGSpellerInterop : SpellerInteropBase
System\Windows\Documents\WinRTSpellerInterop.cs (1)
28internal partial class WinRTSpellerInterop: SpellerInteropBase
39 references to SpellerInteropBase
PresentationFramework (39)
System\Windows\Documents\NLGSpellerInterop.cs (1)
501private struct STextRange : SpellerInteropBase.ITextRange
System\Windows\Documents\Speller.cs (28)
197_spellerInterop.Mode = SpellerInteropBase.SpellerMode.SpellingErrorsWithSuggestions; 200new SpellerInteropBase.EnumTextSegmentsCallback(ScanErrorTextSegment), new TextMapCallbackData(textMap, suggestions)); 451_spellerInterop = SpellerInteropBase.CreateInstance(); 704_spellerInterop.Mode = SpellerInteropBase.SpellerMode.WordBreaking; 713new SpellerInteropBase.EnumTextSegmentsCallback(ExpandToWordBreakCallback), segments); 814_spellerInterop.Mode = SpellerInteropBase.SpellerMode.SpellingErrors; 822_spellerInterop.EnumTextSegments(textMap.Text, textMap.TextLength, new SpellerInteropBase.EnumSentencesCallback(ScanRangeCheckTimeLimitCallback), 823new SpellerInteropBase.EnumTextSegmentsCallback(ScanTextSegment), new TextMapCallbackData(textMap, status)); 878private bool ScanErrorTextSegment(SpellerInteropBase.ISpellerSegment textSegment, object o) 881SpellerInteropBase.ITextRange sTextRange = textSegment.TextRange; 913textSegment.EnumSubSegments(new SpellerInteropBase.EnumTextSegmentsCallback(ScanErrorTextSegment), data); 926private bool ScanTextSegment(SpellerInteropBase.ISpellerSegment textSegment, object o) 929SpellerInteropBase.ITextRange sTextRange = textSegment.TextRange; 962textSegment.EnumSubSegments(new SpellerInteropBase.EnumTextSegmentsCallback(ScanTextSegment), data); 980private bool ScanRangeCheckTimeLimitCallback(SpellerInteropBase.ISpellerSentence sentence, object o) 1039private void MarkErrorRange(TextMap textMap, SpellerInteropBase.ITextRange sTextRange) 1094SpellerInteropBase.ITextRange sTextRange; 1110_spellerInterop.Mode = SpellerInteropBase.SpellerMode.WordBreaking; 1140new SpellerInteropBase.EnumTextSegmentsCallback(ExpandToWordBreakCallback), segments); 1182sTextRange = (SpellerInteropBase.ITextRange)segments[Math.Max(i, 0)]; 1190sTextRange = (SpellerInteropBase.ITextRange)segments[Math.Min(i, segments.Count-1)]; 1238SpellerInteropBase.ITextRange sTextRange; 1247sTextRange = (SpellerInteropBase.ITextRange)segments[0]; 1257sTextRange = (SpellerInteropBase.ITextRange)segments[segments.Count - 1]; 1269sTextRange = (SpellerInteropBase.ITextRange)segments[index]; 1285sTextRange = (SpellerInteropBase.ITextRange)segments[index + 1]; 1412private bool ExpandToWordBreakCallback(SpellerInteropBase.ISpellerSegment textSegment, object o) 2014private SpellerInteropBase _spellerInterop;
System\Windows\Documents\SpellerInteropBase.cs (2)
107public static SpellerInteropBase CreateInstance() 109SpellerInteropBase spellerInterop = null;
System\Windows\Documents\TextMapOffsetErrorLogger.cs (7)
83var textSegment = segments[i] as SpellerInteropBase.ITextRange; 151/// Number of segments (i.e., words) returned by the call to <see cref="SpellerInteropBase.EnumTextSegments"/> 156/// Each segment returned by <see cref="SpellerInteropBase.EnumTextSegments"/> is an <see cref="SpellerInteropBase.ITextRange"/> 157/// instance containing <see cref="SpellerInteropBase.ITextRange.Start"/> and <see cref="SpellerInteropBase.ITextRange.Length"/> values. 223/// Represents the Start and Length fields of a <see cref="SpellerInteropBase.ITextRange"/>
System\Windows\Documents\WinRTSpellerInterop.cs (1)
849internal readonly struct TextRange: SpellerInteropBase.ITextRange