1 write to _converterState
PresentationFramework (1)
System\Windows\Documents\RtfToXamlReader.cs (1)
7770
_converterState
= new ConverterState();
128 references to _converterState
PresentationFramework (128)
System\Windows\Documents\RtfToXamlReader.cs (128)
7771
_converterState
.RtfFormatStack.Push();
7796
int nStartCount =
_converterState
.RtfFormatStack.Count;
7800
rtfToXamlError = _lexer.Next(token,
_converterState
.TopFormatState);
7810
_converterState
.RtfFormatStack.Push();
7825
while (
_converterState
.RtfFormatStack.Count > 2 &&
_converterState
.RtfFormatStack.Count > nStartCount)
7854
_converterState
.TopFormatState.RtfDestination == RtfDestination.DestFieldResult)
7860
_converterState
.TopFormatState.RtfDestination = RtfDestination.DestUnknown;
7887
ProcessImage(
_converterState
.TopFormatState);
7932
return
_converterState
;
7957
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
7976
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8001
FormatState formatState =
_converterState
.TopFormatState;
8011
dna.CoalesceAll(
_converterState
);
8053
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8220
dnInstruction.AppendXamlPrefix(
_converterState
);
8363
FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0))
8472
FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0))
8614
dn.FormatState.Font =
_converterState
.FontTable.DefineEntryByName(name);
8755
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8810
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8837
dna.CoalesceChildren(
_converterState
, ndnListText);
8840
_converterState
.IsMarkerWhiteSpace = true;
8843
_converterState
.IsMarkerPresent = true;
8849
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8855
FormatState formatState =
_converterState
.TopFormatState;
8868
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8918
ListTableEntry listTableEntry =
_converterState
.ListTable.CurrentEntry;
8934
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8943
_converterState
.FontTable.MapFonts();
8951
if (
_converterState
.RtfFormatStack.Count > 2)
8953
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8954
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
8955
FormatState fsNew =
_converterState
.PreviousTopFormatState(1);
8964
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8971
_converterState
.RtfFormatStack.Pop();
8974
_lexer.CodePage =
_converterState
.CodePage;
8983
&&
_converterState
.DefaultFont >= 0)
8985
SelectFont(
_converterState
.DefaultFont);
8989
else if (fsCur.Font < 0 &&
_converterState
.DefaultFont >= 0)
8991
SelectFont(
_converterState
.DefaultFont);
8998
FormatState formatState =
_converterState
.TopFormatState;
9006
FontTableEntry entry =
_converterState
.FontTable.FindEntryByIndex((int)formatState.Font);
9011
formatState.CodePage =
_converterState
.CodePage;
9023
FormatState formatState =
_converterState
.TopFormatState;
9068
_converterState
.FontTable.DefineEntry((int)token.Parameter);
9081
else if (
_converterState
.DefaultLangFE > 0)
9083
formatState.LangCur =
_converterState
.DefaultLangFE;
9092
else if (
_converterState
.DefaultLang > 0)
9094
formatState.LangCur =
_converterState
.DefaultLang;
9117
_converterState
.DefaultLang = token.Parameter;
9120
_converterState
.DefaultLangFE = token.Parameter;
9123
_converterState
.DefaultFont = token.Parameter;
9127
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9131
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
9211
if (
_converterState
.DefaultFont >= 0)
9213
SelectFont(
_converterState
.DefaultFont);
9623
_converterState
.ColorTable.NewRed = (byte)token.Parameter;
9628
_converterState
.ColorTable.NewGreen = (byte)token.Parameter;
9633
_converterState
.ColorTable.NewBlue = (byte)token.Parameter;
9641
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9709
FormatState fs =
_converterState
.TopFormatState;
9750
switch (
_converterState
.TopFormatState.RtfDestination)
9756
HandleNormalText(token.Text,
_converterState
.TopFormatState);
9825
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9864
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9889
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9894
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9917
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9922
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9948
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
9949
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
9966
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10072
ListTable lt =
_converterState
.ListTable;
10073
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10074
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10095
ListTable lt =
_converterState
.ListTable;
10096
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10097
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10129
ListTable listTable =
_converterState
.ListTable;
10130
ListOverrideTable listOverrideTable =
_converterState
.ListOverrideTable;
10132
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10133
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10184
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10274
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
10300
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10301
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10302
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10340
dna.CoalesceChildren(
_converterState
, nAt);
10389
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10390
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10462
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10987
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10988
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
11029
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11041
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11072
dna.CoalesceChildren(
_converterState
, nOpen);
11182
ListOverrideTable lot =
_converterState
.ListOverrideTable;
11189
ListTableEntry lte =
_converterState
.ListTable.FindEntry(lo.ID);
11227
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11229
bool bMarkerPresent =
_converterState
.IsMarkerPresent;
11232
if (
_converterState
.IsMarkerPresent)
11234
_converterState
.IsMarkerPresent = false;
11280
if (
_converterState
.IsMarkerWhiteSpace)
11282
_converterState
.IsMarkerWhiteSpace = false;
11336
_converterState
.CodePage = 1252;
11337
_lexer.CodePage =
_converterState
.CodePage;
11340
_converterState
.CodePage = 10000;
11341
_lexer.CodePage =
_converterState
.CodePage;
11344
_converterState
.CodePage = 437;
11345
_lexer.CodePage =
_converterState
.CodePage;
11348
_converterState
.CodePage = 850;
11349
_lexer.CodePage =
_converterState
.CodePage;
11364
FormatState previous =
_converterState
.PreviousTopFormatState(1);
11365
FormatState previousPrevious =
_converterState
.PreviousTopFormatState(2);
11383
switch (
_converterState
.TopFormatState.RtfDestination)
11389
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11395
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11409
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11427
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11428
FormatState formatState =
_converterState
.TopFormatState;
11441
formatState.CodePage =
_converterState
.CodePage;
11456
_converterState
.ColorTable.FinishColor();
11461
FormatState fs =
_converterState
.TopFormatState;
11518
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11550
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11563
dna.CoalesceChildren(
_converterState
, dna.Count - 1);
11568
switch (
_converterState
.TopFormatState.RtfDestination)