23 instantiations of FormatState
PresentationFramework (23)
src\Framework\System\Windows\Documents\RtfFormatStack.cs (2)
48formatState = previousFormatState != null ? new FormatState(previousFormatState) : new FormatState();
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (19)
964_fsEmptyState = new FormatState(); 4710_formatState = new FormatState(); 4726_formatState = new FormatState(formatState); 6449dnNewDir.FormatState = new FormatState(dn.Parent.FormatState); 7375dnNewTable.FormatState = new FormatState(dn.FormatState); 8435dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8542dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8949dnEnd.FormatState = new FormatState(fsCur); 8963dnEnd.FormatState = new FormatState(fsCur); 8989listLevel.FormatState = new FormatState(fsCur); 9948dn.FormatState = new FormatState(formatState); 9965dn.FormatState = new FormatState(dnChild.FormatState); 10250dnl.FormatState = new FormatState(formatState); 10419dn.FormatState = new FormatState(formatState); 10528dnl.FormatState = new FormatState(formatState); 11097dnf.FormatState = new FormatState(formatState); 11312formatState = new FormatState(formatState); 11606dnTop.FormatState = new FormatState(formatState); 11626documentNode.FormatState = new FormatState(formatState);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (2)
1772dnNew.FormatState = new FormatState(dnSpanningCell.FormatState); 1830dnNew.FormatState = new FormatState(dnSpanningCell.FormatState);
91 references to FormatState
PresentationFramework (91)
src\Framework\System\Windows\Documents\RtfFormatStack.cs (6)
45FormatState previousFormatState = Top(); 46FormatState formatState; 63internal FormatState Top() 68internal FormatState PrevTop(int fromTop) 80internal FormatState EntryAt(int index) 82return (FormatState)this[index];
src\Framework\System\Windows\Documents\RtfToXamlLexer.cs (1)
59internal RtfToXamlError Next(RtfToken token, FormatState formatState)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (70)
765internal FormatState(FormatState formatState) 898internal bool IsEqual(FormatState formatState) 958static internal FormatState EmptyFormatState 1860private static FormatState _fsEmptyState = null; 4178internal FormatState FormatState 4198private FormatState _formatState; 4724internal void InheritFormatState(FormatState formatState) 4808internal void ConstrainFontPropagation(FormatState fsOrig) 4834FormatState fsThis = FormatState; 4835FormatState fsParent = ParentFormatStateForFont; 4849FormatState fsThis = FormatState; 4850FormatState fsParent = ParentFormatStateForFont; 5260FormatState fsThis = FormatState; 5455FormatState fsThis = this.FormatState; 5456FormatState fsParent = ParentFormatStateForFont; 5942internal FormatState FormatState 5954internal FormatState ParentFormatStateForFont 5968return FormatState.EmptyFormatState; 6203private FormatState _formatState; 7626internal FormatState PreviousTopFormatState(int fromTop) 7689internal FormatState TopFormatState 8067FormatState formatState = _converterState.TopFormatState; 8692internal void ProcessImage(FormatState formatState) 8926FormatState formatState = _converterState.TopFormatState; 8937private void ProcessRtfDestination(FormatState fsCur) 9021FormatState fsCur = _converterState.PreviousTopFormatState(0); 9022FormatState fsNew = _converterState.PreviousTopFormatState(1); 9065FormatState formatState = _converterState.TopFormatState; 9090FormatState formatState = _converterState.TopFormatState; 9194FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9708FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9776FormatState fs = _converterState.TopFormatState; 9839internal void HandleBinControl(RtfToken token, FormatState formatState) 9854internal void HandlePara(RtfToken token, FormatState formatState) 9881internal void WrapPendingInlineInParagraph(RtfToken token, FormatState formatState) 9924internal void HandlePage(RtfToken token, FormatState formatState) 9929internal void HandleParagraphFromText(FormatState formatState) 10009internal void HandleTableTokens(RtfToken token, FormatState formatState) 10011FormatState fsCur = _converterState.PreviousTopFormatState(0); 10012FormatState fsOld = _converterState.PreviousTopFormatState(1); 10141FormatState fs = formats.EntryAt(i); 10164FormatState fs = formats.EntryAt(i); 10190internal void HandleListTokens(RtfToken token, FormatState formatState) 10195FormatState fsCur = _converterState.PreviousTopFormatState(0); 10196FormatState fsOld = _converterState.PreviousTopFormatState(1); 10336FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10361internal void HandleShapeTokens(RtfToken token, FormatState formatState) 10364FormatState fsCur = _converterState.PreviousTopFormatState(0); 10365FormatState fsOld = _converterState.PreviousTopFormatState(1); 10450internal void HandleOldListTokens(RtfToken token, FormatState formatState) 10452FormatState fsCur = _converterState.PreviousTopFormatState(0); 10453FormatState fsOld = _converterState.PreviousTopFormatState(1); 10542internal void HandleTableProperties(RtfToken token, FormatState formatState) 11049internal void HandleFieldTokens(RtfToken token, FormatState formatState) 11052FormatState fsCur = _converterState.PreviousTopFormatState(0); 11053FormatState fsOld = _converterState.PreviousTopFormatState(1); 11103internal void HandleTableNesting(FormatState formatState) 11216internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave, FormatState fs, bool bMarkerPresent) 11290internal void HandleListNesting(FormatState formatState) 11394internal void HandleCodePageTokens(RtfToken token, FormatState formatState) 11434FormatState previous = _converterState.PreviousTopFormatState(1); 11435FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11498FormatState formatState = _converterState.TopFormatState; 11531FormatState fs = _converterState.TopFormatState; 11539internal void HandleNormalText(string text, FormatState formatState) 11586internal void HandleNormalTextRaw(string text, FormatState formatState) 11615internal void ProcessNormalHardLine(FormatState formatState) 11632internal void ProcessHardLine(RtfToken token, FormatState formatState) 11698private int GetMatchedMarkList(FormatState formatState, MarkerList mlHave, MarkerList mlWant) 11722private void EnsureListAndListItem(FormatState formatState, DocumentNodeArray dna, MarkerList mlHave, MarkerList mlWant, int nMatch)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (14)
695FormatState fsThis = documentNode.FormatState; 696FormatState fsParent = documentNode.Parent != null 698: FormatState.EmptyFormatState; 935FormatState fsThis = dnThis.FormatState; 936FormatState fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState : FormatState.EmptyFormatState; 1032FormatState fsThis = dnThis.FormatState; 1033FormatState fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState : FormatState.EmptyFormatState; 1185private bool WriteParagraphFontInfo(DocumentNode dnThis, FormatState fsThis, FormatState fsParent) 1282private bool WriteParagraphListInfo(DocumentNode dnThis, FormatState fsThis) 1589FormatState fs = null; 2863FormatState formatState = documentNode.FormatState;