1 write to _converterState
PresentationFramework (1)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
7836
_converterState
= new ConverterState();
128 references to _converterState
PresentationFramework (128)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (128)
7837
_converterState
.RtfFormatStack.Push();
7862
int nStartCount =
_converterState
.RtfFormatStack.Count;
7866
rtfToXamlError = _lexer.Next(token,
_converterState
.TopFormatState);
7876
_converterState
.RtfFormatStack.Push();
7891
while (
_converterState
.RtfFormatStack.Count > 2 &&
_converterState
.RtfFormatStack.Count > nStartCount)
7920
_converterState
.TopFormatState.RtfDestination == RtfDestination.DestFieldResult)
7926
_converterState
.TopFormatState.RtfDestination = RtfDestination.DestUnknown;
7953
ProcessImage(
_converterState
.TopFormatState);
7998
return
_converterState
;
8023
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8042
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8067
FormatState formatState =
_converterState
.TopFormatState;
8077
dna.CoalesceAll(
_converterState
);
8119
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8286
dnInstruction.AppendXamlPrefix(
_converterState
);
8435
dn.FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0));
8542
dn.FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0));
8683
dn.FormatState.Font =
_converterState
.FontTable.DefineEntryByName(name);
8823
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8881
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8908
dna.CoalesceChildren(
_converterState
, ndnListText);
8911
_converterState
.IsMarkerWhiteSpace = true;
8914
_converterState
.IsMarkerPresent = true;
8920
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8926
FormatState formatState =
_converterState
.TopFormatState;
8939
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8985
ListTableEntry listTableEntry =
_converterState
.ListTable.CurrentEntry;
9001
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
9010
_converterState
.FontTable.MapFonts();
9018
if (
_converterState
.RtfFormatStack.Count > 2)
9020
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9021
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
9022
FormatState fsNew =
_converterState
.PreviousTopFormatState(1);
9031
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
9038
_converterState
.RtfFormatStack.Pop();
9041
_lexer.CodePage =
_converterState
.CodePage;
9050
&&
_converterState
.DefaultFont >= 0)
9052
SelectFont(
_converterState
.DefaultFont);
9056
else if (fsCur.Font < 0 &&
_converterState
.DefaultFont >= 0)
9058
SelectFont(
_converterState
.DefaultFont);
9065
FormatState formatState =
_converterState
.TopFormatState;
9073
FontTableEntry entry =
_converterState
.FontTable.FindEntryByIndex((int)formatState.Font);
9078
formatState.CodePage =
_converterState
.CodePage;
9090
FormatState formatState =
_converterState
.TopFormatState;
9135
_converterState
.FontTable.DefineEntry((int)token.Parameter);
9148
else if (
_converterState
.DefaultLangFE > 0)
9150
formatState.LangCur =
_converterState
.DefaultLangFE;
9159
else if (
_converterState
.DefaultLang > 0)
9161
formatState.LangCur =
_converterState
.DefaultLang;
9184
_converterState
.DefaultLang = token.Parameter;
9187
_converterState
.DefaultLangFE = token.Parameter;
9190
_converterState
.DefaultFont = token.Parameter;
9194
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9198
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
9278
if (
_converterState
.DefaultFont >= 0)
9280
SelectFont(
_converterState
.DefaultFont);
9690
_converterState
.ColorTable.NewRed = (byte)token.Parameter;
9695
_converterState
.ColorTable.NewGreen = (byte)token.Parameter;
9700
_converterState
.ColorTable.NewBlue = (byte)token.Parameter;
9708
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9776
FormatState fs =
_converterState
.TopFormatState;
9817
switch (
_converterState
.TopFormatState.RtfDestination)
9823
HandleNormalText(token.Text,
_converterState
.TopFormatState);
9892
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9931
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9954
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9959
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9980
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9985
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10011
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10012
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10029
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10135
ListTable lt =
_converterState
.ListTable;
10136
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10137
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10158
ListTable lt =
_converterState
.ListTable;
10159
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10160
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10192
ListTable listTable =
_converterState
.ListTable;
10193
ListOverrideTable listOverrideTable =
_converterState
.ListOverrideTable;
10195
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10196
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10247
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10336
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
10363
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10364
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10365
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10403
dna.CoalesceChildren(
_converterState
, nAt);
10452
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10453
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10525
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11052
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
11053
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
11094
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11105
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11137
dna.CoalesceChildren(
_converterState
, nOpen);
11247
ListOverrideTable lot =
_converterState
.ListOverrideTable;
11254
ListTableEntry lte =
_converterState
.ListTable.FindEntry(lo.ID);
11292
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11294
bool bMarkerPresent =
_converterState
.IsMarkerPresent;
11297
if (
_converterState
.IsMarkerPresent)
11299
_converterState
.IsMarkerPresent = false;
11345
if (
_converterState
.IsMarkerWhiteSpace)
11347
_converterState
.IsMarkerWhiteSpace = false;
11401
_converterState
.CodePage = 1252;
11402
_lexer.CodePage =
_converterState
.CodePage;
11405
_converterState
.CodePage = 10000;
11406
_lexer.CodePage =
_converterState
.CodePage;
11409
_converterState
.CodePage = 437;
11410
_lexer.CodePage =
_converterState
.CodePage;
11413
_converterState
.CodePage = 850;
11414
_lexer.CodePage =
_converterState
.CodePage;
11434
FormatState previous =
_converterState
.PreviousTopFormatState(1);
11435
FormatState previousPrevious =
_converterState
.PreviousTopFormatState(2);
11453
switch (
_converterState
.TopFormatState.RtfDestination)
11459
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11465
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11479
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11497
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11498
FormatState formatState =
_converterState
.TopFormatState;
11511
formatState.CodePage =
_converterState
.CodePage;
11526
_converterState
.ColorTable.FinishColor();
11531
FormatState fs =
_converterState
.TopFormatState;
11588
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11618
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11629
dna.CoalesceChildren(
_converterState
, dna.Count - 1);
11634
switch (
_converterState
.TopFormatState.RtfDestination)