1 write to _converterState
PresentationFramework (1)
System\Windows\Documents\RtfToXamlReader.cs (1)
7758_converterState = new ConverterState();
128 references to _converterState
PresentationFramework (128)
System\Windows\Documents\RtfToXamlReader.cs (128)
7759_converterState.RtfFormatStack.Push(); 7784int nStartCount = _converterState.RtfFormatStack.Count; 7788rtfToXamlError = _lexer.Next(token, _converterState.TopFormatState); 7798_converterState.RtfFormatStack.Push(); 7813while (_converterState.RtfFormatStack.Count > 2 && _converterState.RtfFormatStack.Count > nStartCount) 7842_converterState.TopFormatState.RtfDestination == RtfDestination.DestFieldResult) 7848_converterState.TopFormatState.RtfDestination = RtfDestination.DestUnknown; 7875ProcessImage(_converterState.TopFormatState); 7920return _converterState; 7945DocumentNodeArray dna = _converterState.DocumentNodeArray; 7964DocumentNodeArray dna = _converterState.DocumentNodeArray; 7989FormatState formatState = _converterState.TopFormatState; 7999dna.CoalesceAll(_converterState); 8041DocumentNodeArray dna = _converterState.DocumentNodeArray; 8208dnInstruction.AppendXamlPrefix(_converterState); 8351FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8460FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8602dn.FormatState.Font = _converterState.FontTable.DefineEntryByName(name); 8743DocumentNodeArray dna = _converterState.DocumentNodeArray; 8798DocumentNodeArray dna = _converterState.DocumentNodeArray; 8825dna.CoalesceChildren(_converterState, ndnListText); 8828_converterState.IsMarkerWhiteSpace = true; 8831_converterState.IsMarkerPresent = true; 8837DocumentNodeArray dna = _converterState.DocumentNodeArray; 8843FormatState formatState = _converterState.TopFormatState; 8856DocumentNodeArray dna = _converterState.DocumentNodeArray; 8906ListTableEntry listTableEntry = _converterState.ListTable.CurrentEntry; 8922FontTableEntry entry = _converterState.FontTable.CurrentEntry; 8931_converterState.FontTable.MapFonts(); 8939if (_converterState.RtfFormatStack.Count > 2) 8941DocumentNodeArray dna = _converterState.DocumentNodeArray; 8942FormatState fsCur = _converterState.PreviousTopFormatState(0); 8943FormatState fsNew = _converterState.PreviousTopFormatState(1); 8952FontTableEntry entry = _converterState.FontTable.CurrentEntry; 8956_converterState.RtfFormatStack.Pop(); 8959_lexer.CodePage = _converterState.CodePage; 8968&& _converterState.DefaultFont >= 0) 8970SelectFont(_converterState.DefaultFont); 8974else if (fsCur.Font < 0 && _converterState.DefaultFont >= 0) 8976SelectFont(_converterState.DefaultFont); 8983FormatState formatState = _converterState.TopFormatState; 8991FontTableEntry entry = _converterState.FontTable.FindEntryByIndex((int)formatState.Font); 8996formatState.CodePage = _converterState.CodePage; 9008FormatState formatState = _converterState.TopFormatState; 9053_converterState.FontTable.DefineEntry((int)token.Parameter); 9066else if (_converterState.DefaultLangFE > 0) 9068formatState.LangCur = _converterState.DefaultLangFE; 9077else if (_converterState.DefaultLang > 0) 9079formatState.LangCur = _converterState.DefaultLang; 9102_converterState.DefaultLang = token.Parameter; 9105_converterState.DefaultLangFE = token.Parameter; 9108_converterState.DefaultFont = token.Parameter; 9112FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9116FontTableEntry entry = _converterState.FontTable.CurrentEntry; 9193if (_converterState.DefaultFont >= 0) 9195SelectFont(_converterState.DefaultFont); 9605_converterState.ColorTable.NewRed = (byte)token.Parameter; 9610_converterState.ColorTable.NewGreen = (byte)token.Parameter; 9615_converterState.ColorTable.NewBlue = (byte)token.Parameter; 9623FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9691FormatState fs = _converterState.TopFormatState; 9732switch (_converterState.TopFormatState.RtfDestination) 9738HandleNormalText(token.Text, _converterState.TopFormatState); 9807DocumentNodeArray dna = _converterState.DocumentNodeArray; 9846DocumentNodeArray dna = _converterState.DocumentNodeArray; 9871dna.CoalesceOnlyChildren(_converterState, nInsertAt); 9876DocumentNodeArray dna = _converterState.DocumentNodeArray; 9899dna.CoalesceOnlyChildren(_converterState, nInsertAt); 9904DocumentNodeArray dna = _converterState.DocumentNodeArray; 9930FormatState fsCur = _converterState.PreviousTopFormatState(0); 9931FormatState fsOld = _converterState.PreviousTopFormatState(1); 9948DocumentNodeArray dna = _converterState.DocumentNodeArray; 10054ListTable lt = _converterState.ListTable; 10055ListOverrideTable lot = _converterState.ListOverrideTable; 10056RtfFormatStack formats = _converterState.RtfFormatStack; 10077ListTable lt = _converterState.ListTable; 10078ListOverrideTable lot = _converterState.ListOverrideTable; 10079RtfFormatStack formats = _converterState.RtfFormatStack; 10111ListTable listTable = _converterState.ListTable; 10112ListOverrideTable listOverrideTable = _converterState.ListOverrideTable; 10114FormatState fsCur = _converterState.PreviousTopFormatState(0); 10115FormatState fsOld = _converterState.PreviousTopFormatState(1); 10160DocumentNodeArray dna = _converterState.DocumentNodeArray; 10238FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10261DocumentNodeArray dna = _converterState.DocumentNodeArray; 10262FormatState fsCur = _converterState.PreviousTopFormatState(0); 10263FormatState fsOld = _converterState.PreviousTopFormatState(1); 10301dna.CoalesceChildren(_converterState, nAt); 10350FormatState fsCur = _converterState.PreviousTopFormatState(0); 10351FormatState fsOld = _converterState.PreviousTopFormatState(1); 10423DocumentNodeArray dna = _converterState.DocumentNodeArray; 10852FormatState fsCur = _converterState.PreviousTopFormatState(0); 10853FormatState fsOld = _converterState.PreviousTopFormatState(1); 10894DocumentNodeArray dna = _converterState.DocumentNodeArray; 10906DocumentNodeArray dna = _converterState.DocumentNodeArray; 10937dna.CoalesceChildren(_converterState, nOpen); 11047ListOverrideTable lot = _converterState.ListOverrideTable; 11054ListTableEntry lte = _converterState.ListTable.FindEntry(lo.ID); 11092DocumentNodeArray dna = _converterState.DocumentNodeArray; 11094bool bMarkerPresent = _converterState.IsMarkerPresent; 11097if (_converterState.IsMarkerPresent) 11099_converterState.IsMarkerPresent = false; 11145if (_converterState.IsMarkerWhiteSpace) 11147_converterState.IsMarkerWhiteSpace = false; 11201_converterState.CodePage = 1252; 11202_lexer.CodePage = _converterState.CodePage; 11205_converterState.CodePage = 10000; 11206_lexer.CodePage = _converterState.CodePage; 11209_converterState.CodePage = 437; 11210_lexer.CodePage = _converterState.CodePage; 11213_converterState.CodePage = 850; 11214_lexer.CodePage = _converterState.CodePage; 11229FormatState previous = _converterState.PreviousTopFormatState(1); 11230FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11248switch (_converterState.TopFormatState.RtfDestination) 11254HandleNormalText(token.Text, _converterState.TopFormatState); 11260HandleNormalText(token.Text, _converterState.TopFormatState); 11274FontTableEntry entry = _converterState.FontTable.CurrentEntry; 11292FontTableEntry entry = _converterState.FontTable.CurrentEntry; 11293FormatState formatState = _converterState.TopFormatState; 11306formatState.CodePage = _converterState.CodePage; 11321_converterState.ColorTable.FinishColor(); 11326FormatState fs = _converterState.TopFormatState; 11383DocumentNodeArray dna = _converterState.DocumentNodeArray; 11415DocumentNodeArray dna = _converterState.DocumentNodeArray; 11428dna.CoalesceChildren(_converterState, dna.Count - 1); 11433switch (_converterState.TopFormatState.RtfDestination)