208 references to Plsrun
PresentationCore (208)
MS\Internal\TextFormatting\FormatSettings.cs (5)
195
case
Plsrun
.Text:
208
case
Plsrun
.InlineObject:
216
case
Plsrun
.LineBreak:
229
case
Plsrun
.ParaBreak:
242
case
Plsrun
.Hidden:
MS\Internal\TextFormatting\FullTextLine.cs (18)
486
Plsrun
plsrun;
499
if (lineLength == prefetchLength && lsrun.Type ==
Plsrun
.Reverse)
897
LSRun lsrun = GetRun((
Plsrun
)sublineInfo[actualSublineCount - 1].plsrun);
1076
LSRun lsrun = GetRun((
Plsrun
)sublineInfo[actualSublineCount - 1].plsrun);
1348
LSRun lsrun = GetRun((
Plsrun
)sublineInfo[actualSublineCount - 1].plsrun);
1397
LSRun run = GetRun((
Plsrun
) plsrunSpanRider.CurrentElement);
1417
LSRun run = GetRun((
Plsrun
) plsrunSpanRider.CurrentElement);
1987
Plsrun
plsrun = (
Plsrun
)plsrunSpanRider.CurrentElement;
1994
if( lsrun.Type ==
Plsrun
.Text
1995
|| lsrun.Type ==
Plsrun
.InlineObject)
2078
TextRun textRun = ((LSRun)GetRun((
Plsrun
)plsrunSpan.element)).TextRun;
2712
offsetToFirstCp = GetRun(((
Plsrun
)plsrunSpanRider.CurrentElement)).OffsetToFirstCp;
2726
Plsrun
plsrun = (
Plsrun
)plsrunSpan.element;
2732
if(plsrun >=
Plsrun
.FormatAnchor)
2744
internal LSRun GetRun(
Plsrun
plsrun)
2757
lsruns[(int)(plsrun -
Plsrun
.FormatAnchor)] :
MS\Internal\TextFormatting\FullTextState.cs (9)
295
Plsrun
plsrun = (
Plsrun
)span.element;
301
if (plsrun >=
Plsrun
.FormatAnchor)
373
Plsrun
plsrun = (
Plsrun
)span.element;
376
if (ccp == ccpCurrent && lsrun.Type ==
Plsrun
.Reverse)
382
lastRunLength = (plsrun >=
Plsrun
.FormatAnchor ? lsrun.Length : 0);
387
&& lsrun.Type !=
Plsrun
.ParaBreak
546
internal TextStore StoreFrom(
Plsrun
plsrun)
MS\Internal\TextFormatting\LineServices.cs (18)
67
Plsrun
plsrun,
75
Plsrun
plsrun,
88
Plsrun
plsrun,
95
Plsrun
plsrun,
111
Plsrun
firstPlsrun,
112
Plsrun
secondPlsrun,
119
Plsrun
plsrun,
127
Plsrun
plsrun,
178
Plsrun
plsrun,
190
Plsrun
plsrun,
238
Plsrun
plsrun,
260
Plsrun
plsrun,
284
Plsrun
plsrun,
359
Plsrun
plsrun, // plsrun
372
Plsrun
plsrun, // plsrun
1222
public
Plsrun
plsrun;
1235
public
Plsrun
plsrun;
1259
public
Plsrun
plsrun;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (67)
77
Plsrun
plsrun =
Plsrun
.Undefined;
141
case
Plsrun
.Reverse:
145
case
Plsrun
.FormatAnchor:
146
case
Plsrun
.CloseAnchor:
150
case
Plsrun
.InlineObject:
155
case
Plsrun
.Hidden:
160
case
Plsrun
.Text:
202
if ( lsrun.Type ==
Plsrun
.Text
203
|| lsrun.Type ==
Plsrun
.InlineObject)
345
SaveException(e,
Plsrun
.Undefined, null);
350
SaveNonCLSException("FetchPap",
Plsrun
.Undefined, null);
389
SaveException(e,
Plsrun
.Undefined, null);
394
SaveNonCLSException("FetchLineProps",
Plsrun
.Undefined, null);
403
Plsrun
plsrun, // plsrun
450
Plsrun
plsrun, // plsrun
493
if (lsrun.Type ==
Plsrun
.Text)
542
Plsrun
plsrun, // plsrun
586
Plsrun
plsrun =
Plsrun
.Undefined;
651
Plsrun
plsrun, // plsrun
665
!TextStore.IsContent(plsrun) || lsrun.Type ==
Plsrun
.Text || lsrun.Type ==
Plsrun
.InlineObject,
715
Plsrun
plsrun, // plsrun
729
!TextStore.IsContent(plsrun) || lsrun.Type ==
Plsrun
.Text || lsrun.Type ==
Plsrun
.InlineObject,
815
SaveException(e,
Plsrun
.Undefined, null);
820
SaveNonCLSException("Hyphenate",
Plsrun
.Undefined, null);
852
SaveException(e,
Plsrun
.Undefined, null);
857
SaveNonCLSException("GetNextHyphenOpp",
Plsrun
.Undefined, null);
894
SaveException(e,
Plsrun
.Undefined, null);
899
SaveNonCLSException("GetPrevHyphenOpp",
Plsrun
.Undefined, null);
908
Plsrun
plsrun, // plsrun
973
Plsrun
plsrun, // plsrun
1411
Plsrun
plsrun, // plsrun
1484
Plsrun
plsrunFirst, // first run
1485
Plsrun
plsrunSecond, // second run
1519
SaveException(e,
Plsrun
.Undefined, null);
1524
SaveNonCLSException("FInterruptShaping",
Plsrun
.Undefined, null);
1654
SaveException(e, (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1659
SaveNonCLSException("GetGlyphsRedefined", (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1736
SaveException(e, (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1741
SaveNonCLSException("GetGlyphPositions", (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1758
TextStore store = FullText.StoreFrom((
Plsrun
)(*plsplsruns));
1762
Plsrun
plsrun = (
Plsrun
)plsplsruns[i];
1772
Plsrun
plsrun, // plsrun
1872
Plsrun
plsrun =
Plsrun
.Undefined;
1922
Plsrun
plsrun =
Plsrun
.Undefined;
2026
Plsrun
plsrun =
Plsrun
.Undefined;
2153
Plsrun
plsrun =
Plsrun
.Undefined;
2322
SaveException(e,
Plsrun
.Undefined, null);
2327
SaveNonCLSException("GetObjectHandlerInfo",
Plsrun
.Undefined, null);
2335
Plsrun
plsrun, // plsrun
2429
Plsrun
plsrun, // plsrun
2445
Debug.Assert(lsrun.Type ==
Plsrun
.InlineObject);
2584
Plsrun
plsrun, // plsrun
2702
Plsrun
plsrun, // plsrun
2729
if (lsrun.Type ==
Plsrun
.Text)
3155
if (lsrun.Type ==
Plsrun
.Text)
3388
private void SaveException(Exception e,
Plsrun
plsrun, LSRun lsrun)
3394
private void SaveNonCLSException(string methodName,
Plsrun
plsrun, LSRun lsrun)
3404
public ExceptionContext(object innerContext, string stackTraceOrMethodName,
Plsrun
plsrun, LSRun lsrun)
MS\Internal\TextFormatting\LineServicesRun.cs (11)
19
private
Plsrun
_type; // Plsrun used as run type
39
Plsrun
type,
72
Plsrun
type,
103
Plsrun
type,
128
Plsrun
type,
165
return _type ==
Plsrun
.Text;
176
return (_type ==
Plsrun
.Text || _type ==
Plsrun
.InlineObject);
187
return (_type ==
Plsrun
.LineBreak || _type ==
Plsrun
.ParaBreak);
469
internal
Plsrun
Type
MS\Internal\TextFormatting\TextProperties.cs (9)
177
private
Plsrun
_plsrun;
202
Plsrun
lsRunType,
355
internal
Plsrun
Plsrun
397
internal static
Plsrun
GetRunType(TextRun textRun)
400
return
Plsrun
.Text;
403
return
Plsrun
.InlineObject;
406
return
Plsrun
.ParaBreak;
409
return
Plsrun
.LineBreak;
412
return
Plsrun
.Hidden;
MS\Internal\TextFormatting\TextRunCacheImp.cs (5)
109
Plsrun
plsrun = TextRunInfo.GetRunType(textRun);
111
if (plsrun ==
Plsrun
.Text || plsrun ==
Plsrun
.InlineObject)
197
if (TextRunInfo.GetRunType(textRun) ==
Plsrun
.Text)
286
if ( TextRunInfo.GetRunType(run) ==
Plsrun
.Text
MS\Internal\TextFormatting\TextStore.cs (66)
82
ControlRuns[0] = new LSRun(
Plsrun
.CloseAnchor, esc.szObjectTerminator);
83
ControlRuns[1] = new LSRun(
Plsrun
.Reverse, esc.szObjectReplacement);
84
ControlRuns[2] = new LSRun(
Plsrun
.FakeLineBreak, esc.szLineSeparator);
147
out
Plsrun
plsrun,
380
_plsrunVectorLatestPosition = _plsrunVector.SetValue(_lscchUpTo, 1,
Plsrun
.FakeLineBreak, _plsrunVectorLatestPosition);
414
Plsrun
runType = TextRunInfo.GetRunType(textRun);
416
if (runType ==
Plsrun
.Text)
678
Plsrun
.LineBreak, // LineBreak run
698
Plsrun
.ParaBreak, // parabreak run
737
out
Plsrun
plsrun,
746
plsrun = (
Plsrun
)rider.CurrentElement;
749
if (plsrun <
Plsrun
.FormatAnchor)
756
lsrun = (LSRun)_lsrunList[(int)(ToIndex(plsrun) -
Plsrun
.FormatAnchor)];
784
return GetRun((
Plsrun
)rider.CurrentElement).BidiLevel;
935
if ( currentRunInfo.Plsrun ==
Plsrun
.Hidden &&
1062
Plsrun
plsrun = (
Plsrun
)span.element;
1065
if (plsrun >=
Plsrun
.FormatAnchor)
1077
if (lsrun.Type ==
Plsrun
.Text && cp + lsrun.Length > cpLimit)
1089
_plsrunVectorLatestPosition = _plsrunVector.SetValue(_lscchUpTo, 1,
Plsrun
.FakeLineBreak, _plsrunVectorLatestPosition);
1125
if (runInfo.Plsrun ==
Plsrun
.Text && !IsNewline((ushort)runInfo.CharacterAttributeFlags))
1452
Plsrun
plsrun;
1458
plsrun =
Plsrun
.Reverse;
1463
plsrun =
Plsrun
.CloseAnchor;
1509
case
Plsrun
.Text:
1520
Plsrun
.FormatAnchor,
1552
case
Plsrun
.InlineObject:
1561
Plsrun
.InlineObject,
1577
case
Plsrun
.LineBreak:
1595
case
Plsrun
.ParaBreak:
1609
case
Plsrun
.Hidden:
1616
Plsrun
.Hidden,
1716
Plsrun
.Text,
1778
private
Plsrun
AddLSRun(LSRun lsrun)
1780
if(lsrun.Type <
Plsrun
.FormatAnchor)
1785
Plsrun
plsrun = (
Plsrun
)((uint)_lsrunList.Count +
Plsrun
.FormatAnchor);
1813
return GetRun((
Plsrun
)rider.CurrentElement).OffsetToFirstCp +
1821
internal LSRun GetRun(
Plsrun
plsrun)
1827
_lsrunList[(int)(plsrun -
Plsrun
.FormatAnchor)] :
1836
internal static bool IsMarker(
Plsrun
plsrun)
1838
return (plsrun &
Plsrun
.IsMarker) != 0;
1845
internal static
Plsrun
MakePlsrunMarker(
Plsrun
plsrun)
1847
return (plsrun |
Plsrun
.IsMarker);
1854
internal static
Plsrun
MakePlsrunSymbol(
Plsrun
plsrun)
1856
return (plsrun |
Plsrun
.IsSymbol);
1863
internal static
Plsrun
ToIndex(
Plsrun
plsrun)
1865
return (plsrun &
Plsrun
.UnmaskAll);
1872
internal static bool IsContent(
Plsrun
plsrun)
1875
return plsrun >=
Plsrun
.FormatAnchor;
1902
internal static bool IsNewline (
Plsrun
plsrun)
1904
return plsrun ==
Plsrun
.LineBreak || plsrun ==
Plsrun
.ParaBreak;
1951
LSRun lsrun = GetRun((
Plsrun
)span.element);
1953
if( lsrun.Type ==
Plsrun
.Text
1954
|| lsrun.Type ==
Plsrun
.InlineObject)
2090
Plsrun
plsrun;
2126
lsrun = GetRun((
Plsrun
)rider.CurrentElement);
2129
|| lsrun.Type ==
Plsrun
.InlineObject)
2135
if (lsrun.Type ==
Plsrun
.Text)
2202
|| lsrun.Type ==
Plsrun
.InlineObject)
2208
if (lsrun.Type ==
Plsrun
.Text)