23 instantiations of FormatState
PresentationFramework (23)
System\Windows\Documents\RtfFormatStack.cs (2)
46formatState = previousFormatState != null ? new FormatState(previousFormatState) : new FormatState();
System\Windows\Documents\RtfToXamlReader.cs (19)
943_fsEmptyState = new FormatState(); 4651_formatState = new FormatState(); 4667_formatState = new FormatState(formatState); 6368dnNewDir.FormatState = new FormatState(dn.Parent.FormatState); 7294dnNewTable.FormatState = new FormatState(dn.FormatState); 8347dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8454dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8858dnEnd.FormatState = new FormatState(fsCur); 8872dnEnd.FormatState = new FormatState(fsCur); 8898listLevel.FormatState = new FormatState(fsCur); 9857dn.FormatState = new FormatState(formatState); 9874dn.FormatState = new FormatState(dnChild.FormatState); 10159dnl.FormatState = new FormatState(formatState); 10327dn.FormatState = new FormatState(formatState); 10436dnl.FormatState = new FormatState(formatState); 11005dnf.FormatState = new FormatState(formatState); 11219formatState = new FormatState(formatState); 11508dnTop.FormatState = new FormatState(formatState); 11528documentNode.FormatState = new FormatState(formatState);
System\Windows\Documents\XamlToRtfWriter.cs (2)
1770dnNew.FormatState = new FormatState(dnSpanningCell.FormatState); 1828dnNew.FormatState = new FormatState(dnSpanningCell.FormatState);
91 references to FormatState
PresentationFramework (91)
System\Windows\Documents\RtfFormatStack.cs (6)
43FormatState previousFormatState = Top(); 44FormatState formatState; 61internal FormatState Top() 66internal FormatState PrevTop(int fromTop) 78internal FormatState EntryAt(int index) 80return (FormatState)this[index];
System\Windows\Documents\RtfToXamlLexer.cs (1)
58internal RtfToXamlError Next(RtfToken token, FormatState formatState)
System\Windows\Documents\RtfToXamlReader.cs (70)
744internal FormatState(FormatState formatState) 877internal bool IsEqual(FormatState formatState) 937static internal FormatState EmptyFormatState 1839private static FormatState _fsEmptyState = null; 4119internal FormatState FormatState 4139private FormatState _formatState; 4665internal void InheritFormatState(FormatState formatState) 4747internal void ConstrainFontPropagation(FormatState fsOrig) 4773FormatState fsThis = FormatState; 4774FormatState fsParent = ParentFormatStateForFont; 4788FormatState fsThis = FormatState; 4789FormatState fsParent = ParentFormatStateForFont; 5199FormatState fsThis = FormatState; 5383FormatState fsThis = this.FormatState; 5384FormatState fsParent = ParentFormatStateForFont; 5862internal FormatState FormatState 5874internal FormatState ParentFormatStateForFont 5888return FormatState.EmptyFormatState; 6123private FormatState _formatState; 7545internal FormatState PreviousTopFormatState(int fromTop) 7608internal FormatState TopFormatState 7986FormatState formatState = _converterState.TopFormatState; 8604internal void ProcessImage(FormatState formatState) 8835FormatState formatState = _converterState.TopFormatState; 8846private void ProcessRtfDestination(FormatState fsCur) 8930FormatState fsCur = _converterState.PreviousTopFormatState(0); 8931FormatState fsNew = _converterState.PreviousTopFormatState(1); 8974FormatState formatState = _converterState.TopFormatState; 8999FormatState formatState = _converterState.TopFormatState; 9103FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9617FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9685FormatState fs = _converterState.TopFormatState; 9748internal void HandleBinControl(RtfToken token, FormatState formatState) 9763internal void HandlePara(RtfToken token, FormatState formatState) 9790internal void WrapPendingInlineInParagraph(RtfToken token, FormatState formatState) 9833internal void HandlePage(RtfToken token, FormatState formatState) 9838internal void HandleParagraphFromText(FormatState formatState) 9918internal void HandleTableTokens(RtfToken token, FormatState formatState) 9920FormatState fsCur = _converterState.PreviousTopFormatState(0); 9921FormatState fsOld = _converterState.PreviousTopFormatState(1); 10050FormatState fs = formats.EntryAt(i); 10073FormatState fs = formats.EntryAt(i); 10099internal void HandleListTokens(RtfToken token, FormatState formatState) 10104FormatState fsCur = _converterState.PreviousTopFormatState(0); 10105FormatState fsOld = _converterState.PreviousTopFormatState(1); 10245FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10269internal void HandleShapeTokens(RtfToken token, FormatState formatState) 10272FormatState fsCur = _converterState.PreviousTopFormatState(0); 10273FormatState fsOld = _converterState.PreviousTopFormatState(1); 10358internal void HandleOldListTokens(RtfToken token, FormatState formatState) 10360FormatState fsCur = _converterState.PreviousTopFormatState(0); 10361FormatState fsOld = _converterState.PreviousTopFormatState(1); 10450internal void HandleTableProperties(RtfToken token, FormatState formatState) 10957internal void HandleFieldTokens(RtfToken token, FormatState formatState) 10960FormatState fsCur = _converterState.PreviousTopFormatState(0); 10961FormatState fsOld = _converterState.PreviousTopFormatState(1); 11011internal void HandleTableNesting(FormatState formatState) 11123internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave, FormatState fs, bool bMarkerPresent) 11197internal void HandleListNesting(FormatState formatState) 11301internal void HandleCodePageTokens(RtfToken token, FormatState formatState) 11336FormatState previous = _converterState.PreviousTopFormatState(1); 11337FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11400FormatState formatState = _converterState.TopFormatState; 11433FormatState fs = _converterState.TopFormatState; 11441internal void HandleNormalText(string text, FormatState formatState) 11488internal void HandleNormalTextRaw(string text, FormatState formatState) 11517internal void ProcessNormalHardLine(FormatState formatState) 11534internal void ProcessHardLine(RtfToken token, FormatState formatState) 11599private int GetMatchedMarkList(FormatState formatState, MarkerList mlHave, MarkerList mlWant) 11623private void EnsureListAndListItem(FormatState formatState, DocumentNodeArray dna, MarkerList mlHave, MarkerList mlWant, int nMatch)
System\Windows\Documents\XamlToRtfWriter.cs (14)
694FormatState fsThis = documentNode.FormatState; 695FormatState fsParent = documentNode.Parent != null 697: FormatState.EmptyFormatState; 934FormatState fsThis = dnThis.FormatState; 935FormatState fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState : FormatState.EmptyFormatState; 1031FormatState fsThis = dnThis.FormatState; 1032FormatState fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState : FormatState.EmptyFormatState; 1183private bool WriteParagraphFontInfo(DocumentNode dnThis, FormatState fsThis, FormatState fsParent) 1280private bool WriteParagraphListInfo(DocumentNode dnThis, FormatState fsThis) 1587FormatState fs = null; 2857FormatState formatState = documentNode.FormatState;