25 instantiations of FormattingContext
PresentationFramework (25)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (23)
695
Line.FormattingContext ctx = new Line.
FormattingContext
(false, true, true, TextParagraph.TextRunCache);
1223
Line.FormattingContext ctx = new Line.
FormattingContext
(false, true, true, TextParagraph.TextRunCache);
1867
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1969
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2323
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2434
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2659
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2788
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2871
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);
3162
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3292
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3368
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3435
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3496
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3541
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3598
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3908
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3977
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4090
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
4222
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
4290
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4435
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
549
Line.FormattingContext ctx = new Line.
FormattingContext
(true, fClearOnLeft, fClearOnRight, _textRunCache);
734
Line.FormattingContext ctx = new Line.
FormattingContext
(true, fClearOnLeft, fClearOnRight, _textRunCache);
29 references to FormattingContext
PresentationFramework (29)
src\Framework\MS\Internal\PtsHost\Line.cs (2)
276
internal void Format(
FormattingContext
ctx, int dcp, int width, int trackWidth, TextParagraphProperties lineProps, TextLineBreak textLineBreak)
1266
private
FormattingContext
_formattingContext;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (23)
695
Line.
FormattingContext
ctx = new Line.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1223
Line.
FormattingContext
ctx = new Line.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1867
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1969
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2323
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2434
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2659
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2788
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2871
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);
3162
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3292
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3368
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3435
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3496
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3541
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3598
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3908
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3977
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4090
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
4222
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
4290
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4435
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (4)
549
Line.
FormattingContext
ctx = new Line.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache);
734
Line.
FormattingContext
ctx = new Line.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache);
1311
internal void FormatLineCore(Line line, IntPtr pbrLineIn, Line.
FormattingContext
ctx, int dcp, int width, bool firstLine, int dcpLine)
1344
internal void FormatLineCore(Line line, IntPtr pbrLineIn, Line.
FormattingContext
ctx, int dcp, int width, int trackWidth, bool firstLine, int dcpLine)