25 instantiations of FormattingContext
PresentationFramework (25)
MS\Internal\PtsHost\TextParaClient.cs (23)
613
Line.FormattingContext ctx = new Line.
FormattingContext
(false, true, true, TextParagraph.TextRunCache);
1075
Line.FormattingContext ctx = new Line.
FormattingContext
(false, true, true, TextParagraph.TextRunCache);
1667
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1764
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2109
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2220
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2437
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2561
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2640
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2806
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2922
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3048
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3120
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3182
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3239
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3284
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3341
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3633
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3702
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3806
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3934
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3997
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4133
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
MS\Internal\PtsHost\TextParagraph.cs (2)
543
Line.FormattingContext ctx = new Line.
FormattingContext
(true, fClearOnLeft, fClearOnRight, _textRunCache);
728
Line.FormattingContext ctx = new Line.
FormattingContext
(true, fClearOnLeft, fClearOnRight, _textRunCache);
29 references to FormattingContext
PresentationFramework (29)
MS\Internal\PtsHost\Line.cs (2)
273
internal void Format(
FormattingContext
ctx, int dcp, int width, int trackWidth, TextParagraphProperties lineProps, TextLineBreak textLineBreak)
1258
private
FormattingContext
_formattingContext;
MS\Internal\PtsHost\TextParaClient.cs (23)
613
Line.
FormattingContext
ctx = new Line.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1075
Line.
FormattingContext
ctx = new Line.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1667
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1764
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2109
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2220
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2437
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2561
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2640
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2806
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2922
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3048
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3120
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3182
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3239
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3284
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3341
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3633
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3702
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3806
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3934
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3997
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4133
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
MS\Internal\PtsHost\TextParagraph.cs (4)
543
Line.
FormattingContext
ctx = new Line.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache);
728
Line.
FormattingContext
ctx = new Line.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache);
1303
internal void FormatLineCore(Line line, IntPtr pbrLineIn, Line.
FormattingContext
ctx, int dcp, int width, bool firstLine, int dcpLine)
1336
internal void FormatLineCore(Line line, IntPtr pbrLineIn, Line.
FormattingContext
ctx, int dcp, int width, int trackWidth, bool firstLine, int dcpLine)