25 instantiations of FormattingContext
PresentationFramework (25)
MS\Internal\PtsHost\TextParaClient.cs (23)
606
Line.FormattingContext ctx = new Line.
FormattingContext
(false, true, true, TextParagraph.TextRunCache);
1068
Line.FormattingContext ctx = new Line.
FormattingContext
(false, true, true, TextParagraph.TextRunCache);
1660
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1757
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2102
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2213
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2430
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2554
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2633
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2799
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2915
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3041
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3113
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3175
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3232
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3277
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3334
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3626
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3695
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3799
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3927
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3990
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4126
Line.FormattingContext ctx = new Line.
FormattingContext
(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
MS\Internal\PtsHost\TextParagraph.cs (2)
522
Line.FormattingContext ctx = new Line.
FormattingContext
(true, fClearOnLeft, fClearOnRight, _textRunCache)
706
Line.FormattingContext ctx = new Line.
FormattingContext
(true, fClearOnLeft, fClearOnRight, _textRunCache);
29 references to FormattingContext
PresentationFramework (29)
MS\Internal\PtsHost\Line.cs (2)
255
internal void Format(
FormattingContext
ctx, int dcp, int width, int trackWidth, TextParagraphProperties lineProps, TextLineBreak textLineBreak)
1239
private
FormattingContext
_formattingContext;
MS\Internal\PtsHost\TextParaClient.cs (23)
606
Line.
FormattingContext
ctx = new Line.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1068
Line.
FormattingContext
ctx = new Line.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1660
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1757
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2102
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2213
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2430
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2554
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2633
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2799
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2915
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3041
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3113
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3175
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3232
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3277
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3334
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3626
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3695
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3799
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3927
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3990
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
4126
Line.
FormattingContext
ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
MS\Internal\PtsHost\TextParagraph.cs (4)
522
Line.
FormattingContext
ctx = new Line.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache)
706
Line.
FormattingContext
ctx = new Line.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache);
1273
internal void FormatLineCore(Line line, IntPtr pbrLineIn, Line.
FormattingContext
ctx, int dcp, int width, bool firstLine, int dcpLine)
1306
internal void FormatLineCore(Line line, IntPtr pbrLineIn, Line.
FormattingContext
ctx, int dcp, int width, int trackWidth, bool firstLine, int dcpLine)