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(); 4649_formatState = new FormatState(); 4665_formatState = new FormatState(formatState); 6366dnNewDir.FormatState = new FormatState(dn.Parent.FormatState); 7292dnNewTable.FormatState = new FormatState(dn.FormatState); 8345dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8452dn.FormatState = new FormatState(_converterState.PreviousTopFormatState(0)); 8856dnEnd.FormatState = new FormatState(fsCur); 8870dnEnd.FormatState = new FormatState(fsCur); 8896listLevel.FormatState = new FormatState(fsCur); 9855dn.FormatState = new FormatState(formatState); 9872dn.FormatState = new FormatState(dnChild.FormatState); 10157dnl.FormatState = new FormatState(formatState); 10325dn.FormatState = new FormatState(formatState); 10434dnl.FormatState = new FormatState(formatState); 11003dnf.FormatState = new FormatState(formatState); 11217formatState = new FormatState(formatState); 11506dnTop.FormatState = new FormatState(formatState); 11526documentNode.FormatState = 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 1838private static FormatState _fsEmptyState = null; 4118internal FormatState FormatState 4138private FormatState _formatState; 4663internal void InheritFormatState(FormatState formatState) 4745internal void ConstrainFontPropagation(FormatState fsOrig) 4771FormatState fsThis = FormatState; 4772FormatState fsParent = ParentFormatStateForFont; 4786FormatState fsThis = FormatState; 4787FormatState fsParent = ParentFormatStateForFont; 5197FormatState fsThis = FormatState; 5381FormatState fsThis = this.FormatState; 5382FormatState fsParent = ParentFormatStateForFont; 5860internal FormatState FormatState 5872internal FormatState ParentFormatStateForFont 5886return FormatState.EmptyFormatState; 6121private FormatState _formatState; 7543internal FormatState PreviousTopFormatState(int fromTop) 7606internal FormatState TopFormatState 7984FormatState formatState = _converterState.TopFormatState; 8602internal void ProcessImage(FormatState formatState) 8833FormatState formatState = _converterState.TopFormatState; 8844private void ProcessRtfDestination(FormatState fsCur) 8928FormatState fsCur = _converterState.PreviousTopFormatState(0); 8929FormatState fsNew = _converterState.PreviousTopFormatState(1); 8972FormatState formatState = _converterState.TopFormatState; 8997FormatState formatState = _converterState.TopFormatState; 9101FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9615FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9683FormatState fs = _converterState.TopFormatState; 9746internal void HandleBinControl(RtfToken token, FormatState formatState) 9761internal void HandlePara(RtfToken token, FormatState formatState) 9788internal void WrapPendingInlineInParagraph(RtfToken token, FormatState formatState) 9831internal void HandlePage(RtfToken token, FormatState formatState) 9836internal void HandleParagraphFromText(FormatState formatState) 9916internal void HandleTableTokens(RtfToken token, FormatState formatState) 9918FormatState fsCur = _converterState.PreviousTopFormatState(0); 9919FormatState fsOld = _converterState.PreviousTopFormatState(1); 10048FormatState fs = formats.EntryAt(i); 10071FormatState fs = formats.EntryAt(i); 10097internal void HandleListTokens(RtfToken token, FormatState formatState) 10102FormatState fsCur = _converterState.PreviousTopFormatState(0); 10103FormatState fsOld = _converterState.PreviousTopFormatState(1); 10243FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10267internal void HandleShapeTokens(RtfToken token, FormatState formatState) 10270FormatState fsCur = _converterState.PreviousTopFormatState(0); 10271FormatState fsOld = _converterState.PreviousTopFormatState(1); 10356internal void HandleOldListTokens(RtfToken token, FormatState formatState) 10358FormatState fsCur = _converterState.PreviousTopFormatState(0); 10359FormatState fsOld = _converterState.PreviousTopFormatState(1); 10448internal void HandleTableProperties(RtfToken token, FormatState formatState) 10955internal void HandleFieldTokens(RtfToken token, FormatState formatState) 10958FormatState fsCur = _converterState.PreviousTopFormatState(0); 10959FormatState fsOld = _converterState.PreviousTopFormatState(1); 11009internal void HandleTableNesting(FormatState formatState) 11121internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave, FormatState fs, bool bMarkerPresent) 11195internal void HandleListNesting(FormatState formatState) 11299internal void HandleCodePageTokens(RtfToken token, FormatState formatState) 11334FormatState previous = _converterState.PreviousTopFormatState(1); 11335FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11398FormatState formatState = _converterState.TopFormatState; 11431FormatState fs = _converterState.TopFormatState; 11439internal void HandleNormalText(string text, FormatState formatState) 11486internal void HandleNormalTextRaw(string text, FormatState formatState) 11515internal void ProcessNormalHardLine(FormatState formatState) 11532internal void ProcessHardLine(RtfToken token, FormatState formatState) 11597private int GetMatchedMarkList(FormatState formatState, MarkerList mlHave, MarkerList mlWant) 11621private 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;