1 write to _converterState
PresentationFramework (1)
System\Windows\Documents\RtfToXamlReader.cs (1)
7754
_converterState
= new ConverterState();
128 references to _converterState
PresentationFramework (128)
System\Windows\Documents\RtfToXamlReader.cs (128)
7755
_converterState
.RtfFormatStack.Push();
7780
int nStartCount =
_converterState
.RtfFormatStack.Count;
7784
rtfToXamlError = _lexer.Next(token,
_converterState
.TopFormatState);
7794
_converterState
.RtfFormatStack.Push();
7809
while (
_converterState
.RtfFormatStack.Count > 2 &&
_converterState
.RtfFormatStack.Count > nStartCount)
7838
_converterState
.TopFormatState.RtfDestination == RtfDestination.DestFieldResult)
7844
_converterState
.TopFormatState.RtfDestination = RtfDestination.DestUnknown;
7871
ProcessImage(
_converterState
.TopFormatState);
7916
return
_converterState
;
7941
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
7960
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
7985
FormatState formatState =
_converterState
.TopFormatState;
7995
dna.CoalesceAll(
_converterState
);
8037
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8204
dnInstruction.AppendXamlPrefix(
_converterState
);
8346
dn.FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0));
8453
dn.FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0));
8594
dn.FormatState.Font =
_converterState
.FontTable.DefineEntryByName(name);
8734
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8789
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8816
dna.CoalesceChildren(
_converterState
, ndnListText);
8819
_converterState
.IsMarkerWhiteSpace = true;
8822
_converterState
.IsMarkerPresent = true;
8828
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8834
FormatState formatState =
_converterState
.TopFormatState;
8847
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8893
ListTableEntry listTableEntry =
_converterState
.ListTable.CurrentEntry;
8909
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8918
_converterState
.FontTable.MapFonts();
8926
if (
_converterState
.RtfFormatStack.Count > 2)
8928
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8929
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
8930
FormatState fsNew =
_converterState
.PreviousTopFormatState(1);
8939
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8946
_converterState
.RtfFormatStack.Pop();
8949
_lexer.CodePage =
_converterState
.CodePage;
8958
&&
_converterState
.DefaultFont >= 0)
8960
SelectFont(
_converterState
.DefaultFont);
8964
else if (fsCur.Font < 0 &&
_converterState
.DefaultFont >= 0)
8966
SelectFont(
_converterState
.DefaultFont);
8973
FormatState formatState =
_converterState
.TopFormatState;
8981
FontTableEntry entry =
_converterState
.FontTable.FindEntryByIndex((int)formatState.Font);
8986
formatState.CodePage =
_converterState
.CodePage;
8998
FormatState formatState =
_converterState
.TopFormatState;
9043
_converterState
.FontTable.DefineEntry((int)token.Parameter);
9056
else if (
_converterState
.DefaultLangFE > 0)
9058
formatState.LangCur =
_converterState
.DefaultLangFE;
9067
else if (
_converterState
.DefaultLang > 0)
9069
formatState.LangCur =
_converterState
.DefaultLang;
9092
_converterState
.DefaultLang = token.Parameter;
9095
_converterState
.DefaultLangFE = token.Parameter;
9098
_converterState
.DefaultFont = token.Parameter;
9102
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9106
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
9186
if (
_converterState
.DefaultFont >= 0)
9188
SelectFont(
_converterState
.DefaultFont);
9598
_converterState
.ColorTable.NewRed = (byte)token.Parameter;
9603
_converterState
.ColorTable.NewGreen = (byte)token.Parameter;
9608
_converterState
.ColorTable.NewBlue = (byte)token.Parameter;
9616
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9684
FormatState fs =
_converterState
.TopFormatState;
9725
switch (
_converterState
.TopFormatState.RtfDestination)
9731
HandleNormalText(token.Text,
_converterState
.TopFormatState);
9800
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9839
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9862
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9867
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9888
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9893
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9919
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
9920
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
9937
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10043
ListTable lt =
_converterState
.ListTable;
10044
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10045
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10066
ListTable lt =
_converterState
.ListTable;
10067
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10068
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10100
ListTable listTable =
_converterState
.ListTable;
10101
ListOverrideTable listOverrideTable =
_converterState
.ListOverrideTable;
10103
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10104
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10155
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10244
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
10270
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10271
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10272
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10310
dna.CoalesceChildren(
_converterState
, nAt);
10359
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10360
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10432
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10959
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10960
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
11001
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11012
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11043
dna.CoalesceChildren(
_converterState
, nOpen);
11153
ListOverrideTable lot =
_converterState
.ListOverrideTable;
11160
ListTableEntry lte =
_converterState
.ListTable.FindEntry(lo.ID);
11198
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11200
bool bMarkerPresent =
_converterState
.IsMarkerPresent;
11203
if (
_converterState
.IsMarkerPresent)
11205
_converterState
.IsMarkerPresent = false;
11251
if (
_converterState
.IsMarkerWhiteSpace)
11253
_converterState
.IsMarkerWhiteSpace = false;
11307
_converterState
.CodePage = 1252;
11308
_lexer.CodePage =
_converterState
.CodePage;
11311
_converterState
.CodePage = 10000;
11312
_lexer.CodePage =
_converterState
.CodePage;
11315
_converterState
.CodePage = 437;
11316
_lexer.CodePage =
_converterState
.CodePage;
11319
_converterState
.CodePage = 850;
11320
_lexer.CodePage =
_converterState
.CodePage;
11335
FormatState previous =
_converterState
.PreviousTopFormatState(1);
11336
FormatState previousPrevious =
_converterState
.PreviousTopFormatState(2);
11354
switch (
_converterState
.TopFormatState.RtfDestination)
11360
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11366
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11380
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11398
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11399
FormatState formatState =
_converterState
.TopFormatState;
11412
formatState.CodePage =
_converterState
.CodePage;
11427
_converterState
.ColorTable.FinishColor();
11432
FormatState fs =
_converterState
.TopFormatState;
11489
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11519
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11530
dna.CoalesceChildren(
_converterState
, dna.Count - 1);
11535
switch (
_converterState
.TopFormatState.RtfDestination)