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
();
4649
_formatState = new
FormatState
();
4665
_formatState = new
FormatState
(formatState);
6366
dnNewDir.FormatState = new
FormatState
(dn.Parent.FormatState);
7292
dnNewTable.FormatState = new
FormatState
(dn.FormatState);
8345
dn.FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0));
8452
dn.FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0));
8856
dnEnd.FormatState = new
FormatState
(fsCur);
8870
dnEnd.FormatState = new
FormatState
(fsCur);
8896
listLevel.FormatState = new
FormatState
(fsCur);
9855
dn.FormatState = new
FormatState
(formatState);
9872
dn.FormatState = new
FormatState
(dnChild.FormatState);
10157
dnl.FormatState = new
FormatState
(formatState);
10325
dn.FormatState = new
FormatState
(formatState);
10434
dnl.FormatState = new
FormatState
(formatState);
11003
dnf.FormatState = new
FormatState
(formatState);
11217
formatState = new
FormatState
(formatState);
11506
dnTop.FormatState = new
FormatState
(formatState);
11526
documentNode.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
1838
private static
FormatState
_fsEmptyState = null;
4118
internal
FormatState
FormatState
4138
private
FormatState
_formatState;
4663
internal void InheritFormatState(
FormatState
formatState)
4745
internal void ConstrainFontPropagation(
FormatState
fsOrig)
4771
FormatState
fsThis = FormatState;
4772
FormatState
fsParent = ParentFormatStateForFont;
4786
FormatState
fsThis = FormatState;
4787
FormatState
fsParent = ParentFormatStateForFont;
5197
FormatState
fsThis = FormatState;
5381
FormatState
fsThis = this.FormatState;
5382
FormatState
fsParent = ParentFormatStateForFont;
5860
internal
FormatState
FormatState
5872
internal
FormatState
ParentFormatStateForFont
5886
return
FormatState
.EmptyFormatState;
6121
private
FormatState
_formatState;
7543
internal
FormatState
PreviousTopFormatState(int fromTop)
7606
internal
FormatState
TopFormatState
7984
FormatState
formatState = _converterState.TopFormatState;
8602
internal void ProcessImage(
FormatState
formatState)
8833
FormatState
formatState = _converterState.TopFormatState;
8844
private void ProcessRtfDestination(
FormatState
fsCur)
8928
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
8929
FormatState
fsNew = _converterState.PreviousTopFormatState(1);
8972
FormatState
formatState = _converterState.TopFormatState;
8997
FormatState
formatState = _converterState.TopFormatState;
9101
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9615
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9683
FormatState
fs = _converterState.TopFormatState;
9746
internal void HandleBinControl(RtfToken token,
FormatState
formatState)
9761
internal void HandlePara(RtfToken token,
FormatState
formatState)
9788
internal void WrapPendingInlineInParagraph(RtfToken token,
FormatState
formatState)
9831
internal void HandlePage(RtfToken token,
FormatState
formatState)
9836
internal void HandleParagraphFromText(
FormatState
formatState)
9916
internal void HandleTableTokens(RtfToken token,
FormatState
formatState)
9918
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
9919
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10048
FormatState
fs = formats.EntryAt(i);
10071
FormatState
fs = formats.EntryAt(i);
10097
internal void HandleListTokens(RtfToken token,
FormatState
formatState)
10102
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10103
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10243
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
10267
internal void HandleShapeTokens(RtfToken token,
FormatState
formatState)
10270
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10271
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10356
internal void HandleOldListTokens(RtfToken token,
FormatState
formatState)
10358
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10359
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10448
internal void HandleTableProperties(RtfToken token,
FormatState
formatState)
10955
internal void HandleFieldTokens(RtfToken token,
FormatState
formatState)
10958
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10959
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
11009
internal void HandleTableNesting(
FormatState
formatState)
11121
internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave,
FormatState
fs, bool bMarkerPresent)
11195
internal void HandleListNesting(
FormatState
formatState)
11299
internal void HandleCodePageTokens(RtfToken token,
FormatState
formatState)
11334
FormatState
previous = _converterState.PreviousTopFormatState(1);
11335
FormatState
previousPrevious = _converterState.PreviousTopFormatState(2);
11398
FormatState
formatState = _converterState.TopFormatState;
11431
FormatState
fs = _converterState.TopFormatState;
11439
internal void HandleNormalText(string text,
FormatState
formatState)
11486
internal void HandleNormalTextRaw(string text,
FormatState
formatState)
11515
internal void ProcessNormalHardLine(
FormatState
formatState)
11532
internal void ProcessHardLine(RtfToken token,
FormatState
formatState)
11597
private int GetMatchedMarkList(
FormatState
formatState, MarkerList mlHave, MarkerList mlWant)
11621
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;