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