1 write to _converterState
PresentationFramework (1)
System\Windows\Documents\RtfToXamlReader.cs (1)
7771
_converterState
= new ConverterState();
128 references to _converterState
PresentationFramework (128)
System\Windows\Documents\RtfToXamlReader.cs (128)
7772
_converterState
.RtfFormatStack.Push();
7797
int nStartCount =
_converterState
.RtfFormatStack.Count;
7801
rtfToXamlError = _lexer.Next(token,
_converterState
.TopFormatState);
7811
_converterState
.RtfFormatStack.Push();
7826
while (
_converterState
.RtfFormatStack.Count > 2 &&
_converterState
.RtfFormatStack.Count > nStartCount)
7855
_converterState
.TopFormatState.RtfDestination == RtfDestination.DestFieldResult)
7861
_converterState
.TopFormatState.RtfDestination = RtfDestination.DestUnknown;
7888
ProcessImage(
_converterState
.TopFormatState);
7933
return
_converterState
;
7958
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
7977
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8002
FormatState formatState =
_converterState
.TopFormatState;
8012
dna.CoalesceAll(
_converterState
);
8054
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8221
dnInstruction.AppendXamlPrefix(
_converterState
);
8364
FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0))
8473
FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0))
8615
dn.FormatState.Font =
_converterState
.FontTable.DefineEntryByName(name);
8756
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8811
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8838
dna.CoalesceChildren(
_converterState
, ndnListText);
8841
_converterState
.IsMarkerWhiteSpace = true;
8844
_converterState
.IsMarkerPresent = true;
8850
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8856
FormatState formatState =
_converterState
.TopFormatState;
8869
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8919
ListTableEntry listTableEntry =
_converterState
.ListTable.CurrentEntry;
8935
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8944
_converterState
.FontTable.MapFonts();
8952
if (
_converterState
.RtfFormatStack.Count > 2)
8954
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8955
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
8956
FormatState fsNew =
_converterState
.PreviousTopFormatState(1);
8965
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8972
_converterState
.RtfFormatStack.Pop();
8975
_lexer.CodePage =
_converterState
.CodePage;
8984
&&
_converterState
.DefaultFont >= 0)
8986
SelectFont(
_converterState
.DefaultFont);
8990
else if (fsCur.Font < 0 &&
_converterState
.DefaultFont >= 0)
8992
SelectFont(
_converterState
.DefaultFont);
8999
FormatState formatState =
_converterState
.TopFormatState;
9007
FontTableEntry entry =
_converterState
.FontTable.FindEntryByIndex((int)formatState.Font);
9012
formatState.CodePage =
_converterState
.CodePage;
9024
FormatState formatState =
_converterState
.TopFormatState;
9069
_converterState
.FontTable.DefineEntry((int)token.Parameter);
9082
else if (
_converterState
.DefaultLangFE > 0)
9084
formatState.LangCur =
_converterState
.DefaultLangFE;
9093
else if (
_converterState
.DefaultLang > 0)
9095
formatState.LangCur =
_converterState
.DefaultLang;
9118
_converterState
.DefaultLang = token.Parameter;
9121
_converterState
.DefaultLangFE = token.Parameter;
9124
_converterState
.DefaultFont = token.Parameter;
9128
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9132
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
9212
if (
_converterState
.DefaultFont >= 0)
9214
SelectFont(
_converterState
.DefaultFont);
9624
_converterState
.ColorTable.NewRed = (byte)token.Parameter;
9629
_converterState
.ColorTable.NewGreen = (byte)token.Parameter;
9634
_converterState
.ColorTable.NewBlue = (byte)token.Parameter;
9642
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9710
FormatState fs =
_converterState
.TopFormatState;
9751
switch (
_converterState
.TopFormatState.RtfDestination)
9757
HandleNormalText(token.Text,
_converterState
.TopFormatState);
9826
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9865
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9890
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9895
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9918
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9923
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9949
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
9950
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
9967
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10073
ListTable lt =
_converterState
.ListTable;
10074
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10075
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10096
ListTable lt =
_converterState
.ListTable;
10097
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10098
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10130
ListTable listTable =
_converterState
.ListTable;
10131
ListOverrideTable listOverrideTable =
_converterState
.ListOverrideTable;
10133
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10134
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10185
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10275
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
10301
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10302
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10303
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10341
dna.CoalesceChildren(
_converterState
, nAt);
10390
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10391
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10463
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10988
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10989
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
11030
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11042
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11073
dna.CoalesceChildren(
_converterState
, nOpen);
11183
ListOverrideTable lot =
_converterState
.ListOverrideTable;
11190
ListTableEntry lte =
_converterState
.ListTable.FindEntry(lo.ID);
11228
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11230
bool bMarkerPresent =
_converterState
.IsMarkerPresent;
11233
if (
_converterState
.IsMarkerPresent)
11235
_converterState
.IsMarkerPresent = false;
11281
if (
_converterState
.IsMarkerWhiteSpace)
11283
_converterState
.IsMarkerWhiteSpace = false;
11337
_converterState
.CodePage = 1252;
11338
_lexer.CodePage =
_converterState
.CodePage;
11341
_converterState
.CodePage = 10000;
11342
_lexer.CodePage =
_converterState
.CodePage;
11345
_converterState
.CodePage = 437;
11346
_lexer.CodePage =
_converterState
.CodePage;
11349
_converterState
.CodePage = 850;
11350
_lexer.CodePage =
_converterState
.CodePage;
11365
FormatState previous =
_converterState
.PreviousTopFormatState(1);
11366
FormatState previousPrevious =
_converterState
.PreviousTopFormatState(2);
11384
switch (
_converterState
.TopFormatState.RtfDestination)
11390
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11396
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11410
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11428
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11429
FormatState formatState =
_converterState
.TopFormatState;
11442
formatState.CodePage =
_converterState
.CodePage;
11457
_converterState
.ColorTable.FinishColor();
11462
FormatState fs =
_converterState
.TopFormatState;
11519
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11551
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11564
dna.CoalesceChildren(
_converterState
, dna.Count - 1);
11569
switch (
_converterState
.TopFormatState.RtfDestination)