25 instantiations of FormattingContext
PresentationFramework (25)
MS\Internal\PtsHost\TextParaClient.cs (23)
607
Line.FormattingContext ctx = new Line.
FormattingContext
(false, true, true, TextParagraph.TextRunCache);
1069
Line.FormattingContext ctx = new Line.
FormattingContext
(false, true, true, TextParagraph.TextRunCache);
1661
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1758
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2103
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2214
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2431
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2555
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2634
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2800
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2916
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3042
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3114
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3176
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3233
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3278
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3335
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3627
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3696
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3800
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3928
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3991
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4127
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
MS\Internal\PtsHost\TextParagraph.cs (2)
523
Line.FormattingContext ctx = new Line.
FormattingContext
(true, fClearOnLeft, fClearOnRight, _textRunCache)
707
Line.FormattingContext ctx = new Line.
FormattingContext
(true, fClearOnLeft, fClearOnRight, _textRunCache);
29 references to FormattingContext
PresentationFramework (29)
MS\Internal\PtsHost\Line.cs (2)
259
internal void Format(
FormattingContext
ctx, int dcp, int width, int trackWidth, TextParagraphProperties lineProps, TextLineBreak textLineBreak)
1243
private
FormattingContext
_formattingContext;
MS\Internal\PtsHost\TextParaClient.cs (23)
607
Line.
FormattingContext
ctx = new Line.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1069
Line.
FormattingContext
ctx = new Line.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1661
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1758
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2103
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2214
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2431
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2555
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2634
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2800
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2916
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3042
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3114
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3176
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3233
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3278
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3335
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3627
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3696
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3800
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3928
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3991
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4127
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
MS\Internal\PtsHost\TextParagraph.cs (4)
523
Line.
FormattingContext
ctx = new Line.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache)
707
Line.
FormattingContext
ctx = new Line.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache);
1274
internal void FormatLineCore(Line line, IntPtr pbrLineIn, Line.
FormattingContext
ctx, int dcp, int width, bool firstLine, int dcpLine)
1307
internal void FormatLineCore(Line line, IntPtr pbrLineIn, Line.
FormattingContext
ctx, int dcp, int width, int trackWidth, bool firstLine, int dcpLine)