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)
942
_fsEmptyState = new
FormatState
4657
_formatState = new
FormatState
();
4673
_formatState = new
FormatState
(formatState)
6380
FormatState = new
FormatState
(dn.Parent.FormatState)
7308
dnNewTable.FormatState = new
FormatState
(dn.FormatState);
8364
FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0))
8473
FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0))
8880
FormatState = new
FormatState
(fsCur),
8896
FormatState = new
FormatState
(fsCur),
8923
listLevel.FormatState = new
FormatState
(fsCur);
9883
FormatState = new
FormatState
(formatState)
9902
FormatState = new
FormatState
(dnChild.FormatState)
10188
FormatState = new
FormatState
(formatState)
10357
dn.FormatState = new
FormatState
(formatState);
10466
FormatState = new
FormatState
(formatState)
11033
FormatState = new
FormatState
(formatState),
11248
formatState = new
FormatState
(formatState);
11538
FormatState = new
FormatState
(formatState)
11560
FormatState = new
FormatState
(formatState)
System\Windows\Documents\XamlToRtfWriter.cs (2)
1769
dnNew.FormatState = new
FormatState
(dnSpanningCell.FormatState);
1827
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)
57
internal RtfToXamlError Next(RtfToken token,
FormatState
formatState)
System\Windows\Documents\RtfToXamlReader.cs (70)
743
internal FormatState(
FormatState
formatState)
876
internal bool IsEqual(
FormatState
formatState)
936
static internal
FormatState
EmptyFormatState
1840
private static
FormatState
_fsEmptyState = null;
4126
internal
FormatState
FormatState
4146
private
FormatState
_formatState;
4671
internal void InheritFormatState(
FormatState
formatState)
4754
internal void ConstrainFontPropagation(
FormatState
fsOrig)
4780
FormatState
fsThis = FormatState;
4781
FormatState
fsParent = ParentFormatStateForFont;
4795
FormatState
fsThis = FormatState;
4796
FormatState
fsParent = ParentFormatStateForFont;
5206
FormatState
fsThis = FormatState;
5390
FormatState
fsThis = this.FormatState;
5391
FormatState
fsParent = ParentFormatStateForFont;
5873
internal
FormatState
FormatState
5885
internal
FormatState
ParentFormatStateForFont
5899
return
FormatState
.EmptyFormatState;
6134
private
FormatState
_formatState;
7561
internal
FormatState
PreviousTopFormatState(int fromTop)
7624
internal
FormatState
TopFormatState
8002
FormatState
formatState = _converterState.TopFormatState;
8624
internal void ProcessImage(
FormatState
formatState)
8856
FormatState
formatState = _converterState.TopFormatState;
8867
private void ProcessRtfDestination(
FormatState
fsCur)
8955
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
8956
FormatState
fsNew = _converterState.PreviousTopFormatState(1);
8999
FormatState
formatState = _converterState.TopFormatState;
9024
FormatState
formatState = _converterState.TopFormatState;
9128
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9642
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9710
FormatState
fs = _converterState.TopFormatState;
9773
internal void HandleBinControl(RtfToken token,
FormatState
formatState)
9788
internal void HandlePara(RtfToken token,
FormatState
formatState)
9815
internal void WrapPendingInlineInParagraph(RtfToken token,
FormatState
formatState)
9858
internal void HandlePage(RtfToken token,
FormatState
formatState)
9863
internal void HandleParagraphFromText(
FormatState
formatState)
9947
internal void HandleTableTokens(RtfToken token,
FormatState
formatState)
9949
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
9950
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10079
FormatState
fs = formats.EntryAt(i);
10102
FormatState
fs = formats.EntryAt(i);
10128
internal void HandleListTokens(RtfToken token,
FormatState
formatState)
10133
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10134
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10275
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
10299
internal void HandleShapeTokens(RtfToken token,
FormatState
formatState)
10302
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10303
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10388
internal void HandleOldListTokens(RtfToken token,
FormatState
formatState)
10390
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10391
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10481
internal void HandleTableProperties(RtfToken token,
FormatState
formatState)
10985
internal void HandleFieldTokens(RtfToken token,
FormatState
formatState)
10988
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10989
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
11040
internal void HandleTableNesting(
FormatState
formatState)
11152
internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave,
FormatState
fs, bool bMarkerPresent)
11226
internal void HandleListNesting(
FormatState
formatState)
11330
internal void HandleCodePageTokens(RtfToken token,
FormatState
formatState)
11365
FormatState
previous = _converterState.PreviousTopFormatState(1);
11366
FormatState
previousPrevious = _converterState.PreviousTopFormatState(2);
11429
FormatState
formatState = _converterState.TopFormatState;
11462
FormatState
fs = _converterState.TopFormatState;
11470
internal void HandleNormalText(string text,
FormatState
formatState)
11517
internal void HandleNormalTextRaw(string text,
FormatState
formatState)
11548
internal void ProcessNormalHardLine(
FormatState
formatState)
11567
internal void ProcessHardLine(RtfToken token,
FormatState
formatState)
11632
private int GetMatchedMarkList(
FormatState
formatState, MarkerList mlHave, MarkerList mlWant)
11656
private void EnsureListAndListItem(
FormatState
formatState, DocumentNodeArray dna, MarkerList mlHave, MarkerList mlWant, int nMatch)
System\Windows\Documents\XamlToRtfWriter.cs (14)
693
FormatState
fsThis = documentNode.FormatState;
694
FormatState
fsParent = documentNode.Parent != null
696
:
FormatState
.EmptyFormatState;
933
FormatState
fsThis = dnThis.FormatState;
934
FormatState
fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState :
FormatState
.EmptyFormatState;
1030
FormatState
fsThis = dnThis.FormatState;
1031
FormatState
fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState :
FormatState
.EmptyFormatState;
1182
private bool WriteParagraphFontInfo(DocumentNode dnThis,
FormatState
fsThis,
FormatState
fsParent)
1279
private bool WriteParagraphListInfo(DocumentNode dnThis,
FormatState
fsThis)
1586
FormatState
fs = null;
2856
FormatState
formatState = documentNode.FormatState;