Пример #1
0
 internal Paragraph(PAPX papx, Range parent)
     : base(Math.Max(parent._start, papx.Start), Math.Min(parent._end, papx.End), parent)
 {
     _props = papx.GetParagraphProperties(_doc.GetStyleSheet());
     _papx  = papx.GetSprmBuf();
     _istd  = papx.GetIstd();
 }
Пример #2
0
        internal Paragraph(int startIdx, int endIdx, Table parent)
            : base(startIdx, endIdx, parent)
        {
            InitAll();
            PAPX papx = (PAPX)_paragraphs[_parEnd - 1];

            _props = papx.GetParagraphProperties(_doc.GetStyleSheet());
            _papx  = papx.GetSprmBuf();
            _istd  = papx.GetIstd();
        }