Esempio n. 1
0
        public void Paragraph()
        {
            CheckDisposed();

            ITsString    tssParas = null;
            ITsTextProps ttpSrc1  = StyleUtils.ParaStyleTextProps("Paragraph");
            ITsTextProps ttpSrc2  = StyleUtils.ParaStyleTextProps("Paragraph");

            VwInsertDiffParaResponse resp = m_draftView.OnInsertDiffParas(
                m_draftView.RootBox, ttpSrc2, 1,
                new ITsTextProps[] { ttpSrc1 }, new ITsString[] { tssParas }, null);

            Assert.AreEqual(VwInsertDiffParaResponse.kidprDefault, resp);
        }