23 instantiations of FormatState
PresentationFramework (23)
System\Windows\Documents\RtfFormatStack.cs (2)
45formatState = previousFormatState != null ? new FormatState(previousFormatState) : new FormatState();
System\Windows\Documents\RtfToXamlReader.cs (19)
941_fsEmptyState = new FormatState 4647_formatState = new FormatState(); 4663_formatState = new FormatState(formatState) 6370FormatState = new FormatState(dn.Parent.FormatState) 7298dnNewTable.FormatState = new FormatState(dn.FormatState); 8354FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8463FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8870FormatState = new FormatState(fsCur), 8886FormatState = new FormatState(fsCur), 8913listLevel.FormatState = new FormatState(fsCur); 9867FormatState = new FormatState(formatState) 9886FormatState = new FormatState(dnChild.FormatState) 10166FormatState = new FormatState(formatState) 10320dn.FormatState = new FormatState(formatState); 10429FormatState = new FormatState(formatState) 10900FormatState = new FormatState(formatState), 11115formatState = new FormatState(formatState); 11405FormatState = new FormatState(formatState) 11427FormatState = new FormatState(formatState)
System\Windows\Documents\XamlToRtfWriter.cs (2)
1768dnNew.FormatState = new FormatState(dnSpanningCell.FormatState); 1826dnNew.FormatState = new FormatState(dnSpanningCell.FormatState);
91 references to FormatState
PresentationFramework (91)
System\Windows\Documents\RtfFormatStack.cs (6)
42FormatState previousFormatState = Top(); 43FormatState formatState; 60internal FormatState Top() 65internal FormatState PrevTop(int fromTop) 77internal FormatState EntryAt(int index) 79return (FormatState)this[index];
System\Windows\Documents\RtfToXamlLexer.cs (1)
56internal RtfToXamlError Next(RtfToken token, FormatState formatState)
System\Windows\Documents\RtfToXamlReader.cs (70)
742internal FormatState(FormatState formatState) 875internal bool IsEqual(FormatState formatState) 935internal static FormatState EmptyFormatState 1839private static FormatState _fsEmptyState = null; 4116internal FormatState FormatState 4136private FormatState _formatState; 4661internal void InheritFormatState(FormatState formatState) 4744internal void ConstrainFontPropagation(FormatState fsOrig) 4770FormatState fsThis = FormatState; 4771FormatState fsParent = ParentFormatStateForFont; 4785FormatState fsThis = FormatState; 4786FormatState fsParent = ParentFormatStateForFont; 5196FormatState fsThis = FormatState; 5380FormatState fsThis = this.FormatState; 5381FormatState fsParent = ParentFormatStateForFont; 5863internal FormatState FormatState 5875internal FormatState ParentFormatStateForFont 5889return FormatState.EmptyFormatState; 6124private FormatState _formatState; 7551internal FormatState PreviousTopFormatState(int fromTop) 7614internal FormatState TopFormatState 7992FormatState formatState = _converterState.TopFormatState; 8614internal void ProcessImage(FormatState formatState) 8846FormatState formatState = _converterState.TopFormatState; 8857private void ProcessRtfDestination(FormatState fsCur) 8945FormatState fsCur = _converterState.PreviousTopFormatState(0); 8946FormatState fsNew = _converterState.PreviousTopFormatState(1); 8986FormatState formatState = _converterState.TopFormatState; 9011FormatState formatState = _converterState.TopFormatState; 9115FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9626FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9694FormatState fs = _converterState.TopFormatState; 9757internal void HandleBinControl(RtfToken token, FormatState formatState) 9772internal void HandlePara(RtfToken token, FormatState formatState) 9799internal void WrapPendingInlineInParagraph(RtfToken token, FormatState formatState) 9842internal void HandlePage(RtfToken token, FormatState formatState) 9847internal void HandleParagraphFromText(FormatState formatState) 9931internal void HandleTableTokens(RtfToken token, FormatState formatState) 9933FormatState fsCur = _converterState.PreviousTopFormatState(0); 9934FormatState fsOld = _converterState.PreviousTopFormatState(1); 10063FormatState fs = formats.EntryAt(i); 10086FormatState fs = formats.EntryAt(i); 10112internal void HandleListTokens(RtfToken token, FormatState formatState) 10117FormatState fsCur = _converterState.PreviousTopFormatState(0); 10118FormatState fsOld = _converterState.PreviousTopFormatState(1); 10241FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10262internal void HandleShapeTokens(RtfToken token, FormatState formatState) 10265FormatState fsCur = _converterState.PreviousTopFormatState(0); 10266FormatState fsOld = _converterState.PreviousTopFormatState(1); 10351internal void HandleOldListTokens(RtfToken token, FormatState formatState) 10353FormatState fsCur = _converterState.PreviousTopFormatState(0); 10354FormatState fsOld = _converterState.PreviousTopFormatState(1); 10444internal void HandleTableProperties(RtfToken token, FormatState formatState) 10852internal void HandleFieldTokens(RtfToken token, FormatState formatState) 10855FormatState fsCur = _converterState.PreviousTopFormatState(0); 10856FormatState fsOld = _converterState.PreviousTopFormatState(1); 10907internal void HandleTableNesting(FormatState formatState) 11019internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave, FormatState fs, bool bMarkerPresent) 11093internal void HandleListNesting(FormatState formatState) 11197internal void HandleCodePageTokens(RtfToken token, FormatState formatState) 11232FormatState previous = _converterState.PreviousTopFormatState(1); 11233FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11296FormatState formatState = _converterState.TopFormatState; 11329FormatState fs = _converterState.TopFormatState; 11337internal void HandleNormalText(string text, FormatState formatState) 11384internal void HandleNormalTextRaw(string text, FormatState formatState) 11415internal void ProcessNormalHardLine(FormatState formatState) 11434internal void ProcessHardLine(RtfToken token, FormatState formatState) 11499private int GetMatchedMarkList(FormatState formatState, MarkerList mlHave, MarkerList mlWant) 11523private void EnsureListAndListItem(FormatState formatState, DocumentNodeArray dna, MarkerList mlHave, MarkerList mlWant, int nMatch)
System\Windows\Documents\XamlToRtfWriter.cs (14)
692FormatState fsThis = documentNode.FormatState; 693FormatState fsParent = documentNode.Parent != null 695: FormatState.EmptyFormatState; 932FormatState fsThis = dnThis.FormatState; 933FormatState fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState : FormatState.EmptyFormatState; 1029FormatState fsThis = dnThis.FormatState; 1030FormatState fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState : FormatState.EmptyFormatState; 1181private bool WriteParagraphFontInfo(DocumentNode dnThis, FormatState fsThis, FormatState fsParent) 1278private bool WriteParagraphListInfo(DocumentNode dnThis, FormatState fsThis) 1585FormatState fs = null; 2855FormatState formatState = documentNode.FormatState;