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); 8351FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8460FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8867FormatState = new FormatState(fsCur), 8883FormatState = new FormatState(fsCur), 8910listLevel.FormatState = new FormatState(fsCur); 9864FormatState = new FormatState(formatState) 9883FormatState = new FormatState(dnChild.FormatState) 10163FormatState = new FormatState(formatState) 10317dn.FormatState = new FormatState(formatState); 10426FormatState = new FormatState(formatState) 10897FormatState = new FormatState(formatState), 11112formatState = new FormatState(formatState); 11402FormatState = new FormatState(formatState) 11424FormatState = 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; 7548internal FormatState PreviousTopFormatState(int fromTop) 7611internal FormatState TopFormatState 7989FormatState formatState = _converterState.TopFormatState; 8611internal void ProcessImage(FormatState formatState) 8843FormatState formatState = _converterState.TopFormatState; 8854private void ProcessRtfDestination(FormatState fsCur) 8942FormatState fsCur = _converterState.PreviousTopFormatState(0); 8943FormatState fsNew = _converterState.PreviousTopFormatState(1); 8983FormatState formatState = _converterState.TopFormatState; 9008FormatState formatState = _converterState.TopFormatState; 9112FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9623FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9691FormatState fs = _converterState.TopFormatState; 9754internal void HandleBinControl(RtfToken token, FormatState formatState) 9769internal void HandlePara(RtfToken token, FormatState formatState) 9796internal void WrapPendingInlineInParagraph(RtfToken token, FormatState formatState) 9839internal void HandlePage(RtfToken token, FormatState formatState) 9844internal void HandleParagraphFromText(FormatState formatState) 9928internal void HandleTableTokens(RtfToken token, FormatState formatState) 9930FormatState fsCur = _converterState.PreviousTopFormatState(0); 9931FormatState fsOld = _converterState.PreviousTopFormatState(1); 10060FormatState fs = formats.EntryAt(i); 10083FormatState fs = formats.EntryAt(i); 10109internal void HandleListTokens(RtfToken token, FormatState formatState) 10114FormatState fsCur = _converterState.PreviousTopFormatState(0); 10115FormatState fsOld = _converterState.PreviousTopFormatState(1); 10238FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10259internal void HandleShapeTokens(RtfToken token, FormatState formatState) 10262FormatState fsCur = _converterState.PreviousTopFormatState(0); 10263FormatState fsOld = _converterState.PreviousTopFormatState(1); 10348internal void HandleOldListTokens(RtfToken token, FormatState formatState) 10350FormatState fsCur = _converterState.PreviousTopFormatState(0); 10351FormatState fsOld = _converterState.PreviousTopFormatState(1); 10441internal void HandleTableProperties(RtfToken token, FormatState formatState) 10849internal void HandleFieldTokens(RtfToken token, FormatState formatState) 10852FormatState fsCur = _converterState.PreviousTopFormatState(0); 10853FormatState fsOld = _converterState.PreviousTopFormatState(1); 10904internal void HandleTableNesting(FormatState formatState) 11016internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave, FormatState fs, bool bMarkerPresent) 11090internal void HandleListNesting(FormatState formatState) 11194internal void HandleCodePageTokens(RtfToken token, FormatState formatState) 11229FormatState previous = _converterState.PreviousTopFormatState(1); 11230FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11293FormatState formatState = _converterState.TopFormatState; 11326FormatState fs = _converterState.TopFormatState; 11334internal void HandleNormalText(string text, FormatState formatState) 11381internal void HandleNormalTextRaw(string text, FormatState formatState) 11412internal void ProcessNormalHardLine(FormatState formatState) 11431internal void ProcessHardLine(RtfToken token, FormatState formatState) 11496private int GetMatchedMarkList(FormatState formatState, MarkerList mlHave, MarkerList mlWant) 11520private 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;