1 write to _converterState
PresentationFramework (1)
System\Windows\Documents\RtfToXamlReader.cs (1)
7770_converterState = new ConverterState();
128 references to _converterState
PresentationFramework (128)
System\Windows\Documents\RtfToXamlReader.cs (128)
7771_converterState.RtfFormatStack.Push(); 7796int nStartCount = _converterState.RtfFormatStack.Count; 7800rtfToXamlError = _lexer.Next(token, _converterState.TopFormatState); 7810_converterState.RtfFormatStack.Push(); 7825while (_converterState.RtfFormatStack.Count > 2 && _converterState.RtfFormatStack.Count > nStartCount) 7854_converterState.TopFormatState.RtfDestination == RtfDestination.DestFieldResult) 7860_converterState.TopFormatState.RtfDestination = RtfDestination.DestUnknown; 7887ProcessImage(_converterState.TopFormatState); 7932return _converterState; 7957DocumentNodeArray dna = _converterState.DocumentNodeArray; 7976DocumentNodeArray dna = _converterState.DocumentNodeArray; 8001FormatState formatState = _converterState.TopFormatState; 8011dna.CoalesceAll(_converterState); 8053DocumentNodeArray dna = _converterState.DocumentNodeArray; 8220dnInstruction.AppendXamlPrefix(_converterState); 8363FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8472FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8614dn.FormatState.Font = _converterState.FontTable.DefineEntryByName(name); 8755DocumentNodeArray dna = _converterState.DocumentNodeArray; 8810DocumentNodeArray dna = _converterState.DocumentNodeArray; 8837dna.CoalesceChildren(_converterState, ndnListText); 8840_converterState.IsMarkerWhiteSpace = true; 8843_converterState.IsMarkerPresent = true; 8849DocumentNodeArray dna = _converterState.DocumentNodeArray; 8855FormatState formatState = _converterState.TopFormatState; 8868DocumentNodeArray dna = _converterState.DocumentNodeArray; 8918ListTableEntry listTableEntry = _converterState.ListTable.CurrentEntry; 8934FontTableEntry entry = _converterState.FontTable.CurrentEntry; 8943_converterState.FontTable.MapFonts(); 8951if (_converterState.RtfFormatStack.Count > 2) 8953DocumentNodeArray dna = _converterState.DocumentNodeArray; 8954FormatState fsCur = _converterState.PreviousTopFormatState(0); 8955FormatState fsNew = _converterState.PreviousTopFormatState(1); 8964FontTableEntry entry = _converterState.FontTable.CurrentEntry; 8971_converterState.RtfFormatStack.Pop(); 8974_lexer.CodePage = _converterState.CodePage; 8983&& _converterState.DefaultFont >= 0) 8985SelectFont(_converterState.DefaultFont); 8989else if (fsCur.Font < 0 && _converterState.DefaultFont >= 0) 8991SelectFont(_converterState.DefaultFont); 8998FormatState formatState = _converterState.TopFormatState; 9006FontTableEntry entry = _converterState.FontTable.FindEntryByIndex((int)formatState.Font); 9011formatState.CodePage = _converterState.CodePage; 9023FormatState formatState = _converterState.TopFormatState; 9068_converterState.FontTable.DefineEntry((int)token.Parameter); 9081else if (_converterState.DefaultLangFE > 0) 9083formatState.LangCur = _converterState.DefaultLangFE; 9092else if (_converterState.DefaultLang > 0) 9094formatState.LangCur = _converterState.DefaultLang; 9117_converterState.DefaultLang = token.Parameter; 9120_converterState.DefaultLangFE = token.Parameter; 9123_converterState.DefaultFont = token.Parameter; 9127FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9131FontTableEntry entry = _converterState.FontTable.CurrentEntry; 9211if (_converterState.DefaultFont >= 0) 9213SelectFont(_converterState.DefaultFont); 9623_converterState.ColorTable.NewRed = (byte)token.Parameter; 9628_converterState.ColorTable.NewGreen = (byte)token.Parameter; 9633_converterState.ColorTable.NewBlue = (byte)token.Parameter; 9641FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9709FormatState fs = _converterState.TopFormatState; 9750switch (_converterState.TopFormatState.RtfDestination) 9756HandleNormalText(token.Text, _converterState.TopFormatState); 9825DocumentNodeArray dna = _converterState.DocumentNodeArray; 9864DocumentNodeArray dna = _converterState.DocumentNodeArray; 9889dna.CoalesceOnlyChildren(_converterState, nInsertAt); 9894DocumentNodeArray dna = _converterState.DocumentNodeArray; 9917dna.CoalesceOnlyChildren(_converterState, nInsertAt); 9922DocumentNodeArray dna = _converterState.DocumentNodeArray; 9948FormatState fsCur = _converterState.PreviousTopFormatState(0); 9949FormatState fsOld = _converterState.PreviousTopFormatState(1); 9966DocumentNodeArray dna = _converterState.DocumentNodeArray; 10072ListTable lt = _converterState.ListTable; 10073ListOverrideTable lot = _converterState.ListOverrideTable; 10074RtfFormatStack formats = _converterState.RtfFormatStack; 10095ListTable lt = _converterState.ListTable; 10096ListOverrideTable lot = _converterState.ListOverrideTable; 10097RtfFormatStack formats = _converterState.RtfFormatStack; 10129ListTable listTable = _converterState.ListTable; 10130ListOverrideTable listOverrideTable = _converterState.ListOverrideTable; 10132FormatState fsCur = _converterState.PreviousTopFormatState(0); 10133FormatState fsOld = _converterState.PreviousTopFormatState(1); 10184DocumentNodeArray dna = _converterState.DocumentNodeArray; 10274FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10300DocumentNodeArray dna = _converterState.DocumentNodeArray; 10301FormatState fsCur = _converterState.PreviousTopFormatState(0); 10302FormatState fsOld = _converterState.PreviousTopFormatState(1); 10340dna.CoalesceChildren(_converterState, nAt); 10389FormatState fsCur = _converterState.PreviousTopFormatState(0); 10390FormatState fsOld = _converterState.PreviousTopFormatState(1); 10462DocumentNodeArray dna = _converterState.DocumentNodeArray; 10987FormatState fsCur = _converterState.PreviousTopFormatState(0); 10988FormatState fsOld = _converterState.PreviousTopFormatState(1); 11029DocumentNodeArray dna = _converterState.DocumentNodeArray; 11041DocumentNodeArray dna = _converterState.DocumentNodeArray; 11072dna.CoalesceChildren(_converterState, nOpen); 11182ListOverrideTable lot = _converterState.ListOverrideTable; 11189ListTableEntry lte = _converterState.ListTable.FindEntry(lo.ID); 11227DocumentNodeArray dna = _converterState.DocumentNodeArray; 11229bool bMarkerPresent = _converterState.IsMarkerPresent; 11232if (_converterState.IsMarkerPresent) 11234_converterState.IsMarkerPresent = false; 11280if (_converterState.IsMarkerWhiteSpace) 11282_converterState.IsMarkerWhiteSpace = false; 11336_converterState.CodePage = 1252; 11337_lexer.CodePage = _converterState.CodePage; 11340_converterState.CodePage = 10000; 11341_lexer.CodePage = _converterState.CodePage; 11344_converterState.CodePage = 437; 11345_lexer.CodePage = _converterState.CodePage; 11348_converterState.CodePage = 850; 11349_lexer.CodePage = _converterState.CodePage; 11364FormatState previous = _converterState.PreviousTopFormatState(1); 11365FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11383switch (_converterState.TopFormatState.RtfDestination) 11389HandleNormalText(token.Text, _converterState.TopFormatState); 11395HandleNormalText(token.Text, _converterState.TopFormatState); 11409FontTableEntry entry = _converterState.FontTable.CurrentEntry; 11427FontTableEntry entry = _converterState.FontTable.CurrentEntry; 11428FormatState formatState = _converterState.TopFormatState; 11441formatState.CodePage = _converterState.CodePage; 11456_converterState.ColorTable.FinishColor(); 11461FormatState fs = _converterState.TopFormatState; 11518DocumentNodeArray dna = _converterState.DocumentNodeArray; 11550DocumentNodeArray dna = _converterState.DocumentNodeArray; 11563dna.CoalesceChildren(_converterState, dna.Count - 1); 11568switch (_converterState.TopFormatState.RtfDestination)