2 types derived from SpellerInteropBase
PresentationFramework (2)
System\Windows\Documents\NLGSpellerInterop.cs (1)
25
internal class NLGSpellerInterop :
SpellerInteropBase
System\Windows\Documents\WinRTSpellerInterop.cs (1)
36
internal partial class WinRTSpellerInterop:
SpellerInteropBase
39 references to SpellerInteropBase
PresentationFramework (39)
System\Windows\Documents\NLGSpellerInterop.cs (1)
505
private struct STextRange :
SpellerInteropBase
.ITextRange
System\Windows\Documents\Speller.cs (28)
212
_spellerInterop.Mode =
SpellerInteropBase
.SpellerMode.SpellingErrorsWithSuggestions;
215
new
SpellerInteropBase
.EnumTextSegmentsCallback(ScanErrorTextSegment), new TextMapCallbackData(textMap, suggestions));
468
_spellerInterop =
SpellerInteropBase
.CreateInstance();
721
_spellerInterop.Mode =
SpellerInteropBase
.SpellerMode.WordBreaking;
730
new
SpellerInteropBase
.EnumTextSegmentsCallback(ExpandToWordBreakCallback), segments);
831
_spellerInterop.Mode =
SpellerInteropBase
.SpellerMode.SpellingErrors;
839
_spellerInterop.EnumTextSegments(textMap.Text, textMap.TextLength, new
SpellerInteropBase
.EnumSentencesCallback(ScanRangeCheckTimeLimitCallback),
840
new
SpellerInteropBase
.EnumTextSegmentsCallback(ScanTextSegment), new TextMapCallbackData(textMap, status));
895
private bool ScanErrorTextSegment(
SpellerInteropBase
.ISpellerSegment textSegment, object o)
898
SpellerInteropBase
.ITextRange sTextRange = textSegment.TextRange;
930
textSegment.EnumSubSegments(new
SpellerInteropBase
.EnumTextSegmentsCallback(ScanErrorTextSegment), data);
943
private bool ScanTextSegment(
SpellerInteropBase
.ISpellerSegment textSegment, object o)
946
SpellerInteropBase
.ITextRange sTextRange = textSegment.TextRange;
981
textSegment.EnumSubSegments(new
SpellerInteropBase
.EnumTextSegmentsCallback(ScanTextSegment), data);
999
private bool ScanRangeCheckTimeLimitCallback(
SpellerInteropBase
.ISpellerSentence sentence, object o)
1058
private void MarkErrorRange(TextMap textMap,
SpellerInteropBase
.ITextRange sTextRange)
1113
SpellerInteropBase
.ITextRange sTextRange;
1129
_spellerInterop.Mode =
SpellerInteropBase
.SpellerMode.WordBreaking;
1159
new
SpellerInteropBase
.EnumTextSegmentsCallback(ExpandToWordBreakCallback), segments);
1201
sTextRange = (
SpellerInteropBase
.ITextRange)segments[Math.Max(i, 0)];
1209
sTextRange = (
SpellerInteropBase
.ITextRange)segments[Math.Min(i, segments.Count-1)];
1257
SpellerInteropBase
.ITextRange sTextRange;
1266
sTextRange = (
SpellerInteropBase
.ITextRange)segments[0];
1276
sTextRange = (
SpellerInteropBase
.ITextRange)segments[segments.Count - 1];
1288
sTextRange = (
SpellerInteropBase
.ITextRange)segments[index];
1304
sTextRange = (
SpellerInteropBase
.ITextRange)segments[index + 1];
1431
private bool ExpandToWordBreakCallback(
SpellerInteropBase
.ISpellerSegment textSegment, object o)
2043
private
SpellerInteropBase
_spellerInterop;
System\Windows\Documents\SpellerInteropBase.cs (2)
112
public static
SpellerInteropBase
CreateInstance()
114
SpellerInteropBase
spellerInterop = null;
System\Windows\Documents\TextMapOffsetErrorLogger.cs (7)
84
var textSegment = segments[i] as
SpellerInteropBase
.ITextRange;
152
/// Number of segments (i.e., words) returned by the call to <see cref="
SpellerInteropBase
.EnumTextSegments"/>
157
/// Each segment returned by <see cref="
SpellerInteropBase
.EnumTextSegments"/> is an <see cref="
SpellerInteropBase
.ITextRange"/>
158
/// instance containing <see cref="
SpellerInteropBase
.ITextRange.Start"/> and <see cref="
SpellerInteropBase
.ITextRange.Length"/> values.
224
/// Represents the Start and Length fields of a <see cref="
SpellerInteropBase
.ITextRange"/>
System\Windows\Documents\WinRTSpellerInterop.cs (1)
857
internal readonly struct TextRange:
SpellerInteropBase
.ITextRange