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(); 4650_formatState = new FormatState(); 4666_formatState = new FormatState(formatState); 6367dnNewDir.FormatState = new FormatState(dn.Parent.FormatState); 7293dnNewTable.FormatState = new FormatState(dn.FormatState); 8346dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8453dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8857dnEnd.FormatState = new FormatState(fsCur); 8871dnEnd.FormatState = new FormatState(fsCur); 8897listLevel.FormatState = new FormatState(fsCur); 9856dn.FormatState = new FormatState(formatState); 9873dn.FormatState = new FormatState(dnChild.FormatState); 10158dnl.FormatState = new FormatState(formatState); 10326dn.FormatState = new FormatState(formatState); 10435dnl.FormatState = new FormatState(formatState); 11004dnf.FormatState = new FormatState(formatState); 11218formatState = new FormatState(formatState); 11507dnTop.FormatState = new FormatState(formatState); 11527documentNode.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; 4664internal void InheritFormatState(FormatState formatState) 4746internal void ConstrainFontPropagation(FormatState fsOrig) 4772FormatState fsThis = FormatState; 4773FormatState fsParent = ParentFormatStateForFont; 4787FormatState fsThis = FormatState; 4788FormatState fsParent = ParentFormatStateForFont; 5198FormatState fsThis = FormatState; 5382FormatState fsThis = this.FormatState; 5383FormatState fsParent = ParentFormatStateForFont; 5861internal FormatState FormatState 5873internal FormatState ParentFormatStateForFont 5887return FormatState.EmptyFormatState; 6122private FormatState _formatState; 7544internal FormatState PreviousTopFormatState(int fromTop) 7607internal FormatState TopFormatState 7985FormatState formatState = _converterState.TopFormatState; 8603internal void ProcessImage(FormatState formatState) 8834FormatState formatState = _converterState.TopFormatState; 8845private void ProcessRtfDestination(FormatState fsCur) 8929FormatState fsCur = _converterState.PreviousTopFormatState(0); 8930FormatState fsNew = _converterState.PreviousTopFormatState(1); 8973FormatState formatState = _converterState.TopFormatState; 8998FormatState formatState = _converterState.TopFormatState; 9102FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9616FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9684FormatState fs = _converterState.TopFormatState; 9747internal void HandleBinControl(RtfToken token, FormatState formatState) 9762internal void HandlePara(RtfToken token, FormatState formatState) 9789internal void WrapPendingInlineInParagraph(RtfToken token, FormatState formatState) 9832internal void HandlePage(RtfToken token, FormatState formatState) 9837internal void HandleParagraphFromText(FormatState formatState) 9917internal void HandleTableTokens(RtfToken token, FormatState formatState) 9919FormatState fsCur = _converterState.PreviousTopFormatState(0); 9920FormatState fsOld = _converterState.PreviousTopFormatState(1); 10049FormatState fs = formats.EntryAt(i); 10072FormatState fs = formats.EntryAt(i); 10098internal void HandleListTokens(RtfToken token, FormatState formatState) 10103FormatState fsCur = _converterState.PreviousTopFormatState(0); 10104FormatState fsOld = _converterState.PreviousTopFormatState(1); 10244FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10268internal void HandleShapeTokens(RtfToken token, FormatState formatState) 10271FormatState fsCur = _converterState.PreviousTopFormatState(0); 10272FormatState fsOld = _converterState.PreviousTopFormatState(1); 10357internal void HandleOldListTokens(RtfToken token, FormatState formatState) 10359FormatState fsCur = _converterState.PreviousTopFormatState(0); 10360FormatState fsOld = _converterState.PreviousTopFormatState(1); 10449internal void HandleTableProperties(RtfToken token, FormatState formatState) 10956internal void HandleFieldTokens(RtfToken token, FormatState formatState) 10959FormatState fsCur = _converterState.PreviousTopFormatState(0); 10960FormatState fsOld = _converterState.PreviousTopFormatState(1); 11010internal void HandleTableNesting(FormatState formatState) 11122internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave, FormatState fs, bool bMarkerPresent) 11196internal void HandleListNesting(FormatState formatState) 11300internal void HandleCodePageTokens(RtfToken token, FormatState formatState) 11335FormatState previous = _converterState.PreviousTopFormatState(1); 11336FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11399FormatState formatState = _converterState.TopFormatState; 11432FormatState fs = _converterState.TopFormatState; 11440internal void HandleNormalText(string text, FormatState formatState) 11487internal void HandleNormalTextRaw(string text, FormatState formatState) 11516internal void ProcessNormalHardLine(FormatState formatState) 11533internal void ProcessHardLine(RtfToken token, FormatState formatState) 11598private int GetMatchedMarkList(FormatState formatState, MarkerList mlHave, MarkerList mlWant) 11622private 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;