1 write to _converterState
PresentationFramework (1)
System\Windows\Documents\RtfToXamlReader.cs (1)
7755
_converterState
= new ConverterState();
128 references to _converterState
PresentationFramework (128)
System\Windows\Documents\RtfToXamlReader.cs (128)
7756
_converterState
.RtfFormatStack.Push();
7781
int nStartCount =
_converterState
.RtfFormatStack.Count;
7785
rtfToXamlError = _lexer.Next(token,
_converterState
.TopFormatState);
7795
_converterState
.RtfFormatStack.Push();
7810
while (
_converterState
.RtfFormatStack.Count > 2 &&
_converterState
.RtfFormatStack.Count > nStartCount)
7839
_converterState
.TopFormatState.RtfDestination == RtfDestination.DestFieldResult)
7845
_converterState
.TopFormatState.RtfDestination = RtfDestination.DestUnknown;
7872
ProcessImage(
_converterState
.TopFormatState);
7917
return
_converterState
;
7942
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
7961
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
7986
FormatState formatState =
_converterState
.TopFormatState;
7996
dna.CoalesceAll(
_converterState
);
8038
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8205
dnInstruction.AppendXamlPrefix(
_converterState
);
8347
dn.FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0));
8454
dn.FormatState = new FormatState(
_converterState
.PreviousTopFormatState(0));
8595
dn.FormatState.Font =
_converterState
.FontTable.DefineEntryByName(name);
8735
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8790
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8817
dna.CoalesceChildren(
_converterState
, ndnListText);
8820
_converterState
.IsMarkerWhiteSpace = true;
8823
_converterState
.IsMarkerPresent = true;
8829
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8835
FormatState formatState =
_converterState
.TopFormatState;
8848
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8894
ListTableEntry listTableEntry =
_converterState
.ListTable.CurrentEntry;
8910
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8919
_converterState
.FontTable.MapFonts();
8927
if (
_converterState
.RtfFormatStack.Count > 2)
8929
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
8930
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
8931
FormatState fsNew =
_converterState
.PreviousTopFormatState(1);
8940
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
8947
_converterState
.RtfFormatStack.Pop();
8950
_lexer.CodePage =
_converterState
.CodePage;
8959
&&
_converterState
.DefaultFont >= 0)
8961
SelectFont(
_converterState
.DefaultFont);
8965
else if (fsCur.Font < 0 &&
_converterState
.DefaultFont >= 0)
8967
SelectFont(
_converterState
.DefaultFont);
8974
FormatState formatState =
_converterState
.TopFormatState;
8982
FontTableEntry entry =
_converterState
.FontTable.FindEntryByIndex((int)formatState.Font);
8987
formatState.CodePage =
_converterState
.CodePage;
8999
FormatState formatState =
_converterState
.TopFormatState;
9044
_converterState
.FontTable.DefineEntry((int)token.Parameter);
9057
else if (
_converterState
.DefaultLangFE > 0)
9059
formatState.LangCur =
_converterState
.DefaultLangFE;
9068
else if (
_converterState
.DefaultLang > 0)
9070
formatState.LangCur =
_converterState
.DefaultLang;
9093
_converterState
.DefaultLang = token.Parameter;
9096
_converterState
.DefaultLangFE = token.Parameter;
9099
_converterState
.DefaultFont = token.Parameter;
9103
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9107
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
9187
if (
_converterState
.DefaultFont >= 0)
9189
SelectFont(
_converterState
.DefaultFont);
9599
_converterState
.ColorTable.NewRed = (byte)token.Parameter;
9604
_converterState
.ColorTable.NewGreen = (byte)token.Parameter;
9609
_converterState
.ColorTable.NewBlue = (byte)token.Parameter;
9617
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
9685
FormatState fs =
_converterState
.TopFormatState;
9726
switch (
_converterState
.TopFormatState.RtfDestination)
9732
HandleNormalText(token.Text,
_converterState
.TopFormatState);
9801
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9840
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9863
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9868
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9889
dna.CoalesceOnlyChildren(
_converterState
, nInsertAt);
9894
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
9920
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
9921
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
9938
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10044
ListTable lt =
_converterState
.ListTable;
10045
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10046
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10067
ListTable lt =
_converterState
.ListTable;
10068
ListOverrideTable lot =
_converterState
.ListOverrideTable;
10069
RtfFormatStack formats =
_converterState
.RtfFormatStack;
10101
ListTable listTable =
_converterState
.ListTable;
10102
ListOverrideTable listOverrideTable =
_converterState
.ListOverrideTable;
10104
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10105
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10156
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10245
FormatState previousFormatState =
_converterState
.PreviousTopFormatState(1);
10271
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10272
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10273
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10311
dna.CoalesceChildren(
_converterState
, nAt);
10360
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10361
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
10433
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
10960
FormatState fsCur =
_converterState
.PreviousTopFormatState(0);
10961
FormatState fsOld =
_converterState
.PreviousTopFormatState(1);
11002
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11013
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11044
dna.CoalesceChildren(
_converterState
, nOpen);
11154
ListOverrideTable lot =
_converterState
.ListOverrideTable;
11161
ListTableEntry lte =
_converterState
.ListTable.FindEntry(lo.ID);
11199
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11201
bool bMarkerPresent =
_converterState
.IsMarkerPresent;
11204
if (
_converterState
.IsMarkerPresent)
11206
_converterState
.IsMarkerPresent = false;
11252
if (
_converterState
.IsMarkerWhiteSpace)
11254
_converterState
.IsMarkerWhiteSpace = false;
11308
_converterState
.CodePage = 1252;
11309
_lexer.CodePage =
_converterState
.CodePage;
11312
_converterState
.CodePage = 10000;
11313
_lexer.CodePage =
_converterState
.CodePage;
11316
_converterState
.CodePage = 437;
11317
_lexer.CodePage =
_converterState
.CodePage;
11320
_converterState
.CodePage = 850;
11321
_lexer.CodePage =
_converterState
.CodePage;
11336
FormatState previous =
_converterState
.PreviousTopFormatState(1);
11337
FormatState previousPrevious =
_converterState
.PreviousTopFormatState(2);
11355
switch (
_converterState
.TopFormatState.RtfDestination)
11361
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11367
HandleNormalText(token.Text,
_converterState
.TopFormatState);
11381
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11399
FontTableEntry entry =
_converterState
.FontTable.CurrentEntry;
11400
FormatState formatState =
_converterState
.TopFormatState;
11413
formatState.CodePage =
_converterState
.CodePage;
11428
_converterState
.ColorTable.FinishColor();
11433
FormatState fs =
_converterState
.TopFormatState;
11490
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11520
DocumentNodeArray dna =
_converterState
.DocumentNodeArray;
11531
dna.CoalesceChildren(
_converterState
, dna.Count - 1);
11536
switch (
_converterState
.TopFormatState.RtfDestination)