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