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)
942_fsEmptyState = new FormatState 4657_formatState = new FormatState(); 4673_formatState = new FormatState(formatState) 6380FormatState = new FormatState(dn.Parent.FormatState) 7308dnNewTable.FormatState = new FormatState(dn.FormatState); 8364FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8473FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8880FormatState = new FormatState(fsCur), 8896FormatState = new FormatState(fsCur), 8923listLevel.FormatState = new FormatState(fsCur); 9883FormatState = new FormatState(formatState) 9902FormatState = new FormatState(dnChild.FormatState) 10188FormatState = new FormatState(formatState) 10357dn.FormatState = new FormatState(formatState); 10466FormatState = new FormatState(formatState) 11033FormatState = new FormatState(formatState), 11248formatState = new FormatState(formatState); 11538FormatState = new FormatState(formatState) 11560FormatState = new FormatState(formatState)
System\Windows\Documents\XamlToRtfWriter.cs (2)
1769dnNew.FormatState = new FormatState(dnSpanningCell.FormatState); 1827dnNew.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)
57internal RtfToXamlError Next(RtfToken token, FormatState formatState)
System\Windows\Documents\RtfToXamlReader.cs (70)
743internal FormatState(FormatState formatState) 876internal bool IsEqual(FormatState formatState) 936static internal FormatState EmptyFormatState 1840private static FormatState _fsEmptyState = null; 4126internal FormatState FormatState 4146private FormatState _formatState; 4671internal void InheritFormatState(FormatState formatState) 4754internal void ConstrainFontPropagation(FormatState fsOrig) 4780FormatState fsThis = FormatState; 4781FormatState fsParent = ParentFormatStateForFont; 4795FormatState fsThis = FormatState; 4796FormatState fsParent = ParentFormatStateForFont; 5206FormatState fsThis = FormatState; 5390FormatState fsThis = this.FormatState; 5391FormatState fsParent = ParentFormatStateForFont; 5873internal FormatState FormatState 5885internal FormatState ParentFormatStateForFont 5899return FormatState.EmptyFormatState; 6134private FormatState _formatState; 7561internal FormatState PreviousTopFormatState(int fromTop) 7624internal FormatState TopFormatState 8002FormatState formatState = _converterState.TopFormatState; 8624internal void ProcessImage(FormatState formatState) 8856FormatState formatState = _converterState.TopFormatState; 8867private void ProcessRtfDestination(FormatState fsCur) 8955FormatState fsCur = _converterState.PreviousTopFormatState(0); 8956FormatState fsNew = _converterState.PreviousTopFormatState(1); 8999FormatState formatState = _converterState.TopFormatState; 9024FormatState formatState = _converterState.TopFormatState; 9128FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9642FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9710FormatState fs = _converterState.TopFormatState; 9773internal void HandleBinControl(RtfToken token, FormatState formatState) 9788internal void HandlePara(RtfToken token, FormatState formatState) 9815internal void WrapPendingInlineInParagraph(RtfToken token, FormatState formatState) 9858internal void HandlePage(RtfToken token, FormatState formatState) 9863internal void HandleParagraphFromText(FormatState formatState) 9947internal void HandleTableTokens(RtfToken token, FormatState formatState) 9949FormatState fsCur = _converterState.PreviousTopFormatState(0); 9950FormatState fsOld = _converterState.PreviousTopFormatState(1); 10079FormatState fs = formats.EntryAt(i); 10102FormatState fs = formats.EntryAt(i); 10128internal void HandleListTokens(RtfToken token, FormatState formatState) 10133FormatState fsCur = _converterState.PreviousTopFormatState(0); 10134FormatState fsOld = _converterState.PreviousTopFormatState(1); 10275FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10299internal void HandleShapeTokens(RtfToken token, FormatState formatState) 10302FormatState fsCur = _converterState.PreviousTopFormatState(0); 10303FormatState fsOld = _converterState.PreviousTopFormatState(1); 10388internal void HandleOldListTokens(RtfToken token, FormatState formatState) 10390FormatState fsCur = _converterState.PreviousTopFormatState(0); 10391FormatState fsOld = _converterState.PreviousTopFormatState(1); 10481internal void HandleTableProperties(RtfToken token, FormatState formatState) 10985internal void HandleFieldTokens(RtfToken token, FormatState formatState) 10988FormatState fsCur = _converterState.PreviousTopFormatState(0); 10989FormatState fsOld = _converterState.PreviousTopFormatState(1); 11040internal void HandleTableNesting(FormatState formatState) 11152internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave, FormatState fs, bool bMarkerPresent) 11226internal void HandleListNesting(FormatState formatState) 11330internal void HandleCodePageTokens(RtfToken token, FormatState formatState) 11365FormatState previous = _converterState.PreviousTopFormatState(1); 11366FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11429FormatState formatState = _converterState.TopFormatState; 11462FormatState fs = _converterState.TopFormatState; 11470internal void HandleNormalText(string text, FormatState formatState) 11517internal void HandleNormalTextRaw(string text, FormatState formatState) 11548internal void ProcessNormalHardLine(FormatState formatState) 11567internal void ProcessHardLine(RtfToken token, FormatState formatState) 11632private int GetMatchedMarkList(FormatState formatState, MarkerList mlHave, MarkerList mlWant) 11656private void EnsureListAndListItem(FormatState formatState, DocumentNodeArray dna, MarkerList mlHave, MarkerList mlWant, int nMatch)
System\Windows\Documents\XamlToRtfWriter.cs (14)
693FormatState fsThis = documentNode.FormatState; 694FormatState fsParent = documentNode.Parent != null 696: FormatState.EmptyFormatState; 933FormatState fsThis = dnThis.FormatState; 934FormatState fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState : FormatState.EmptyFormatState; 1030FormatState fsThis = dnThis.FormatState; 1031FormatState fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState : FormatState.EmptyFormatState; 1182private bool WriteParagraphFontInfo(DocumentNode dnThis, FormatState fsThis, FormatState fsParent) 1279private bool WriteParagraphListInfo(DocumentNode dnThis, FormatState fsThis) 1586FormatState fs = null; 2856FormatState formatState = documentNode.FormatState;