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);
8351
FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0))
8460
FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0))
8867
FormatState = new
FormatState
(fsCur),
8883
FormatState = new
FormatState
(fsCur),
8910
listLevel.FormatState = new
FormatState
(fsCur);
9864
FormatState = new
FormatState
(formatState)
9883
FormatState = new
FormatState
(dnChild.FormatState)
10163
FormatState = new
FormatState
(formatState)
10317
dn.FormatState = new
FormatState
(formatState);
10426
FormatState = new
FormatState
(formatState)
10897
FormatState = new
FormatState
(formatState),
11112
formatState = new
FormatState
(formatState);
11402
FormatState = new
FormatState
(formatState)
11424
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;
7548
internal
FormatState
PreviousTopFormatState(int fromTop)
7611
internal
FormatState
TopFormatState
7989
FormatState
formatState = _converterState.TopFormatState;
8611
internal void ProcessImage(
FormatState
formatState)
8843
FormatState
formatState = _converterState.TopFormatState;
8854
private void ProcessRtfDestination(
FormatState
fsCur)
8942
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
8943
FormatState
fsNew = _converterState.PreviousTopFormatState(1);
8983
FormatState
formatState = _converterState.TopFormatState;
9008
FormatState
formatState = _converterState.TopFormatState;
9112
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9623
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9691
FormatState
fs = _converterState.TopFormatState;
9754
internal void HandleBinControl(RtfToken token,
FormatState
formatState)
9769
internal void HandlePara(RtfToken token,
FormatState
formatState)
9796
internal void WrapPendingInlineInParagraph(RtfToken token,
FormatState
formatState)
9839
internal void HandlePage(RtfToken token,
FormatState
formatState)
9844
internal void HandleParagraphFromText(
FormatState
formatState)
9928
internal void HandleTableTokens(RtfToken token,
FormatState
formatState)
9930
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
9931
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10060
FormatState
fs = formats.EntryAt(i);
10083
FormatState
fs = formats.EntryAt(i);
10109
internal void HandleListTokens(RtfToken token,
FormatState
formatState)
10114
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10115
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10238
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
10259
internal void HandleShapeTokens(RtfToken token,
FormatState
formatState)
10262
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10263
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10348
internal void HandleOldListTokens(RtfToken token,
FormatState
formatState)
10350
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10351
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10441
internal void HandleTableProperties(RtfToken token,
FormatState
formatState)
10849
internal void HandleFieldTokens(RtfToken token,
FormatState
formatState)
10852
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10853
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10904
internal void HandleTableNesting(
FormatState
formatState)
11016
internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave,
FormatState
fs, bool bMarkerPresent)
11090
internal void HandleListNesting(
FormatState
formatState)
11194
internal void HandleCodePageTokens(RtfToken token,
FormatState
formatState)
11229
FormatState
previous = _converterState.PreviousTopFormatState(1);
11230
FormatState
previousPrevious = _converterState.PreviousTopFormatState(2);
11293
FormatState
formatState = _converterState.TopFormatState;
11326
FormatState
fs = _converterState.TopFormatState;
11334
internal void HandleNormalText(string text,
FormatState
formatState)
11381
internal void HandleNormalTextRaw(string text,
FormatState
formatState)
11412
internal void ProcessNormalHardLine(
FormatState
formatState)
11431
internal void ProcessHardLine(RtfToken token,
FormatState
formatState)
11496
private int GetMatchedMarkList(
FormatState
formatState, MarkerList mlHave, MarkerList mlWant)
11520
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;