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
();
4650
_formatState = new
FormatState
();
4666
_formatState = new
FormatState
(formatState);
6367
dnNewDir.FormatState = new
FormatState
(dn.Parent.FormatState);
7293
dnNewTable.FormatState = new
FormatState
(dn.FormatState);
8346
dn.FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0));
8453
dn.FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0));
8857
dnEnd.FormatState = new
FormatState
(fsCur);
8871
dnEnd.FormatState = new
FormatState
(fsCur);
8897
listLevel.FormatState = new
FormatState
(fsCur);
9856
dn.FormatState = new
FormatState
(formatState);
9873
dn.FormatState = new
FormatState
(dnChild.FormatState);
10158
dnl.FormatState = new
FormatState
(formatState);
10326
dn.FormatState = new
FormatState
(formatState);
10435
dnl.FormatState = new
FormatState
(formatState);
11004
dnf.FormatState = new
FormatState
(formatState);
11218
formatState = new
FormatState
(formatState);
11507
dnTop.FormatState = new
FormatState
(formatState);
11527
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;
4664
internal void InheritFormatState(
FormatState
formatState)
4746
internal void ConstrainFontPropagation(
FormatState
fsOrig)
4772
FormatState
fsThis = FormatState;
4773
FormatState
fsParent = ParentFormatStateForFont;
4787
FormatState
fsThis = FormatState;
4788
FormatState
fsParent = ParentFormatStateForFont;
5198
FormatState
fsThis = FormatState;
5382
FormatState
fsThis = this.FormatState;
5383
FormatState
fsParent = ParentFormatStateForFont;
5861
internal
FormatState
FormatState
5873
internal
FormatState
ParentFormatStateForFont
5887
return
FormatState
.EmptyFormatState;
6122
private
FormatState
_formatState;
7544
internal
FormatState
PreviousTopFormatState(int fromTop)
7607
internal
FormatState
TopFormatState
7985
FormatState
formatState = _converterState.TopFormatState;
8603
internal void ProcessImage(
FormatState
formatState)
8834
FormatState
formatState = _converterState.TopFormatState;
8845
private void ProcessRtfDestination(
FormatState
fsCur)
8929
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
8930
FormatState
fsNew = _converterState.PreviousTopFormatState(1);
8973
FormatState
formatState = _converterState.TopFormatState;
8998
FormatState
formatState = _converterState.TopFormatState;
9102
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9616
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9684
FormatState
fs = _converterState.TopFormatState;
9747
internal void HandleBinControl(RtfToken token,
FormatState
formatState)
9762
internal void HandlePara(RtfToken token,
FormatState
formatState)
9789
internal void WrapPendingInlineInParagraph(RtfToken token,
FormatState
formatState)
9832
internal void HandlePage(RtfToken token,
FormatState
formatState)
9837
internal void HandleParagraphFromText(
FormatState
formatState)
9917
internal void HandleTableTokens(RtfToken token,
FormatState
formatState)
9919
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
9920
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10049
FormatState
fs = formats.EntryAt(i);
10072
FormatState
fs = formats.EntryAt(i);
10098
internal void HandleListTokens(RtfToken token,
FormatState
formatState)
10103
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10104
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10244
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
10268
internal void HandleShapeTokens(RtfToken token,
FormatState
formatState)
10271
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10272
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10357
internal void HandleOldListTokens(RtfToken token,
FormatState
formatState)
10359
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10360
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10449
internal void HandleTableProperties(RtfToken token,
FormatState
formatState)
10956
internal void HandleFieldTokens(RtfToken token,
FormatState
formatState)
10959
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10960
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
11010
internal void HandleTableNesting(
FormatState
formatState)
11122
internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave,
FormatState
fs, bool bMarkerPresent)
11196
internal void HandleListNesting(
FormatState
formatState)
11300
internal void HandleCodePageTokens(RtfToken token,
FormatState
formatState)
11335
FormatState
previous = _converterState.PreviousTopFormatState(1);
11336
FormatState
previousPrevious = _converterState.PreviousTopFormatState(2);
11399
FormatState
formatState = _converterState.TopFormatState;
11432
FormatState
fs = _converterState.TopFormatState;
11440
internal void HandleNormalText(string text,
FormatState
formatState)
11487
internal void HandleNormalTextRaw(string text,
FormatState
formatState)
11516
internal void ProcessNormalHardLine(
FormatState
formatState)
11533
internal void ProcessHardLine(RtfToken token,
FormatState
formatState)
11598
private int GetMatchedMarkList(
FormatState
formatState, MarkerList mlHave, MarkerList mlWant)
11622
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;