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