1 write to _converterState
PresentationFramework (1)
System\Windows\Documents\RtfToXamlReader.cs (1)
7753
_converterState
= new ConverterState();
128 references to _converterState
PresentationFramework (128)
System\Windows\Documents\RtfToXamlReader.cs (128)
7754
_converterState
.RtfFormatStack.Push();
7779
int nStartCount =
_converterState
.RtfFormatStack.Count;
7783
rtfToXamlError = _lexer.Next(token,
_converterState
.TopFormatState);
7793
_converterState
.RtfFormatStack.Push();
7808
while (
_converterState
.RtfFormatStack.Count > 2 &&
_converterState
.RtfFormatStack.Count > nStartCount)
7837
_converterState
.TopFormatState.RtfDestination == RtfDestination.DestFieldResult)
7843
_converterState
.TopFormatState.RtfDestination = RtfDestination.DestUnknown;
7870
ProcessImage(
_converterState
.TopFormatState);
7915
return
_converterState
;
7940
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
7959
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
7984
FormatState formatState =
_converterState
.TopFormatState;
7994
dna.CoalesceAll(
_converterState
);
8036
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8203
dnInstruction.AppendXamlPrefix(
_converterState
);
8345
dn.FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0));
8452
dn.FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0));
8593
dn.FormatState.Font =
_converterState
.FontTable.DefineEntryByName(name);
8733
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8788
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8815
dna.CoalesceChildren(
_converterState
, ndnListText);
8818
_converterState
.IsMarkerWhiteSpace = true;
8821
_converterState
.IsMarkerPresent = true;
8827
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8833
FormatState formatState =
_converterState
.TopFormatState;
8846
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8892
ListTableEntry listTableEntry =
_converterState
.ListTable.CurrentEntry;
8908
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8917
_converterState
.FontTable.MapFonts();
8925
if (
_converterState
.RtfFormatStack.Count > 2)
8927
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8928
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
8929
FormatState fsNew =
_converterState
.PreviousTopFormatState(1);
8938
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8945
_converterState
.RtfFormatStack.Pop();
8948
_lexer.CodePage =
_converterState
.CodePage;
8957
&&
_converterState
.DefaultFont >= 0)
8959
SelectFont(
_converterState
.DefaultFont);
8963
else if (fsCur.Font < 0 &&
_converterState
.DefaultFont >= 0)
8965
SelectFont(
_converterState
.DefaultFont);
8972
FormatState formatState =
_converterState
.TopFormatState;
8980
FontTableEntry entry =
_converterState
.FontTable.FindEntryByIndex((int)formatState.Font);
8985
formatState.CodePage =
_converterState
.CodePage;
8997
FormatState formatState =
_converterState
.TopFormatState;
9042
_converterState
.FontTable.DefineEntry((int)token.Parameter);
9055
else if (
_converterState
.DefaultLangFE > 0)
9057
formatState.LangCur =
_converterState
.DefaultLangFE;
9066
else if (
_converterState
.DefaultLang > 0)
9068
formatState.LangCur =
_converterState
.DefaultLang;
9091
_converterState
.DefaultLang = token.Parameter;
9094
_converterState
.DefaultLangFE = token.Parameter;
9097
_converterState
.DefaultFont = token.Parameter;
9101
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9105
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
9185
if (
_converterState
.DefaultFont >= 0)
9187
SelectFont(
_converterState
.DefaultFont);
9597
_converterState
.ColorTable.NewRed = (byte)token.Parameter;
9602
_converterState
.ColorTable.NewGreen = (byte)token.Parameter;
9607
_converterState
.ColorTable.NewBlue = (byte)token.Parameter;
9615
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9683
FormatState fs =
_converterState
.TopFormatState;
9724
switch (
_converterState
.TopFormatState.RtfDestination)
9730
HandleNormalText(token.Text,
_converterState
.TopFormatState);
9799
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9838
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9861
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9866
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9887
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9892
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9918
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
9919
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
9936
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10042
ListTable lt =
_converterState
.ListTable;
10043
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10044
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10065
ListTable lt =
_converterState
.ListTable;
10066
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10067
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10099
ListTable listTable =
_converterState
.ListTable;
10100
ListOverrideTable listOverrideTable =
_converterState
.ListOverrideTable;
10102
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10103
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10154
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10243
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
10269
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10270
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10271
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10309
dna.CoalesceChildren(
_converterState
, nAt);
10358
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10359
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10431
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10958
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10959
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
11000
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11011
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11042
dna.CoalesceChildren(
_converterState
, nOpen);
11152
ListOverrideTable lot =
_converterState
.ListOverrideTable;
11159
ListTableEntry lte =
_converterState
.ListTable.FindEntry(lo.ID);
11197
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11199
bool bMarkerPresent =
_converterState
.IsMarkerPresent;
11202
if (
_converterState
.IsMarkerPresent)
11204
_converterState
.IsMarkerPresent = false;
11250
if (
_converterState
.IsMarkerWhiteSpace)
11252
_converterState
.IsMarkerWhiteSpace = false;
11306
_converterState
.CodePage = 1252;
11307
_lexer.CodePage =
_converterState
.CodePage;
11310
_converterState
.CodePage = 10000;
11311
_lexer.CodePage =
_converterState
.CodePage;
11314
_converterState
.CodePage = 437;
11315
_lexer.CodePage =
_converterState
.CodePage;
11318
_converterState
.CodePage = 850;
11319
_lexer.CodePage =
_converterState
.CodePage;
11334
FormatState previous =
_converterState
.PreviousTopFormatState(1);
11335
FormatState previousPrevious =
_converterState
.PreviousTopFormatState(2);
11353
switch (
_converterState
.TopFormatState.RtfDestination)
11359
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11365
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11379
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11397
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11398
FormatState formatState =
_converterState
.TopFormatState;
11411
formatState.CodePage =
_converterState
.CodePage;
11426
_converterState
.ColorTable.FinishColor();
11431
FormatState fs =
_converterState
.TopFormatState;
11488
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11518
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11529
dna.CoalesceChildren(
_converterState
, dna.Count - 1);
11534
switch (
_converterState
.TopFormatState.RtfDestination)