1 write to _converterState
PresentationFramework (1)
System\Windows\Documents\RtfToXamlReader.cs (1)
7754_converterState = new ConverterState();
128 references to _converterState
PresentationFramework (128)
System\Windows\Documents\RtfToXamlReader.cs (128)
7755_converterState.RtfFormatStack.Push(); 7780int nStartCount = _converterState.RtfFormatStack.Count; 7784rtfToXamlError = _lexer.Next(token, _converterState.TopFormatState); 7794_converterState.RtfFormatStack.Push(); 7809while (_converterState.RtfFormatStack.Count > 2 && _converterState.RtfFormatStack.Count > nStartCount) 7838_converterState.TopFormatState.RtfDestination == RtfDestination.DestFieldResult) 7844_converterState.TopFormatState.RtfDestination = RtfDestination.DestUnknown; 7871ProcessImage(_converterState.TopFormatState); 7916return _converterState; 7941DocumentNodeArray dna = _converterState.DocumentNodeArray; 7960DocumentNodeArray dna = _converterState.DocumentNodeArray; 7985FormatState formatState = _converterState.TopFormatState; 7995dna.CoalesceAll(_converterState); 8037DocumentNodeArray dna = _converterState.DocumentNodeArray; 8204dnInstruction.AppendXamlPrefix(_converterState); 8346dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8453dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8594dn.FormatState.Font = _converterState.FontTable.DefineEntryByName(name); 8734DocumentNodeArray dna = _converterState.DocumentNodeArray; 8789DocumentNodeArray dna = _converterState.DocumentNodeArray; 8816dna.CoalesceChildren(_converterState, ndnListText); 8819_converterState.IsMarkerWhiteSpace = true; 8822_converterState.IsMarkerPresent = true; 8828DocumentNodeArray dna = _converterState.DocumentNodeArray; 8834FormatState formatState = _converterState.TopFormatState; 8847DocumentNodeArray dna = _converterState.DocumentNodeArray; 8893ListTableEntry listTableEntry = _converterState.ListTable.CurrentEntry; 8909FontTableEntry entry = _converterState.FontTable.CurrentEntry; 8918_converterState.FontTable.MapFonts(); 8926if (_converterState.RtfFormatStack.Count > 2) 8928DocumentNodeArray dna = _converterState.DocumentNodeArray; 8929FormatState fsCur = _converterState.PreviousTopFormatState(0); 8930FormatState fsNew = _converterState.PreviousTopFormatState(1); 8939FontTableEntry entry = _converterState.FontTable.CurrentEntry; 8946_converterState.RtfFormatStack.Pop(); 8949_lexer.CodePage = _converterState.CodePage; 8958&& _converterState.DefaultFont >= 0) 8960SelectFont(_converterState.DefaultFont); 8964else if (fsCur.Font < 0 && _converterState.DefaultFont >= 0) 8966SelectFont(_converterState.DefaultFont); 8973FormatState formatState = _converterState.TopFormatState; 8981FontTableEntry entry = _converterState.FontTable.FindEntryByIndex((int)formatState.Font); 8986formatState.CodePage = _converterState.CodePage; 8998FormatState formatState = _converterState.TopFormatState; 9043_converterState.FontTable.DefineEntry((int)token.Parameter); 9056else if (_converterState.DefaultLangFE > 0) 9058formatState.LangCur = _converterState.DefaultLangFE; 9067else if (_converterState.DefaultLang > 0) 9069formatState.LangCur = _converterState.DefaultLang; 9092_converterState.DefaultLang = token.Parameter; 9095_converterState.DefaultLangFE = token.Parameter; 9098_converterState.DefaultFont = token.Parameter; 9102FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9106FontTableEntry entry = _converterState.FontTable.CurrentEntry; 9186if (_converterState.DefaultFont >= 0) 9188SelectFont(_converterState.DefaultFont); 9598_converterState.ColorTable.NewRed = (byte)token.Parameter; 9603_converterState.ColorTable.NewGreen = (byte)token.Parameter; 9608_converterState.ColorTable.NewBlue = (byte)token.Parameter; 9616FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9684FormatState fs = _converterState.TopFormatState; 9725switch (_converterState.TopFormatState.RtfDestination) 9731HandleNormalText(token.Text, _converterState.TopFormatState); 9800DocumentNodeArray dna = _converterState.DocumentNodeArray; 9839DocumentNodeArray dna = _converterState.DocumentNodeArray; 9862dna.CoalesceOnlyChildren(_converterState, nInsertAt); 9867DocumentNodeArray dna = _converterState.DocumentNodeArray; 9888dna.CoalesceOnlyChildren(_converterState, nInsertAt); 9893DocumentNodeArray dna = _converterState.DocumentNodeArray; 9919FormatState fsCur = _converterState.PreviousTopFormatState(0); 9920FormatState fsOld = _converterState.PreviousTopFormatState(1); 9937DocumentNodeArray dna = _converterState.DocumentNodeArray; 10043ListTable lt = _converterState.ListTable; 10044ListOverrideTable lot = _converterState.ListOverrideTable; 10045RtfFormatStack formats = _converterState.RtfFormatStack; 10066ListTable lt = _converterState.ListTable; 10067ListOverrideTable lot = _converterState.ListOverrideTable; 10068RtfFormatStack formats = _converterState.RtfFormatStack; 10100ListTable listTable = _converterState.ListTable; 10101ListOverrideTable listOverrideTable = _converterState.ListOverrideTable; 10103FormatState fsCur = _converterState.PreviousTopFormatState(0); 10104FormatState fsOld = _converterState.PreviousTopFormatState(1); 10155DocumentNodeArray dna = _converterState.DocumentNodeArray; 10244FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10270DocumentNodeArray dna = _converterState.DocumentNodeArray; 10271FormatState fsCur = _converterState.PreviousTopFormatState(0); 10272FormatState fsOld = _converterState.PreviousTopFormatState(1); 10310dna.CoalesceChildren(_converterState, nAt); 10359FormatState fsCur = _converterState.PreviousTopFormatState(0); 10360FormatState fsOld = _converterState.PreviousTopFormatState(1); 10432DocumentNodeArray dna = _converterState.DocumentNodeArray; 10959FormatState fsCur = _converterState.PreviousTopFormatState(0); 10960FormatState fsOld = _converterState.PreviousTopFormatState(1); 11001DocumentNodeArray dna = _converterState.DocumentNodeArray; 11012DocumentNodeArray dna = _converterState.DocumentNodeArray; 11043dna.CoalesceChildren(_converterState, nOpen); 11153ListOverrideTable lot = _converterState.ListOverrideTable; 11160ListTableEntry lte = _converterState.ListTable.FindEntry(lo.ID); 11198DocumentNodeArray dna = _converterState.DocumentNodeArray; 11200bool bMarkerPresent = _converterState.IsMarkerPresent; 11203if (_converterState.IsMarkerPresent) 11205_converterState.IsMarkerPresent = false; 11251if (_converterState.IsMarkerWhiteSpace) 11253_converterState.IsMarkerWhiteSpace = false; 11307_converterState.CodePage = 1252; 11308_lexer.CodePage = _converterState.CodePage; 11311_converterState.CodePage = 10000; 11312_lexer.CodePage = _converterState.CodePage; 11315_converterState.CodePage = 437; 11316_lexer.CodePage = _converterState.CodePage; 11319_converterState.CodePage = 850; 11320_lexer.CodePage = _converterState.CodePage; 11335FormatState previous = _converterState.PreviousTopFormatState(1); 11336FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11354switch (_converterState.TopFormatState.RtfDestination) 11360HandleNormalText(token.Text, _converterState.TopFormatState); 11366HandleNormalText(token.Text, _converterState.TopFormatState); 11380FontTableEntry entry = _converterState.FontTable.CurrentEntry; 11398FontTableEntry entry = _converterState.FontTable.CurrentEntry; 11399FormatState formatState = _converterState.TopFormatState; 11412formatState.CodePage = _converterState.CodePage; 11427_converterState.ColorTable.FinishColor(); 11432FormatState fs = _converterState.TopFormatState; 11489DocumentNodeArray dna = _converterState.DocumentNodeArray; 11519DocumentNodeArray dna = _converterState.DocumentNodeArray; 11530dna.CoalesceChildren(_converterState, dna.Count - 1); 11535switch (_converterState.TopFormatState.RtfDestination)