2 types derived from SpellerInteropBase
PresentationFramework (2)
System\Windows\Documents\NLGSpellerInterop.cs (1)
20
internal class NLGSpellerInterop :
SpellerInteropBase
System\Windows\Documents\WinRTSpellerInterop.cs (1)
27
internal partial class WinRTSpellerInterop:
SpellerInteropBase
39 references to SpellerInteropBase
PresentationFramework (39)
System\Windows\Documents\NLGSpellerInterop.cs (1)
500
private struct STextRange :
SpellerInteropBase
.ITextRange
System\Windows\Documents\Speller.cs (28)
193
_spellerInterop.Mode =
SpellerInteropBase
.SpellerMode.SpellingErrorsWithSuggestions;
196
new
SpellerInteropBase
.EnumTextSegmentsCallback(ScanErrorTextSegment), new TextMapCallbackData(textMap, suggestions));
447
_spellerInterop =
SpellerInteropBase
.CreateInstance();
697
_spellerInterop.Mode =
SpellerInteropBase
.SpellerMode.WordBreaking;
706
new
SpellerInteropBase
.EnumTextSegmentsCallback(ExpandToWordBreakCallback), segments);
807
_spellerInterop.Mode =
SpellerInteropBase
.SpellerMode.SpellingErrors;
815
_spellerInterop.EnumTextSegments(textMap.Text, textMap.TextLength, new
SpellerInteropBase
.EnumSentencesCallback(ScanRangeCheckTimeLimitCallback),
816
new
SpellerInteropBase
.EnumTextSegmentsCallback(ScanTextSegment), new TextMapCallbackData(textMap, status));
871
private bool ScanErrorTextSegment(
SpellerInteropBase
.ISpellerSegment textSegment, object o)
874
SpellerInteropBase
.ITextRange sTextRange = textSegment.TextRange;
906
textSegment.EnumSubSegments(new
SpellerInteropBase
.EnumTextSegmentsCallback(ScanErrorTextSegment), data);
919
private bool ScanTextSegment(
SpellerInteropBase
.ISpellerSegment textSegment, object o)
922
SpellerInteropBase
.ITextRange sTextRange = textSegment.TextRange;
955
textSegment.EnumSubSegments(new
SpellerInteropBase
.EnumTextSegmentsCallback(ScanTextSegment), data);
973
private bool ScanRangeCheckTimeLimitCallback(
SpellerInteropBase
.ISpellerSentence sentence, object o)
1032
private void MarkErrorRange(TextMap textMap,
SpellerInteropBase
.ITextRange sTextRange)
1087
SpellerInteropBase
.ITextRange sTextRange;
1103
_spellerInterop.Mode =
SpellerInteropBase
.SpellerMode.WordBreaking;
1133
new
SpellerInteropBase
.EnumTextSegmentsCallback(ExpandToWordBreakCallback), segments);
1175
sTextRange = (
SpellerInteropBase
.ITextRange)segments[Math.Max(i, 0)];
1183
sTextRange = (
SpellerInteropBase
.ITextRange)segments[Math.Min(i, segments.Count-1)];
1231
SpellerInteropBase
.ITextRange sTextRange;
1240
sTextRange = (
SpellerInteropBase
.ITextRange)segments[0];
1250
sTextRange = (
SpellerInteropBase
.ITextRange)segments[segments.Count - 1];
1262
sTextRange = (
SpellerInteropBase
.ITextRange)segments[index];
1278
sTextRange = (
SpellerInteropBase
.ITextRange)segments[index + 1];
1405
private bool ExpandToWordBreakCallback(
SpellerInteropBase
.ISpellerSegment textSegment, object o)
2007
private
SpellerInteropBase
_spellerInterop;
System\Windows\Documents\SpellerInteropBase.cs (2)
106
public static
SpellerInteropBase
CreateInstance()
108
SpellerInteropBase
spellerInterop = null;
System\Windows\Documents\TextMapOffsetErrorLogger.cs (7)
82
var textSegment = segments[i] as
SpellerInteropBase
.ITextRange;
150
/// Number of segments (i.e., words) returned by the call to <see cref="
SpellerInteropBase
.EnumTextSegments"/>
155
/// Each segment returned by <see cref="
SpellerInteropBase
.EnumTextSegments"/> is an <see cref="
SpellerInteropBase
.ITextRange"/>
156
/// instance containing <see cref="
SpellerInteropBase
.ITextRange.Start"/> and <see cref="
SpellerInteropBase
.ITextRange.Length"/> values.
222
/// Represents the Start and Length fields of a <see cref="
SpellerInteropBase
.ITextRange"/>
System\Windows\Documents\WinRTSpellerInterop.cs (1)
845
internal readonly struct TextRange:
SpellerInteropBase
.ITextRange