23 instantiations of FormatState
PresentationFramework (23)
System\Windows\Documents\RtfFormatStack.cs (2)
45formatState = previousFormatState != null ? new FormatState(previousFormatState) : new FormatState();
System\Windows\Documents\RtfToXamlReader.cs (19)
941_fsEmptyState = new FormatState 4656_formatState = new FormatState(); 4672_formatState = new FormatState(formatState) 6379FormatState = new FormatState(dn.Parent.FormatState) 7307dnNewTable.FormatState = new FormatState(dn.FormatState); 8363FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8472FormatState = new FormatState(_converterState.PreviousTopFormatState(0)) 8879FormatState = new FormatState(fsCur), 8895FormatState = new FormatState(fsCur), 8922listLevel.FormatState = new FormatState(fsCur); 9882FormatState = new FormatState(formatState) 9901FormatState = new FormatState(dnChild.FormatState) 10187FormatState = new FormatState(formatState) 10356dn.FormatState = new FormatState(formatState); 10465FormatState = new FormatState(formatState) 11032FormatState = new FormatState(formatState), 11247formatState = new FormatState(formatState); 11537FormatState = new FormatState(formatState) 11559FormatState = new FormatState(formatState)
System\Windows\Documents\XamlToRtfWriter.cs (2)
1768dnNew.FormatState = new FormatState(dnSpanningCell.FormatState); 1826dnNew.FormatState = new FormatState(dnSpanningCell.FormatState);
91 references to FormatState
PresentationFramework (91)
System\Windows\Documents\RtfFormatStack.cs (6)
42FormatState previousFormatState = Top(); 43FormatState formatState; 60internal FormatState Top() 65internal FormatState PrevTop(int fromTop) 77internal FormatState EntryAt(int index) 79return (FormatState)this[index];
System\Windows\Documents\RtfToXamlLexer.cs (1)
56internal RtfToXamlError Next(RtfToken token, FormatState formatState)
System\Windows\Documents\RtfToXamlReader.cs (70)
742internal FormatState(FormatState formatState) 875internal bool IsEqual(FormatState formatState) 935internal static FormatState EmptyFormatState 1839private static FormatState _fsEmptyState = null; 4125internal FormatState FormatState 4145private FormatState _formatState; 4670internal void InheritFormatState(FormatState formatState) 4753internal void ConstrainFontPropagation(FormatState fsOrig) 4779FormatState fsThis = FormatState; 4780FormatState fsParent = ParentFormatStateForFont; 4794FormatState fsThis = FormatState; 4795FormatState fsParent = ParentFormatStateForFont; 5205FormatState fsThis = FormatState; 5389FormatState fsThis = this.FormatState; 5390FormatState fsParent = ParentFormatStateForFont; 5872internal FormatState FormatState 5884internal FormatState ParentFormatStateForFont 5898return FormatState.EmptyFormatState; 6133private FormatState _formatState; 7560internal FormatState PreviousTopFormatState(int fromTop) 7623internal FormatState TopFormatState 8001FormatState formatState = _converterState.TopFormatState; 8623internal void ProcessImage(FormatState formatState) 8855FormatState formatState = _converterState.TopFormatState; 8866private void ProcessRtfDestination(FormatState fsCur) 8954FormatState fsCur = _converterState.PreviousTopFormatState(0); 8955FormatState fsNew = _converterState.PreviousTopFormatState(1); 8998FormatState formatState = _converterState.TopFormatState; 9023FormatState formatState = _converterState.TopFormatState; 9127FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9641FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 9709FormatState fs = _converterState.TopFormatState; 9772internal void HandleBinControl(RtfToken token, FormatState formatState) 9787internal void HandlePara(RtfToken token, FormatState formatState) 9814internal void WrapPendingInlineInParagraph(RtfToken token, FormatState formatState) 9857internal void HandlePage(RtfToken token, FormatState formatState) 9862internal void HandleParagraphFromText(FormatState formatState) 9946internal void HandleTableTokens(RtfToken token, FormatState formatState) 9948FormatState fsCur = _converterState.PreviousTopFormatState(0); 9949FormatState fsOld = _converterState.PreviousTopFormatState(1); 10078FormatState fs = formats.EntryAt(i); 10101FormatState fs = formats.EntryAt(i); 10127internal void HandleListTokens(RtfToken token, FormatState formatState) 10132FormatState fsCur = _converterState.PreviousTopFormatState(0); 10133FormatState fsOld = _converterState.PreviousTopFormatState(1); 10274FormatState previousFormatState = _converterState.PreviousTopFormatState(1); 10298internal void HandleShapeTokens(RtfToken token, FormatState formatState) 10301FormatState fsCur = _converterState.PreviousTopFormatState(0); 10302FormatState fsOld = _converterState.PreviousTopFormatState(1); 10387internal void HandleOldListTokens(RtfToken token, FormatState formatState) 10389FormatState fsCur = _converterState.PreviousTopFormatState(0); 10390FormatState fsOld = _converterState.PreviousTopFormatState(1); 10480internal void HandleTableProperties(RtfToken token, FormatState formatState) 10984internal void HandleFieldTokens(RtfToken token, FormatState formatState) 10987FormatState fsCur = _converterState.PreviousTopFormatState(0); 10988FormatState fsOld = _converterState.PreviousTopFormatState(1); 11039internal void HandleTableNesting(FormatState formatState) 11151internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave, FormatState fs, bool bMarkerPresent) 11225internal void HandleListNesting(FormatState formatState) 11329internal void HandleCodePageTokens(RtfToken token, FormatState formatState) 11364FormatState previous = _converterState.PreviousTopFormatState(1); 11365FormatState previousPrevious = _converterState.PreviousTopFormatState(2); 11428FormatState formatState = _converterState.TopFormatState; 11461FormatState fs = _converterState.TopFormatState; 11469internal void HandleNormalText(string text, FormatState formatState) 11516internal void HandleNormalTextRaw(string text, FormatState formatState) 11547internal void ProcessNormalHardLine(FormatState formatState) 11566internal void ProcessHardLine(RtfToken token, FormatState formatState) 11631private int GetMatchedMarkList(FormatState formatState, MarkerList mlHave, MarkerList mlWant) 11655private void EnsureListAndListItem(FormatState formatState, DocumentNodeArray dna, MarkerList mlHave, MarkerList mlWant, int nMatch)
System\Windows\Documents\XamlToRtfWriter.cs (14)
692FormatState fsThis = documentNode.FormatState; 693FormatState fsParent = documentNode.Parent != null 695: FormatState.EmptyFormatState; 932FormatState fsThis = dnThis.FormatState; 933FormatState fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState : FormatState.EmptyFormatState; 1029FormatState fsThis = dnThis.FormatState; 1030FormatState fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState : FormatState.EmptyFormatState; 1181private bool WriteParagraphFontInfo(DocumentNode dnThis, FormatState fsThis, FormatState fsParent) 1278private bool WriteParagraphListInfo(DocumentNode dnThis, FormatState fsThis) 1585FormatState fs = null; 2855FormatState formatState = documentNode.FormatState;