23 instantiations of FormatState
PresentationFramework (23)
System\Windows\Documents\RtfFormatStack.cs (2)
45
formatState = previousFormatState != null ? new
FormatState
(previousFormatState) : new
FormatState
();
System\Windows\Documents\RtfToXamlReader.cs (19)
941
_fsEmptyState = new
FormatState
4647
_formatState = new
FormatState
();
4663
_formatState = new
FormatState
(formatState)
6370
FormatState = new
FormatState
(dn.Parent.FormatState)
7298
dnNewTable.FormatState = new
FormatState
(dn.FormatState);
8354
FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0))
8463
FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0))
8870
FormatState = new
FormatState
(fsCur),
8886
FormatState = new
FormatState
(fsCur),
8913
listLevel.FormatState = new
FormatState
(fsCur);
9867
FormatState = new
FormatState
(formatState)
9886
FormatState = new
FormatState
(dnChild.FormatState)
10166
FormatState = new
FormatState
(formatState)
10320
dn.FormatState = new
FormatState
(formatState);
10429
FormatState = new
FormatState
(formatState)
10900
FormatState = new
FormatState
(formatState),
11115
formatState = new
FormatState
(formatState);
11405
FormatState = new
FormatState
(formatState)
11427
FormatState = new
FormatState
(formatState)
System\Windows\Documents\XamlToRtfWriter.cs (2)
1768
dnNew.FormatState = new
FormatState
(dnSpanningCell.FormatState);
1826
dnNew.FormatState = new
FormatState
(dnSpanningCell.FormatState);
91 references to FormatState
PresentationFramework (91)
System\Windows\Documents\RtfFormatStack.cs (6)
42
FormatState
previousFormatState = Top();
43
FormatState
formatState;
60
internal
FormatState
Top()
65
internal
FormatState
PrevTop(int fromTop)
77
internal
FormatState
EntryAt(int index)
79
return (
FormatState
)this[index];
System\Windows\Documents\RtfToXamlLexer.cs (1)
56
internal RtfToXamlError Next(RtfToken token,
FormatState
formatState)
System\Windows\Documents\RtfToXamlReader.cs (70)
742
internal FormatState(
FormatState
formatState)
875
internal bool IsEqual(
FormatState
formatState)
935
internal static
FormatState
EmptyFormatState
1839
private static
FormatState
_fsEmptyState = null;
4116
internal
FormatState
FormatState
4136
private
FormatState
_formatState;
4661
internal void InheritFormatState(
FormatState
formatState)
4744
internal void ConstrainFontPropagation(
FormatState
fsOrig)
4770
FormatState
fsThis = FormatState;
4771
FormatState
fsParent = ParentFormatStateForFont;
4785
FormatState
fsThis = FormatState;
4786
FormatState
fsParent = ParentFormatStateForFont;
5196
FormatState
fsThis = FormatState;
5380
FormatState
fsThis = this.FormatState;
5381
FormatState
fsParent = ParentFormatStateForFont;
5863
internal
FormatState
FormatState
5875
internal
FormatState
ParentFormatStateForFont
5889
return
FormatState
.EmptyFormatState;
6124
private
FormatState
_formatState;
7551
internal
FormatState
PreviousTopFormatState(int fromTop)
7614
internal
FormatState
TopFormatState
7992
FormatState
formatState = _converterState.TopFormatState;
8614
internal void ProcessImage(
FormatState
formatState)
8846
FormatState
formatState = _converterState.TopFormatState;
8857
private void ProcessRtfDestination(
FormatState
fsCur)
8945
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
8946
FormatState
fsNew = _converterState.PreviousTopFormatState(1);
8986
FormatState
formatState = _converterState.TopFormatState;
9011
FormatState
formatState = _converterState.TopFormatState;
9115
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9626
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9694
FormatState
fs = _converterState.TopFormatState;
9757
internal void HandleBinControl(RtfToken token,
FormatState
formatState)
9772
internal void HandlePara(RtfToken token,
FormatState
formatState)
9799
internal void WrapPendingInlineInParagraph(RtfToken token,
FormatState
formatState)
9842
internal void HandlePage(RtfToken token,
FormatState
formatState)
9847
internal void HandleParagraphFromText(
FormatState
formatState)
9931
internal void HandleTableTokens(RtfToken token,
FormatState
formatState)
9933
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
9934
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10063
FormatState
fs = formats.EntryAt(i);
10086
FormatState
fs = formats.EntryAt(i);
10112
internal void HandleListTokens(RtfToken token,
FormatState
formatState)
10117
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10118
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10241
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
10262
internal void HandleShapeTokens(RtfToken token,
FormatState
formatState)
10265
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10266
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10351
internal void HandleOldListTokens(RtfToken token,
FormatState
formatState)
10353
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10354
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10444
internal void HandleTableProperties(RtfToken token,
FormatState
formatState)
10852
internal void HandleFieldTokens(RtfToken token,
FormatState
formatState)
10855
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10856
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10907
internal void HandleTableNesting(
FormatState
formatState)
11019
internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave,
FormatState
fs, bool bMarkerPresent)
11093
internal void HandleListNesting(
FormatState
formatState)
11197
internal void HandleCodePageTokens(RtfToken token,
FormatState
formatState)
11232
FormatState
previous = _converterState.PreviousTopFormatState(1);
11233
FormatState
previousPrevious = _converterState.PreviousTopFormatState(2);
11296
FormatState
formatState = _converterState.TopFormatState;
11329
FormatState
fs = _converterState.TopFormatState;
11337
internal void HandleNormalText(string text,
FormatState
formatState)
11384
internal void HandleNormalTextRaw(string text,
FormatState
formatState)
11415
internal void ProcessNormalHardLine(
FormatState
formatState)
11434
internal void ProcessHardLine(RtfToken token,
FormatState
formatState)
11499
private int GetMatchedMarkList(
FormatState
formatState, MarkerList mlHave, MarkerList mlWant)
11523
private void EnsureListAndListItem(
FormatState
formatState, DocumentNodeArray dna, MarkerList mlHave, MarkerList mlWant, int nMatch)
System\Windows\Documents\XamlToRtfWriter.cs (14)
692
FormatState
fsThis = documentNode.FormatState;
693
FormatState
fsParent = documentNode.Parent != null
695
:
FormatState
.EmptyFormatState;
932
FormatState
fsThis = dnThis.FormatState;
933
FormatState
fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState :
FormatState
.EmptyFormatState;
1029
FormatState
fsThis = dnThis.FormatState;
1030
FormatState
fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState :
FormatState
.EmptyFormatState;
1181
private bool WriteParagraphFontInfo(DocumentNode dnThis,
FormatState
fsThis,
FormatState
fsParent)
1278
private bool WriteParagraphListInfo(DocumentNode dnThis,
FormatState
fsThis)
1585
FormatState
fs = null;
2855
FormatState
formatState = documentNode.FormatState;