23 instantiations of FormatState
PresentationFramework (23)
System\Windows\Documents\RtfFormatStack.cs (2)
46
formatState = previousFormatState != null ? new
FormatState
(previousFormatState) : new
FormatState
();
System\Windows\Documents\RtfToXamlReader.cs (19)
943
_fsEmptyState = new
FormatState
();
4651
_formatState = new
FormatState
();
4667
_formatState = new
FormatState
(formatState);
6368
dnNewDir.FormatState = new
FormatState
(dn.Parent.FormatState);
7294
dnNewTable.FormatState = new
FormatState
(dn.FormatState);
8347
dn.FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0));
8454
dn.FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0));
8858
dnEnd.FormatState = new
FormatState
(fsCur);
8872
dnEnd.FormatState = new
FormatState
(fsCur);
8898
listLevel.FormatState = new
FormatState
(fsCur);
9857
dn.FormatState = new
FormatState
(formatState);
9874
dn.FormatState = new
FormatState
(dnChild.FormatState);
10159
dnl.FormatState = new
FormatState
(formatState);
10327
dn.FormatState = new
FormatState
(formatState);
10436
dnl.FormatState = new
FormatState
(formatState);
11005
dnf.FormatState = new
FormatState
(formatState);
11219
formatState = new
FormatState
(formatState);
11508
dnTop.FormatState = new
FormatState
(formatState);
11528
documentNode.FormatState = new
FormatState
(formatState);
System\Windows\Documents\XamlToRtfWriter.cs (2)
1770
dnNew.FormatState = new
FormatState
(dnSpanningCell.FormatState);
1828
dnNew.FormatState = new
FormatState
(dnSpanningCell.FormatState);
91 references to FormatState
PresentationFramework (91)
System\Windows\Documents\RtfFormatStack.cs (6)
43
FormatState
previousFormatState = Top();
44
FormatState
formatState;
61
internal
FormatState
Top()
66
internal
FormatState
PrevTop(int fromTop)
78
internal
FormatState
EntryAt(int index)
80
return (
FormatState
)this[index];
System\Windows\Documents\RtfToXamlLexer.cs (1)
58
internal RtfToXamlError Next(RtfToken token,
FormatState
formatState)
System\Windows\Documents\RtfToXamlReader.cs (70)
744
internal FormatState(
FormatState
formatState)
877
internal bool IsEqual(
FormatState
formatState)
937
static internal
FormatState
EmptyFormatState
1839
private static
FormatState
_fsEmptyState = null;
4119
internal
FormatState
FormatState
4139
private
FormatState
_formatState;
4665
internal void InheritFormatState(
FormatState
formatState)
4747
internal void ConstrainFontPropagation(
FormatState
fsOrig)
4773
FormatState
fsThis = FormatState;
4774
FormatState
fsParent = ParentFormatStateForFont;
4788
FormatState
fsThis = FormatState;
4789
FormatState
fsParent = ParentFormatStateForFont;
5199
FormatState
fsThis = FormatState;
5383
FormatState
fsThis = this.FormatState;
5384
FormatState
fsParent = ParentFormatStateForFont;
5862
internal
FormatState
FormatState
5874
internal
FormatState
ParentFormatStateForFont
5888
return
FormatState
.EmptyFormatState;
6123
private
FormatState
_formatState;
7545
internal
FormatState
PreviousTopFormatState(int fromTop)
7608
internal
FormatState
TopFormatState
7986
FormatState
formatState = _converterState.TopFormatState;
8604
internal void ProcessImage(
FormatState
formatState)
8835
FormatState
formatState = _converterState.TopFormatState;
8846
private void ProcessRtfDestination(
FormatState
fsCur)
8930
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
8931
FormatState
fsNew = _converterState.PreviousTopFormatState(1);
8974
FormatState
formatState = _converterState.TopFormatState;
8999
FormatState
formatState = _converterState.TopFormatState;
9103
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9617
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9685
FormatState
fs = _converterState.TopFormatState;
9748
internal void HandleBinControl(RtfToken token,
FormatState
formatState)
9763
internal void HandlePara(RtfToken token,
FormatState
formatState)
9790
internal void WrapPendingInlineInParagraph(RtfToken token,
FormatState
formatState)
9833
internal void HandlePage(RtfToken token,
FormatState
formatState)
9838
internal void HandleParagraphFromText(
FormatState
formatState)
9918
internal void HandleTableTokens(RtfToken token,
FormatState
formatState)
9920
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
9921
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10050
FormatState
fs = formats.EntryAt(i);
10073
FormatState
fs = formats.EntryAt(i);
10099
internal void HandleListTokens(RtfToken token,
FormatState
formatState)
10104
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10105
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10245
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
10269
internal void HandleShapeTokens(RtfToken token,
FormatState
formatState)
10272
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10273
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10358
internal void HandleOldListTokens(RtfToken token,
FormatState
formatState)
10360
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10361
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10450
internal void HandleTableProperties(RtfToken token,
FormatState
formatState)
10957
internal void HandleFieldTokens(RtfToken token,
FormatState
formatState)
10960
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10961
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
11011
internal void HandleTableNesting(
FormatState
formatState)
11123
internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave,
FormatState
fs, bool bMarkerPresent)
11197
internal void HandleListNesting(
FormatState
formatState)
11301
internal void HandleCodePageTokens(RtfToken token,
FormatState
formatState)
11336
FormatState
previous = _converterState.PreviousTopFormatState(1);
11337
FormatState
previousPrevious = _converterState.PreviousTopFormatState(2);
11400
FormatState
formatState = _converterState.TopFormatState;
11433
FormatState
fs = _converterState.TopFormatState;
11441
internal void HandleNormalText(string text,
FormatState
formatState)
11488
internal void HandleNormalTextRaw(string text,
FormatState
formatState)
11517
internal void ProcessNormalHardLine(
FormatState
formatState)
11534
internal void ProcessHardLine(RtfToken token,
FormatState
formatState)
11599
private int GetMatchedMarkList(
FormatState
formatState, MarkerList mlHave, MarkerList mlWant)
11623
private void EnsureListAndListItem(
FormatState
formatState, DocumentNodeArray dna, MarkerList mlHave, MarkerList mlWant, int nMatch)
System\Windows\Documents\XamlToRtfWriter.cs (14)
694
FormatState
fsThis = documentNode.FormatState;
695
FormatState
fsParent = documentNode.Parent != null
697
:
FormatState
.EmptyFormatState;
934
FormatState
fsThis = dnThis.FormatState;
935
FormatState
fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState :
FormatState
.EmptyFormatState;
1031
FormatState
fsThis = dnThis.FormatState;
1032
FormatState
fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState :
FormatState
.EmptyFormatState;
1183
private bool WriteParagraphFontInfo(DocumentNode dnThis,
FormatState
fsThis,
FormatState
fsParent)
1280
private bool WriteParagraphListInfo(DocumentNode dnThis,
FormatState
fsThis)
1587
FormatState
fs = null;
2857
FormatState
formatState = documentNode.FormatState;