208 references to Plsrun
PresentationCore (208)
Core\CSharp\MS\Internal\TextFormatting\FormatSettings.cs (5)
207
case
Plsrun
.Text:
220
case
Plsrun
.InlineObject:
228
case
Plsrun
.LineBreak:
241
case
Plsrun
.ParaBreak:
254
case
Plsrun
.Hidden:
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (18)
522
Plsrun
plsrun;
535
if (lineLength == prefetchLength && lsrun.Type ==
Plsrun
.Reverse)
943
LSRun lsrun = GetRun((
Plsrun
)sublineInfo[actualSublineCount - 1].plsrun);
1122
LSRun lsrun = GetRun((
Plsrun
)sublineInfo[actualSublineCount - 1].plsrun);
1394
LSRun lsrun = GetRun((
Plsrun
)sublineInfo[actualSublineCount - 1].plsrun);
1443
LSRun run = GetRun((
Plsrun
) plsrunSpanRider.CurrentElement);
1463
LSRun run = GetRun((
Plsrun
) plsrunSpanRider.CurrentElement);
2036
Plsrun
plsrun = (
Plsrun
)plsrunSpanRider.CurrentElement;
2043
if( lsrun.Type ==
Plsrun
.Text
2044
|| lsrun.Type ==
Plsrun
.InlineObject)
2127
TextRun textRun = ((LSRun)GetRun((
Plsrun
)plsrunSpan.element)).TextRun;
2786
offsetToFirstCp = GetRun(((
Plsrun
)plsrunSpanRider.CurrentElement)).OffsetToFirstCp;
2801
Plsrun
plsrun = (
Plsrun
)plsrunSpan.element;
2807
if(plsrun >=
Plsrun
.FormatAnchor)
2819
internal LSRun GetRun(
Plsrun
plsrun)
2832
lsruns[(int)(plsrun -
Plsrun
.FormatAnchor)] :
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (9)
319
Plsrun
plsrun = (
Plsrun
)span.element;
325
if (plsrun >=
Plsrun
.FormatAnchor)
397
Plsrun
plsrun = (
Plsrun
)span.element;
400
if (ccp == ccpCurrent && lsrun.Type ==
Plsrun
.Reverse)
406
lastRunLength = (plsrun >=
Plsrun
.FormatAnchor ? lsrun.Length : 0);
412
&& lsrun.Type !=
Plsrun
.ParaBreak
571
internal TextStore StoreFrom(
Plsrun
plsrun)
Core\CSharp\MS\Internal\TextFormatting\LineServices.cs (18)
78
Plsrun
plsrun,
90
Plsrun
plsrun,
103
Plsrun
plsrun,
114
Plsrun
plsrun,
130
Plsrun
firstPlsrun,
131
Plsrun
secondPlsrun,
138
Plsrun
plsrun,
146
Plsrun
plsrun,
197
Plsrun
plsrun,
209
Plsrun
plsrun,
269
Plsrun
plsrun,
295
Plsrun
plsrun,
323
Plsrun
plsrun,
418
Plsrun
plsrun, // plsrun
431
Plsrun
plsrun, // plsrun
1438
public
Plsrun
plsrun;
1451
public
Plsrun
plsrun;
1503
public
Plsrun
plsrun;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (67)
126
Plsrun
plsrun =
Plsrun
.Undefined;
190
case
Plsrun
.Reverse:
194
case
Plsrun
.FormatAnchor:
195
case
Plsrun
.CloseAnchor:
199
case
Plsrun
.InlineObject:
204
case
Plsrun
.Hidden:
209
case
Plsrun
.Text:
251
if ( lsrun.Type ==
Plsrun
.Text
252
|| lsrun.Type ==
Plsrun
.InlineObject)
403
SaveException(e,
Plsrun
.Undefined, null);
408
SaveNonCLSException("FetchPap",
Plsrun
.Undefined, null);
451
SaveException(e,
Plsrun
.Undefined, null);
456
SaveNonCLSException("FetchLineProps",
Plsrun
.Undefined, null);
469
Plsrun
plsrun, // plsrun
521
Plsrun
plsrun, // plsrun
564
if (lsrun.Type ==
Plsrun
.Text)
617
Plsrun
plsrun, // plsrun
665
Plsrun
plsrun =
Plsrun
.Undefined;
732
Plsrun
plsrun, // plsrun
746
!TextStore.IsContent(plsrun) || lsrun.Type ==
Plsrun
.Text || lsrun.Type ==
Plsrun
.InlineObject,
800
Plsrun
plsrun, // plsrun
814
!TextStore.IsContent(plsrun) || lsrun.Type ==
Plsrun
.Text || lsrun.Type ==
Plsrun
.InlineObject,
904
SaveException(e,
Plsrun
.Undefined, null);
909
SaveNonCLSException("Hyphenate",
Plsrun
.Undefined, null);
945
SaveException(e,
Plsrun
.Undefined, null);
950
SaveNonCLSException("GetNextHyphenOpp",
Plsrun
.Undefined, null);
991
SaveException(e,
Plsrun
.Undefined, null);
996
SaveNonCLSException("GetPrevHyphenOpp",
Plsrun
.Undefined, null);
1010
Plsrun
plsrun, // plsrun
1080
Plsrun
plsrun, // plsrun
1535
Plsrun
plsrun, // plsrun
1612
Plsrun
plsrunFirst, // first run
1613
Plsrun
plsrunSecond, // second run
1647
SaveException(e,
Plsrun
.Undefined, null);
1652
SaveNonCLSException("FInterruptShaping",
Plsrun
.Undefined, null);
1786
SaveException(e, (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1791
SaveNonCLSException("GetGlyphsRedefined", (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1872
SaveException(e, (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1877
SaveNonCLSException("GetGlyphPositions", (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1898
TextStore store = FullText.StoreFrom((
Plsrun
)(*plsplsruns));
1902
Plsrun
plsrun = (
Plsrun
)plsplsruns[i];
1917
Plsrun
plsrun, // plsrun
2022
Plsrun
plsrun =
Plsrun
.Undefined;
2077
Plsrun
plsrun =
Plsrun
.Undefined;
2190
Plsrun
plsrun =
Plsrun
.Undefined;
2326
Plsrun
plsrun =
Plsrun
.Undefined;
2505
SaveException(e,
Plsrun
.Undefined, null);
2510
SaveNonCLSException("GetObjectHandlerInfo",
Plsrun
.Undefined, null);
2522
Plsrun
plsrun, // plsrun
2618
Plsrun
plsrun, // plsrun
2634
Debug.Assert(lsrun.Type ==
Plsrun
.InlineObject);
2778
Plsrun
plsrun, // plsrun
2901
Plsrun
plsrun, // plsrun
2928
if (lsrun.Type ==
Plsrun
.Text)
3367
if (lsrun.Type ==
Plsrun
.Text)
3661
private void SaveException(Exception e,
Plsrun
plsrun, LSRun lsrun)
3671
private void SaveNonCLSException(string methodName,
Plsrun
plsrun, LSRun lsrun)
3681
public ExceptionContext(object innerContext, string stackTraceOrMethodName,
Plsrun
plsrun, LSRun lsrun)
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (11)
43
private
Plsrun
_type; // Plsrun used as run type
63
Plsrun
type,
96
Plsrun
type,
127
Plsrun
type,
157
Plsrun
type,
194
return _type ==
Plsrun
.Text;
205
return (_type ==
Plsrun
.Text || _type ==
Plsrun
.InlineObject);
216
return (_type ==
Plsrun
.LineBreak || _type ==
Plsrun
.ParaBreak);
498
internal
Plsrun
Type
Core\CSharp\MS\Internal\TextFormatting\TextProperties.cs (9)
185
private
Plsrun
_plsrun;
210
Plsrun
lsRunType,
363
internal
Plsrun
Plsrun
405
internal static
Plsrun
GetRunType(TextRun textRun)
408
return
Plsrun
.Text;
411
return
Plsrun
.InlineObject;
414
return
Plsrun
.ParaBreak;
417
return
Plsrun
.LineBreak;
420
return
Plsrun
.Hidden;
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (5)
129
Plsrun
plsrun = TextRunInfo.GetRunType(textRun);
131
if (plsrun ==
Plsrun
.Text || plsrun ==
Plsrun
.InlineObject)
217
if (TextRunInfo.GetRunType(textRun) ==
Plsrun
.Text)
306
if ( TextRunInfo.GetRunType(run) ==
Plsrun
.Text
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (66)
101
ControlRuns[0] = new LSRun(
Plsrun
.CloseAnchor, esc.szObjectTerminator);
102
ControlRuns[1] = new LSRun(
Plsrun
.Reverse, esc.szObjectReplacement);
103
ControlRuns[2] = new LSRun(
Plsrun
.FakeLineBreak, esc.szLineSeparator);
166
out
Plsrun
plsrun,
401
_plsrunVectorLatestPosition = _plsrunVector.SetValue(_lscchUpTo, 1,
Plsrun
.FakeLineBreak, _plsrunVectorLatestPosition);
435
Plsrun
runType = TextRunInfo.GetRunType(textRun);
437
if (runType ==
Plsrun
.Text)
704
Plsrun
.LineBreak, // LineBreak run
724
Plsrun
.ParaBreak, // parabreak run
763
out
Plsrun
plsrun,
772
plsrun = (
Plsrun
)rider.CurrentElement;
775
if (plsrun <
Plsrun
.FormatAnchor)
782
lsrun = (LSRun)_lsrunList[(int)(ToIndex(plsrun) -
Plsrun
.FormatAnchor)];
810
return GetRun((
Plsrun
)rider.CurrentElement).BidiLevel;
961
if ( currentRunInfo.Plsrun ==
Plsrun
.Hidden &&
1088
Plsrun
plsrun = (
Plsrun
)span.element;
1091
if (plsrun >=
Plsrun
.FormatAnchor)
1103
if (lsrun.Type ==
Plsrun
.Text && cp + lsrun.Length > cpLimit)
1115
_plsrunVectorLatestPosition = _plsrunVector.SetValue(_lscchUpTo, 1,
Plsrun
.FakeLineBreak, _plsrunVectorLatestPosition);
1151
if (runInfo.Plsrun ==
Plsrun
.Text && !IsNewline((ushort)runInfo.CharacterAttributeFlags))
1478
Plsrun
plsrun;
1484
plsrun =
Plsrun
.Reverse;
1489
plsrun =
Plsrun
.CloseAnchor;
1535
case
Plsrun
.Text:
1546
Plsrun
.FormatAnchor,
1578
case
Plsrun
.InlineObject:
1587
Plsrun
.InlineObject,
1603
case
Plsrun
.LineBreak:
1621
case
Plsrun
.ParaBreak:
1635
case
Plsrun
.Hidden:
1642
Plsrun
.Hidden,
1739
Plsrun
.Text,
1801
private
Plsrun
AddLSRun(LSRun lsrun)
1803
if(lsrun.Type <
Plsrun
.FormatAnchor)
1808
Plsrun
plsrun = (
Plsrun
)((uint)_lsrunList.Count +
Plsrun
.FormatAnchor);
1836
return GetRun((
Plsrun
)rider.CurrentElement).OffsetToFirstCp +
1844
internal LSRun GetRun(
Plsrun
plsrun)
1850
_lsrunList[(int)(plsrun -
Plsrun
.FormatAnchor)] :
1859
internal static bool IsMarker(
Plsrun
plsrun)
1861
return (plsrun &
Plsrun
.IsMarker) != 0;
1868
internal static
Plsrun
MakePlsrunMarker(
Plsrun
plsrun)
1870
return (plsrun |
Plsrun
.IsMarker);
1877
internal static
Plsrun
MakePlsrunSymbol(
Plsrun
plsrun)
1879
return (plsrun |
Plsrun
.IsSymbol);
1886
internal static
Plsrun
ToIndex(
Plsrun
plsrun)
1888
return (plsrun &
Plsrun
.UnmaskAll);
1895
internal static bool IsContent(
Plsrun
plsrun)
1898
return plsrun >=
Plsrun
.FormatAnchor;
1925
internal static bool IsNewline (
Plsrun
plsrun)
1927
return plsrun ==
Plsrun
.LineBreak || plsrun ==
Plsrun
.ParaBreak;
1974
LSRun lsrun = GetRun((
Plsrun
)span.element);
1976
if( lsrun.Type ==
Plsrun
.Text
1977
|| lsrun.Type ==
Plsrun
.InlineObject)
2113
Plsrun
plsrun;
2149
lsrun = GetRun((
Plsrun
)rider.CurrentElement);
2152
|| lsrun.Type ==
Plsrun
.InlineObject)
2158
if (lsrun.Type ==
Plsrun
.Text)
2226
|| lsrun.Type ==
Plsrun
.InlineObject)
2232
if (lsrun.Type ==
Plsrun
.Text)