25 instantiations of Line
PresentationFramework (25)
MS\Internal\PtsHost\TextParaClient.cs (23)
614
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1076
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1666
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1763
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2108
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2219
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2436
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2560
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2639
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2805
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2921
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3047
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3119
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3181
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3240
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3285
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3342
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3634
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3703
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3807
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3933
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3998
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4132
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
MS\Internal\PtsHost\TextParagraph.cs (2)
540
Line line = new
Line
(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
726
Line line = new
Line
(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
94 references to Line
PresentationFramework (94)
MS\Internal\PtsHost\PtsHost.cs (6)
1329
Line
line = PtsContext.HandleToObject(pfslineLast) as
Line
;
1737
Line
line = PtsContext.HandleToObject(pfsline) as
Line
;
2177
Line
line = PtsContext.HandleToObject(pfsline) as
Line
;
MS\Internal\PtsHost\TextParaClient.cs (76)
480
ErrorHandler.Assert(dcpLast == Paragraph.Cch +
Line
.SyntheticCharacterLength, ErrorHandler.ParagraphCharacterCountMismatch);
481
dcpLast -=
Line
.SyntheticCharacterLength;
613
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, true, true, TextParagraph.TextRunCache);
614
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1075
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1076
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1210
lastChunk = (textDetails.u.full.dcpLim ==
Line
.SyntheticCharacterLength);
1562
ErrorHandler.Assert(lastLineResult.DcpLast -
Line
.SyntheticCharacterLength == Paragraph.Cch, ErrorHandler.ParagraphCharacterCountMismatch);
1563
lastLineResult.DcpLast -=
Line
.SyntheticCharacterLength;
1624
ErrorHandler.Assert(lastLineResult.DcpLast -
Line
.SyntheticCharacterLength == Paragraph.Cch, ErrorHandler.ParagraphCharacterCountMismatch);
1625
lastLineResult.DcpLast -=
Line
.SyntheticCharacterLength;
1666
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1667
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1763
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1764
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2108
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2109
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2219
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2220
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2436
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2437
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2560
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2561
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2639
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2640
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2805
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2806
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2921
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2922
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3047
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3048
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3119
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3120
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3181
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
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);
3240
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3284
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3285
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3341
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3342
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3633
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3634
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3702
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3703
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3806
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3807
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3933
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
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);
3998
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4132
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
4133
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
MS\Internal\PtsHost\TextParagraph.cs (12)
264
Line
lastLine,
540
Line
line = new Line(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
543
Line
.FormattingContext ctx = new
Line
.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache);
726
Line
line = new Line(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
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)
1791
private
Line
_currentLine;