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