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