23 instantiations of FormatState
PresentationFramework (23)
src\Framework\System\Windows\Documents\RtfFormatStack.cs (2)
48
formatState = previousFormatState != null ? new
FormatState
(previousFormatState) : new
FormatState
();
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (19)
964
_fsEmptyState = new
FormatState
();
4710
_formatState = new
FormatState
();
4726
_formatState = new
FormatState
(formatState);
6449
dnNewDir.FormatState = new
FormatState
(dn.Parent.FormatState);
7375
dnNewTable.FormatState = new
FormatState
(dn.FormatState);
8435
dn.FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0));
8542
dn.FormatState = new
FormatState
(_converterState.PreviousTopFormatState(0));
8949
dnEnd.FormatState = new
FormatState
(fsCur);
8963
dnEnd.FormatState = new
FormatState
(fsCur);
8989
listLevel.FormatState = new
FormatState
(fsCur);
9948
dn.FormatState = new
FormatState
(formatState);
9965
dn.FormatState = new
FormatState
(dnChild.FormatState);
10250
dnl.FormatState = new
FormatState
(formatState);
10419
dn.FormatState = new
FormatState
(formatState);
10528
dnl.FormatState = new
FormatState
(formatState);
11097
dnf.FormatState = new
FormatState
(formatState);
11312
formatState = new
FormatState
(formatState);
11606
dnTop.FormatState = new
FormatState
(formatState);
11626
documentNode.FormatState = new
FormatState
(formatState);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (2)
1772
dnNew.FormatState = new
FormatState
(dnSpanningCell.FormatState);
1830
dnNew.FormatState = new
FormatState
(dnSpanningCell.FormatState);
91 references to FormatState
PresentationFramework (91)
src\Framework\System\Windows\Documents\RtfFormatStack.cs (6)
45
FormatState
previousFormatState = Top();
46
FormatState
formatState;
63
internal
FormatState
Top()
68
internal
FormatState
PrevTop(int fromTop)
80
internal
FormatState
EntryAt(int index)
82
return (
FormatState
)this[index];
src\Framework\System\Windows\Documents\RtfToXamlLexer.cs (1)
59
internal RtfToXamlError Next(RtfToken token,
FormatState
formatState)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (70)
765
internal FormatState(
FormatState
formatState)
898
internal bool IsEqual(
FormatState
formatState)
958
static internal
FormatState
EmptyFormatState
1860
private static
FormatState
_fsEmptyState = null;
4178
internal
FormatState
FormatState
4198
private
FormatState
_formatState;
4724
internal void InheritFormatState(
FormatState
formatState)
4808
internal void ConstrainFontPropagation(
FormatState
fsOrig)
4834
FormatState
fsThis = FormatState;
4835
FormatState
fsParent = ParentFormatStateForFont;
4849
FormatState
fsThis = FormatState;
4850
FormatState
fsParent = ParentFormatStateForFont;
5260
FormatState
fsThis = FormatState;
5455
FormatState
fsThis = this.FormatState;
5456
FormatState
fsParent = ParentFormatStateForFont;
5942
internal
FormatState
FormatState
5954
internal
FormatState
ParentFormatStateForFont
5968
return
FormatState
.EmptyFormatState;
6203
private
FormatState
_formatState;
7626
internal
FormatState
PreviousTopFormatState(int fromTop)
7689
internal
FormatState
TopFormatState
8067
FormatState
formatState = _converterState.TopFormatState;
8692
internal void ProcessImage(
FormatState
formatState)
8926
FormatState
formatState = _converterState.TopFormatState;
8937
private void ProcessRtfDestination(
FormatState
fsCur)
9021
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
9022
FormatState
fsNew = _converterState.PreviousTopFormatState(1);
9065
FormatState
formatState = _converterState.TopFormatState;
9090
FormatState
formatState = _converterState.TopFormatState;
9194
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9708
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
9776
FormatState
fs = _converterState.TopFormatState;
9839
internal void HandleBinControl(RtfToken token,
FormatState
formatState)
9854
internal void HandlePara(RtfToken token,
FormatState
formatState)
9881
internal void WrapPendingInlineInParagraph(RtfToken token,
FormatState
formatState)
9924
internal void HandlePage(RtfToken token,
FormatState
formatState)
9929
internal void HandleParagraphFromText(
FormatState
formatState)
10009
internal void HandleTableTokens(RtfToken token,
FormatState
formatState)
10011
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10012
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10141
FormatState
fs = formats.EntryAt(i);
10164
FormatState
fs = formats.EntryAt(i);
10190
internal void HandleListTokens(RtfToken token,
FormatState
formatState)
10195
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10196
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10336
FormatState
previousFormatState = _converterState.PreviousTopFormatState(1);
10361
internal void HandleShapeTokens(RtfToken token,
FormatState
formatState)
10364
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10365
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10450
internal void HandleOldListTokens(RtfToken token,
FormatState
formatState)
10452
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
10453
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
10542
internal void HandleTableProperties(RtfToken token,
FormatState
formatState)
11049
internal void HandleFieldTokens(RtfToken token,
FormatState
formatState)
11052
FormatState
fsCur = _converterState.PreviousTopFormatState(0);
11053
FormatState
fsOld = _converterState.PreviousTopFormatState(1);
11103
internal void HandleTableNesting(
FormatState
formatState)
11216
internal MarkerList GetMarkerStylesOfParagraph(MarkerList mlHave,
FormatState
fs, bool bMarkerPresent)
11290
internal void HandleListNesting(
FormatState
formatState)
11394
internal void HandleCodePageTokens(RtfToken token,
FormatState
formatState)
11434
FormatState
previous = _converterState.PreviousTopFormatState(1);
11435
FormatState
previousPrevious = _converterState.PreviousTopFormatState(2);
11498
FormatState
formatState = _converterState.TopFormatState;
11531
FormatState
fs = _converterState.TopFormatState;
11539
internal void HandleNormalText(string text,
FormatState
formatState)
11586
internal void HandleNormalTextRaw(string text,
FormatState
formatState)
11615
internal void ProcessNormalHardLine(
FormatState
formatState)
11632
internal void ProcessHardLine(RtfToken token,
FormatState
formatState)
11698
private int GetMatchedMarkList(
FormatState
formatState, MarkerList mlHave, MarkerList mlWant)
11722
private void EnsureListAndListItem(
FormatState
formatState, DocumentNodeArray dna, MarkerList mlHave, MarkerList mlWant, int nMatch)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (14)
695
FormatState
fsThis = documentNode.FormatState;
696
FormatState
fsParent = documentNode.Parent != null
698
:
FormatState
.EmptyFormatState;
935
FormatState
fsThis = dnThis.FormatState;
936
FormatState
fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState :
FormatState
.EmptyFormatState;
1032
FormatState
fsThis = dnThis.FormatState;
1033
FormatState
fsParent = dnThis.Parent != null ? dnThis.Parent.FormatState :
FormatState
.EmptyFormatState;
1185
private bool WriteParagraphFontInfo(DocumentNode dnThis,
FormatState
fsThis,
FormatState
fsParent)
1282
private bool WriteParagraphListInfo(DocumentNode dnThis,
FormatState
fsThis)
1589
FormatState
fs = null;
2863
FormatState
formatState = documentNode.FormatState;