Esempio n. 1
0
        public override TextRun GetSubRun(int startIndex, int length)
        {
            if (length == base.m_text.Length)
            {
                return(this);
            }
            if (startIndex > 0)
            {
                base.m_textRunProps.AddSplitIndex(startIndex);
            }
            PlaceholderTextRun placeholderTextRun = new PlaceholderTextRun(base.m_text.Substring(startIndex, length), this);

            placeholderTextRun.CharacterIndexInOriginal = startIndex;
            return(placeholderTextRun);
        }
Esempio n. 2
0
 public PlaceholderTextRun(string text, PlaceholderTextRun textRun, SCRIPT_LOGATTR[] scriptLogAttr)
     : base(text, textRun, scriptLogAttr)
 {
     this.m_placeholderBorderColor = textRun.PlaceholderBorderColor;
 }
Esempio n. 3
0
 public PlaceholderTextRun(string text, PlaceholderTextRun textRun)
     : base(text, textRun)
 {
     this.m_placeholderBorderColor = textRun.PlaceholderBorderColor;
 }