예제 #1
0
        public void TestType()
        {
            CT_Style  ctStyle = new CT_Style();
            XWPFStyle style   = new XWPFStyle(ctStyle);

            style.SetType(ST_StyleType.paragraph);
            Assert.AreEqual(ST_StyleType.paragraph, style.GetStyleType());
        }
예제 #2
0
파일: TestXWPFStyles.cs 프로젝트: WPG/npoi
        public void TestType()
        {
            CT_Style ctStyle = new CT_Style();
            XWPFStyle style = new XWPFStyle(ctStyle);

            style.SetType(ST_StyleType.paragraph);
            Assert.AreEqual(ST_StyleType.paragraph, style.GetStyleType());
        }