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
4656
_formatState = new
FormatState
();
4672
_formatState = new
FormatState
(formatState)
6379
FormatState = new
FormatState
(dn.Parent.FormatState)
7307
dnNewTable.FormatState = new
FormatState
(dn.FormatState);
8363
FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0))
8472
FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0))
8879
FormatState = new
FormatState
(fsCur),
8895
FormatState = new
FormatState
(fsCur),
8922
listLevel.FormatState = new
FormatState
(fsCur);
9882
FormatState = new
FormatState
(formatState)
9901
FormatState = new
FormatState
(dnChild.FormatState)
10187
FormatState = new
FormatState
(formatState)
10356
dn.FormatState = new
FormatState
(formatState);
10465
FormatState = new
FormatState
(formatState)
11032
FormatState = new
FormatState
(formatState),
11247
formatState = new
FormatState
(formatState);
11537
FormatState = new
FormatState
(formatState)
11559
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;
4125
internal
FormatState
FormatState
4145
private
FormatState
_formatState;
4670
internal void InheritFormatState(
FormatState
formatState)
4753
internal void ConstrainFontPropagation(
FormatState
fsOrig)
4779
FormatState
fsThis = FormatState;
4780
FormatState
fsParent = ParentFormatStateForFont;
4794
FormatState
fsThis = FormatState;
4795
FormatState
fsParent = ParentFormatStateForFont;
5205
FormatState
fsThis = FormatState;
5389
FormatState
fsThis = this.FormatState;
5390
FormatState
fsParent = ParentFormatStateForFont;
5872
internal
FormatState
FormatState
5884
internal
FormatState
ParentFormatStateForFont
5898
return
FormatState
.EmptyFormatState;
6133
private
FormatState
_formatState;
7560
internal
FormatState
PreviousTopFormatState(int fromTop)
7623
internal
FormatState
TopFormatState
8001
FormatState
formatState = _converterState.TopFormatState;
8623
internal void ProcessImage(
FormatState
formatState)
8855
FormatState
formatState = _converterState.TopFormatState;
8866
private void ProcessRtfDestination(
FormatState
fsCur)
8954
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
8955
FormatState
fsNew = _converterState.PreviousTopFormatState(1);
8998
FormatState
formatState = _converterState.TopFormatState;
9023
FormatState
formatState = _converterState.TopFormatState;
9127
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9641
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9709
FormatState
fs = _converterState.TopFormatState;
9772
internal void HandleBinControl(RtfToken token,
FormatState
formatState)
9787
internal void HandlePara(RtfToken token,
FormatState
formatState)
9814
internal void WrapPendingInlineInParagraph(RtfToken token,
FormatState
formatState)
9857
internal void HandlePage(RtfToken token,
FormatState
formatState)
9862
internal void HandleParagraphFromText(
FormatState
formatState)
9946
internal void HandleTableTokens(RtfToken token,
FormatState
formatState)
9948
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
9949
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10078
FormatState
fs = formats.EntryAt(i);
10101
FormatState
fs = formats.EntryAt(i);
10127
internal void HandleListTokens(RtfToken token,
FormatState
formatState)
10132
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10133
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10274
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
10298
internal void HandleShapeTokens(RtfToken token,
FormatState
formatState)
10301
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10302
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10387
internal void HandleOldListTokens(RtfToken token,
FormatState
formatState)
10389
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10390
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10480
internal void HandleTableProperties(RtfToken token,
FormatState
formatState)
10984
internal void HandleFieldTokens(RtfToken token,
FormatState
formatState)
10987
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10988
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
11039
internal void HandleTableNesting(
FormatState
formatState)
11151
internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave,
FormatState
fs, bool bMarkerPresent)
11225
internal void HandleListNesting(
FormatState
formatState)
11329
internal void HandleCodePageTokens(RtfToken token,
FormatState
formatState)
11364
FormatState
previous = _converterState.PreviousTopFormatState(1);
11365
FormatState
previousPrevious = _converterState.PreviousTopFormatState(2);
11428
FormatState
formatState = _converterState.TopFormatState;
11461
FormatState
fs = _converterState.TopFormatState;
11469
internal void HandleNormalText(string text,
FormatState
formatState)
11516
internal void HandleNormalTextRaw(string text,
FormatState
formatState)
11547
internal void ProcessNormalHardLine(
FormatState
formatState)
11566
internal void ProcessHardLine(RtfToken token,
FormatState
formatState)
11631
private int GetMatchedMarkList(
FormatState
formatState, MarkerList mlHave, MarkerList mlWant)
11655
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;