25 instantiations of Line
PresentationFramework (25)
MS\Internal\PtsHost\TextParaClient.cs (23)
608
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1070
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1660
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1757
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2102
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2213
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2430
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2554
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2633
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2799
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2915
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3041
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3113
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3175
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3234
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3279
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3336
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3628
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3697
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3801
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3927
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3992
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4126
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
MS\Internal\PtsHost\TextParagraph.cs (2)
521
Line line = new
Line
(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
705
Line line = new
Line
(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
94 references to Line
PresentationFramework (94)
MS\Internal\PtsHost\PtsHost.cs (6)
1315
Line
line = PtsContext.HandleToObject(pfslineLast) as
Line
;
1719
Line
line = PtsContext.HandleToObject(pfsline) as
Line
;
2155
Line
line = PtsContext.HandleToObject(pfsline) as
Line
;
MS\Internal\PtsHost\TextParaClient.cs (76)
474
ErrorHandler.Assert(dcpLast == Paragraph.Cch +
Line
.SyntheticCharacterLength, ErrorHandler.ParagraphCharacterCountMismatch);
475
dcpLast -=
Line
.SyntheticCharacterLength;
607
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, true, true, TextParagraph.TextRunCache);
608
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1069
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1070
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1204
lastChunk = (textDetails.u.full.dcpLim ==
Line
.SyntheticCharacterLength);
1556
ErrorHandler.Assert(lastLineResult.DcpLast -
Line
.SyntheticCharacterLength == Paragraph.Cch, ErrorHandler.ParagraphCharacterCountMismatch);
1557
lastLineResult.DcpLast -=
Line
.SyntheticCharacterLength;
1618
ErrorHandler.Assert(lastLineResult.DcpLast -
Line
.SyntheticCharacterLength == Paragraph.Cch, ErrorHandler.ParagraphCharacterCountMismatch);
1619
lastLineResult.DcpLast -=
Line
.SyntheticCharacterLength;
1660
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1661
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1757
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1758
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2102
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2103
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2213
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2214
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2430
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2431
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2554
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2555
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2633
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2634
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2799
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2800
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2915
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2916
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3041
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3042
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3113
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3114
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3175
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
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);
3234
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3278
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3279
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3335
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3336
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3627
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3628
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3696
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3697
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3800
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3801
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3927
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
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);
3992
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4126
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
4127
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
MS\Internal\PtsHost\TextParagraph.cs (12)
246
Line
lastLine,
521
Line
line = new Line(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
523
Line
.FormattingContext ctx = new
Line
.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache)
705
Line
line = new Line(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
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)
1762
private
Line
_currentLine;