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)
484
Plsrun
plsrun;
497
if (lineLength == prefetchLength && lsrun.Type ==
Plsrun
.Reverse)
895
LSRun lsrun = GetRun((
Plsrun
)sublineInfo[actualSublineCount - 1].plsrun);
1074
LSRun lsrun = GetRun((
Plsrun
)sublineInfo[actualSublineCount - 1].plsrun);
1346
LSRun lsrun = GetRun((
Plsrun
)sublineInfo[actualSublineCount - 1].plsrun);
1395
LSRun run = GetRun((
Plsrun
) plsrunSpanRider.CurrentElement);
1415
LSRun run = GetRun((
Plsrun
) plsrunSpanRider.CurrentElement);
1985
Plsrun
plsrun = (
Plsrun
)plsrunSpanRider.CurrentElement;
1992
if( lsrun.Type ==
Plsrun
.Text
1993
|| lsrun.Type ==
Plsrun
.InlineObject)
2076
TextRun textRun = ((LSRun)GetRun((
Plsrun
)plsrunSpan.element)).TextRun;
2710
offsetToFirstCp = GetRun(((
Plsrun
)plsrunSpanRider.CurrentElement)).OffsetToFirstCp;
2724
Plsrun
plsrun = (
Plsrun
)plsrunSpan.element;
2730
if(plsrun >=
Plsrun
.FormatAnchor)
2742
internal LSRun GetRun(
Plsrun
plsrun)
2755
lsruns[(int)(plsrun -
Plsrun
.FormatAnchor)] :
MS\Internal\TextFormatting\FullTextState.cs (9)
293
Plsrun
plsrun = (
Plsrun
)span.element;
299
if (plsrun >=
Plsrun
.FormatAnchor)
371
Plsrun
plsrun = (
Plsrun
)span.element;
374
if (ccp == ccpCurrent && lsrun.Type ==
Plsrun
.Reverse)
380
lastRunLength = (plsrun >=
Plsrun
.FormatAnchor ? lsrun.Length : 0);
385
&& lsrun.Type !=
Plsrun
.ParaBreak
544
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)
88
Plsrun
plsrun =
Plsrun
.Undefined;
152
case
Plsrun
.Reverse:
156
case
Plsrun
.FormatAnchor:
157
case
Plsrun
.CloseAnchor:
161
case
Plsrun
.InlineObject:
166
case
Plsrun
.Hidden:
171
case
Plsrun
.Text:
213
if ( lsrun.Type ==
Plsrun
.Text
214
|| lsrun.Type ==
Plsrun
.InlineObject)
356
SaveException(e,
Plsrun
.Undefined, null);
361
SaveNonCLSException("FetchPap",
Plsrun
.Undefined, null);
400
SaveException(e,
Plsrun
.Undefined, null);
405
SaveNonCLSException("FetchLineProps",
Plsrun
.Undefined, null);
414
Plsrun
plsrun, // plsrun
461
Plsrun
plsrun, // plsrun
504
if (lsrun.Type ==
Plsrun
.Text)
553
Plsrun
plsrun, // plsrun
597
Plsrun
plsrun =
Plsrun
.Undefined;
660
Plsrun
plsrun, // plsrun
674
!TextStore.IsContent(plsrun) || lsrun.Type ==
Plsrun
.Text || lsrun.Type ==
Plsrun
.InlineObject,
724
Plsrun
plsrun, // plsrun
738
!TextStore.IsContent(plsrun) || lsrun.Type ==
Plsrun
.Text || lsrun.Type ==
Plsrun
.InlineObject,
824
SaveException(e,
Plsrun
.Undefined, null);
829
SaveNonCLSException("Hyphenate",
Plsrun
.Undefined, null);
861
SaveException(e,
Plsrun
.Undefined, null);
866
SaveNonCLSException("GetNextHyphenOpp",
Plsrun
.Undefined, null);
903
SaveException(e,
Plsrun
.Undefined, null);
908
SaveNonCLSException("GetPrevHyphenOpp",
Plsrun
.Undefined, null);
917
Plsrun
plsrun, // plsrun
982
Plsrun
plsrun, // plsrun
1420
Plsrun
plsrun, // plsrun
1493
Plsrun
plsrunFirst, // first run
1494
Plsrun
plsrunSecond, // second run
1528
SaveException(e,
Plsrun
.Undefined, null);
1533
SaveNonCLSException("FInterruptShaping",
Plsrun
.Undefined, null);
1663
SaveException(e, (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1668
SaveNonCLSException("GetGlyphsRedefined", (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1745
SaveException(e, (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1750
SaveNonCLSException("GetGlyphPositions", (
Plsrun
)(plsplsruns[0]), lsrunFirst);
1767
TextStore store = FullText.StoreFrom((
Plsrun
)(*plsplsruns));
1771
Plsrun
plsrun = (
Plsrun
)plsplsruns[i];
1781
Plsrun
plsrun, // plsrun
1881
Plsrun
plsrun =
Plsrun
.Undefined;
1931
Plsrun
plsrun =
Plsrun
.Undefined;
2035
Plsrun
plsrun =
Plsrun
.Undefined;
2162
Plsrun
plsrun =
Plsrun
.Undefined;
2329
SaveException(e,
Plsrun
.Undefined, null);
2334
SaveNonCLSException("GetObjectHandlerInfo",
Plsrun
.Undefined, null);
2342
Plsrun
plsrun, // plsrun
2434
Plsrun
plsrun, // plsrun
2450
Debug.Assert(lsrun.Type ==
Plsrun
.InlineObject);
2589
Plsrun
plsrun, // plsrun
2707
Plsrun
plsrun, // plsrun
2734
if (lsrun.Type ==
Plsrun
.Text)
3160
if (lsrun.Type ==
Plsrun
.Text)
3393
private void SaveException(Exception e,
Plsrun
plsrun, LSRun lsrun)
3399
private void SaveNonCLSException(string methodName,
Plsrun
plsrun, LSRun lsrun)
3409
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)