25 instantiations of Line
PresentationFramework (25)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (23)
696
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1224
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1866
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1968
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2322
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2433
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2658
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2787
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2870
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3041
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3161
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3291
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3367
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3434
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3497
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3542
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3599
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3909
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3978
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4091
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4221
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
4291
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4434
Line line = new
Line
(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
546
Line line = new
Line
(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
732
Line line = new
Line
(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
94 references to Line
PresentationFramework (94)
src\Framework\MS\Internal\PtsHost\PtsHost.cs (6)
1392
Line
line = PtsContext.HandleToObject(pfslineLast) as
Line
;
1804
Line
line = PtsContext.HandleToObject(pfsline) as
Line
;
2262
Line
line = PtsContext.HandleToObject(pfsline) as
Line
;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (76)
553
ErrorHandler.Assert(dcpLast == Paragraph.Cch +
Line
.SyntheticCharacterLength, ErrorHandler.ParagraphCharacterCountMismatch);
554
dcpLast -=
Line
.SyntheticCharacterLength;
695
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, true, true, TextParagraph.TextRunCache);
696
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1223
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, true, true, TextParagraph.TextRunCache);
1224
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1379
lastChunk = (textDetails.u.full.dcpLim ==
Line
.SyntheticCharacterLength);
1751
ErrorHandler.Assert(lastLineResult.DcpLast -
Line
.SyntheticCharacterLength == Paragraph.Cch, ErrorHandler.ParagraphCharacterCountMismatch);
1752
lastLineResult.DcpLast -=
Line
.SyntheticCharacterLength;
1820
ErrorHandler.Assert(lastLineResult.DcpLast -
Line
.SyntheticCharacterLength == Paragraph.Cch, ErrorHandler.ParagraphCharacterCountMismatch);
1821
lastLineResult.DcpLast -=
Line
.SyntheticCharacterLength;
1866
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1867
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1968
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
1969
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2322
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2323
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2433
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2434
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2658
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2659
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2787
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2788
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
2870
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
2871
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);
3161
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3162
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3291
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3292
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3367
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
3368
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3434
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
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);
3497
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3541
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3542
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3598
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3599
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3908
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3909
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
3977
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache);
3978
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4090
Line
.FormattingContext ctx = new
Line
.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
4091
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4221
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
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);
4291
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, cpTextParaStart);
4434
Line
line = new Line(Paragraph.StructuralCache.TextFormatterHost, this, Paragraph.ParagraphStartCharacterPosition);
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 (12)
270
Line
lastLine,
546
Line
line = new Line(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
549
Line
.FormattingContext ctx = new
Line
.FormattingContext(true, fClearOnLeft, fClearOnRight, _textRunCache);
732
Line
line = new Line(StructuralCache.TextFormatterHost, paraClient, ParagraphStartCharacterPosition);
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)
1799
private
Line
_currentLine;