1 write to _converterState
PresentationFramework (1)
System\Windows\Documents\RtfToXamlReader.cs (1)
7758
_converterState
= new ConverterState();
128 references to _converterState
PresentationFramework (128)
System\Windows\Documents\RtfToXamlReader.cs (128)
7759
_converterState
.RtfFormatStack.Push();
7784
int nStartCount =
_converterState
.RtfFormatStack.Count;
7788
rtfToXamlError = _lexer.Next(token,
_converterState
.TopFormatState);
7798
_converterState
.RtfFormatStack.Push();
7813
while (
_converterState
.RtfFormatStack.Count > 2 &&
_converterState
.RtfFormatStack.Count > nStartCount)
7842
_converterState
.TopFormatState.RtfDestination == RtfDestination.DestFieldResult)
7848
_converterState
.TopFormatState.RtfDestination = RtfDestination.DestUnknown;
7875
ProcessImage(
_converterState
.TopFormatState);
7920
return
_converterState
;
7945
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
7964
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
7989
FormatState formatState =
_converterState
.TopFormatState;
7999
dna.CoalesceAll(
_converterState
);
8041
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8208
dnInstruction.AppendXamlPrefix(
_converterState
);
8351
FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0))
8460
FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0))
8602
dn.FormatState.Font =
_converterState
.FontTable.DefineEntryByName(name);
8743
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8798
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8825
dna.CoalesceChildren(
_converterState
, ndnListText);
8828
_converterState
.IsMarkerWhiteSpace = true;
8831
_converterState
.IsMarkerPresent = true;
8837
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8843
FormatState formatState =
_converterState
.TopFormatState;
8856
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8906
ListTableEntry listTableEntry =
_converterState
.ListTable.CurrentEntry;
8922
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8931
_converterState
.FontTable.MapFonts();
8939
if (
_converterState
.RtfFormatStack.Count > 2)
8941
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8942
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
8943
FormatState fsNew =
_converterState
.PreviousTopFormatState(1);
8952
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8956
_converterState
.RtfFormatStack.Pop();
8959
_lexer.CodePage =
_converterState
.CodePage;
8968
&&
_converterState
.DefaultFont >= 0)
8970
SelectFont(
_converterState
.DefaultFont);
8974
else if (fsCur.Font < 0 &&
_converterState
.DefaultFont >= 0)
8976
SelectFont(
_converterState
.DefaultFont);
8983
FormatState formatState =
_converterState
.TopFormatState;
8991
FontTableEntry entry =
_converterState
.FontTable.FindEntryByIndex((int)formatState.Font);
8996
formatState.CodePage =
_converterState
.CodePage;
9008
FormatState formatState =
_converterState
.TopFormatState;
9053
_converterState
.FontTable.DefineEntry((int)token.Parameter);
9066
else if (
_converterState
.DefaultLangFE > 0)
9068
formatState.LangCur =
_converterState
.DefaultLangFE;
9077
else if (
_converterState
.DefaultLang > 0)
9079
formatState.LangCur =
_converterState
.DefaultLang;
9102
_converterState
.DefaultLang = token.Parameter;
9105
_converterState
.DefaultLangFE = token.Parameter;
9108
_converterState
.DefaultFont = token.Parameter;
9112
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9116
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
9193
if (
_converterState
.DefaultFont >= 0)
9195
SelectFont(
_converterState
.DefaultFont);
9605
_converterState
.ColorTable.NewRed = (byte)token.Parameter;
9610
_converterState
.ColorTable.NewGreen = (byte)token.Parameter;
9615
_converterState
.ColorTable.NewBlue = (byte)token.Parameter;
9623
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9691
FormatState fs =
_converterState
.TopFormatState;
9732
switch (
_converterState
.TopFormatState.RtfDestination)
9738
HandleNormalText(token.Text,
_converterState
.TopFormatState);
9807
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9846
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9871
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9876
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9899
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9904
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9930
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
9931
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
9948
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10054
ListTable lt =
_converterState
.ListTable;
10055
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10056
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10077
ListTable lt =
_converterState
.ListTable;
10078
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10079
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10111
ListTable listTable =
_converterState
.ListTable;
10112
ListOverrideTable listOverrideTable =
_converterState
.ListOverrideTable;
10114
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10115
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10160
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10238
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
10261
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10262
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10263
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10301
dna.CoalesceChildren(
_converterState
, nAt);
10350
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10351
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10423
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10852
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10853
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10894
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10906
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10937
dna.CoalesceChildren(
_converterState
, nOpen);
11047
ListOverrideTable lot =
_converterState
.ListOverrideTable;
11054
ListTableEntry lte =
_converterState
.ListTable.FindEntry(lo.ID);
11092
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11094
bool bMarkerPresent =
_converterState
.IsMarkerPresent;
11097
if (
_converterState
.IsMarkerPresent)
11099
_converterState
.IsMarkerPresent = false;
11145
if (
_converterState
.IsMarkerWhiteSpace)
11147
_converterState
.IsMarkerWhiteSpace = false;
11201
_converterState
.CodePage = 1252;
11202
_lexer.CodePage =
_converterState
.CodePage;
11205
_converterState
.CodePage = 10000;
11206
_lexer.CodePage =
_converterState
.CodePage;
11209
_converterState
.CodePage = 437;
11210
_lexer.CodePage =
_converterState
.CodePage;
11213
_converterState
.CodePage = 850;
11214
_lexer.CodePage =
_converterState
.CodePage;
11229
FormatState previous =
_converterState
.PreviousTopFormatState(1);
11230
FormatState previousPrevious =
_converterState
.PreviousTopFormatState(2);
11248
switch (
_converterState
.TopFormatState.RtfDestination)
11254
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11260
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11274
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11292
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11293
FormatState formatState =
_converterState
.TopFormatState;
11306
formatState.CodePage =
_converterState
.CodePage;
11321
_converterState
.ColorTable.FinishColor();
11326
FormatState fs =
_converterState
.TopFormatState;
11383
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11415
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11428
dna.CoalesceChildren(
_converterState
, dna.Count - 1);
11433
switch (
_converterState
.TopFormatState.RtfDestination)