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