1 write to _converterState
PresentationFramework (1)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
7836_converterState = new ConverterState();
128 references to _converterState
PresentationFramework (128)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (128)
7837_converterState.RtfFormatStack.Push(); 7862int nStartCount = _converterState.RtfFormatStack.Count; 7866rtfToXamlError = _lexer.Next(token, _converterState.TopFormatState); 7876_converterState.RtfFormatStack.Push(); 7891while (_converterState.RtfFormatStack.Count > 2 && _converterState.RtfFormatStack.Count > nStartCount) 7920_converterState.TopFormatState.RtfDestination == RtfDestination.DestFieldResult) 7926_converterState.TopFormatState.RtfDestination = RtfDestination.DestUnknown; 7953ProcessImage(_converterState.TopFormatState); 7998return _converterState; 8023DocumentNodeArray dna = _converterState.DocumentNodeArray; 8042DocumentNodeArray dna = _converterState.DocumentNodeArray; 8067FormatState formatState = _converterState.TopFormatState; 8077dna.CoalesceAll(_converterState); 8119DocumentNodeArray dna = _converterState.DocumentNodeArray; 8286dnInstruction.AppendXamlPrefix(_converterState); 8435dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8542dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8683dn.FormatState.Font = _converterState.FontTable.DefineEntryByName(name); 8823DocumentNodeArray dna = _converterState.DocumentNodeArray; 8881DocumentNodeArray dna = _converterState.DocumentNodeArray; 8908dna.CoalesceChildren(_converterState, ndnListText); 8911_converterState.IsMarkerWhiteSpace = true; 8914_converterState.IsMarkerPresent = true; 8920DocumentNodeArray dna = _converterState.DocumentNodeArray; 8926FormatState formatState = _converterState.TopFormatState; 8939DocumentNodeArray dna = _converterState.DocumentNodeArray; 8985ListTableEntry listTableEntry = _converterState.ListTable.CurrentEntry; 9001FontTableEntry entry = _converterState.FontTable.CurrentEntry; 9010_converterState.FontTable.MapFonts(); 9018if (_converterState.RtfFormatStack.Count > 2) 9020DocumentNodeArray dna = _converterState.DocumentNodeArray; 9021FormatState fsCur = _converterState.PreviousTopFormatState(0); 9022FormatState fsNew = _converterState.PreviousTopFormatState(1); 9031FontTableEntry entry = _converterState.FontTable.CurrentEntry; 9038_converterState.RtfFormatStack.Pop(); 9041_lexer.CodePage = _converterState.CodePage; 9050&& _converterState.DefaultFont >= 0) 9052SelectFont(_converterState.DefaultFont); 9056else if (fsCur.Font < 0 && _converterState.DefaultFont >= 0) 9058SelectFont(_converterState.DefaultFont); 9065FormatState formatState = _converterState.TopFormatState; 9073FontTableEntry entry = _converterState.FontTable.FindEntryByIndex((int)formatState.Font); 9078formatState.CodePage = _converterState.CodePage; 9090FormatState formatState = _converterState.TopFormatState; 9135_converterState.FontTable.DefineEntry((int)token.Parameter); 9148else if (_converterState.DefaultLangFE > 0) 9150formatState.LangCur = _converterState.DefaultLangFE; 9159else if (_converterState.DefaultLang > 0) 9161formatState.LangCur = _converterState.DefaultLang; 9184_converterState.DefaultLang = token.Parameter; 9187_converterState.DefaultLangFE = token.Parameter; 9190_converterState.DefaultFont = token.Parameter; 9194FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9198FontTableEntry entry = _converterState.FontTable.CurrentEntry; 9278if (_converterState.DefaultFont >= 0) 9280SelectFont(_converterState.DefaultFont); 9690_converterState.ColorTable.NewRed = (byte)token.Parameter; 9695_converterState.ColorTable.NewGreen = (byte)token.Parameter; 9700_converterState.ColorTable.NewBlue = (byte)token.Parameter; 9708FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9776FormatState fs = _converterState.TopFormatState; 9817switch (_converterState.TopFormatState.RtfDestination) 9823HandleNormalText(token.Text, _converterState.TopFormatState); 9892DocumentNodeArray dna = _converterState.DocumentNodeArray; 9931DocumentNodeArray dna = _converterState.DocumentNodeArray; 9954dna.CoalesceOnlyChildren(_converterState, nInsertAt); 9959DocumentNodeArray dna = _converterState.DocumentNodeArray; 9980dna.CoalesceOnlyChildren(_converterState, nInsertAt); 9985DocumentNodeArray dna = _converterState.DocumentNodeArray; 10011FormatState fsCur = _converterState.PreviousTopFormatState(0); 10012FormatState fsOld = _converterState.PreviousTopFormatState(1); 10029DocumentNodeArray dna = _converterState.DocumentNodeArray; 10135ListTable lt = _converterState.ListTable; 10136ListOverrideTable lot = _converterState.ListOverrideTable; 10137RtfFormatStack formats = _converterState.RtfFormatStack; 10158ListTable lt = _converterState.ListTable; 10159ListOverrideTable lot = _converterState.ListOverrideTable; 10160RtfFormatStack formats = _converterState.RtfFormatStack; 10192ListTable listTable = _converterState.ListTable; 10193ListOverrideTable listOverrideTable = _converterState.ListOverrideTable; 10195FormatState fsCur = _converterState.PreviousTopFormatState(0); 10196FormatState fsOld = _converterState.PreviousTopFormatState(1); 10247DocumentNodeArray dna = _converterState.DocumentNodeArray; 10336FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10363DocumentNodeArray dna = _converterState.DocumentNodeArray; 10364FormatState fsCur = _converterState.PreviousTopFormatState(0); 10365FormatState fsOld = _converterState.PreviousTopFormatState(1); 10403dna.CoalesceChildren(_converterState, nAt); 10452FormatState fsCur = _converterState.PreviousTopFormatState(0); 10453FormatState fsOld = _converterState.PreviousTopFormatState(1); 10525DocumentNodeArray dna = _converterState.DocumentNodeArray; 11052FormatState fsCur = _converterState.PreviousTopFormatState(0); 11053FormatState fsOld = _converterState.PreviousTopFormatState(1); 11094DocumentNodeArray dna = _converterState.DocumentNodeArray; 11105DocumentNodeArray dna = _converterState.DocumentNodeArray; 11137dna.CoalesceChildren(_converterState, nOpen); 11247ListOverrideTable lot = _converterState.ListOverrideTable; 11254ListTableEntry lte = _converterState.ListTable.FindEntry(lo.ID); 11292DocumentNodeArray dna = _converterState.DocumentNodeArray; 11294bool bMarkerPresent = _converterState.IsMarkerPresent; 11297if (_converterState.IsMarkerPresent) 11299_converterState.IsMarkerPresent = false; 11345if (_converterState.IsMarkerWhiteSpace) 11347_converterState.IsMarkerWhiteSpace = false; 11401_converterState.CodePage = 1252; 11402_lexer.CodePage = _converterState.CodePage; 11405_converterState.CodePage = 10000; 11406_lexer.CodePage = _converterState.CodePage; 11409_converterState.CodePage = 437; 11410_lexer.CodePage = _converterState.CodePage; 11413_converterState.CodePage = 850; 11414_lexer.CodePage = _converterState.CodePage; 11434FormatState previous = _converterState.PreviousTopFormatState(1); 11435FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11453switch (_converterState.TopFormatState.RtfDestination) 11459HandleNormalText(token.Text, _converterState.TopFormatState); 11465HandleNormalText(token.Text, _converterState.TopFormatState); 11479FontTableEntry entry = _converterState.FontTable.CurrentEntry; 11497FontTableEntry entry = _converterState.FontTable.CurrentEntry; 11498FormatState formatState = _converterState.TopFormatState; 11511formatState.CodePage = _converterState.CodePage; 11526_converterState.ColorTable.FinishColor(); 11531FormatState fs = _converterState.TopFormatState; 11588DocumentNodeArray dna = _converterState.DocumentNodeArray; 11618DocumentNodeArray dna = _converterState.DocumentNodeArray; 11629dna.CoalesceChildren(_converterState, dna.Count - 1); 11634switch (_converterState.TopFormatState.RtfDestination)