예제 #1
0
		public override void InsertAndDeleteParagraphBreak()
		{
			StTxtPara para0 = m_text1.ContentsOA.ParagraphsOS[0] as StTxtPara;
			TextBuilder tb = new TextBuilder(m_rtp.TextBuilder);
			tb.SelectNode(para0, 1);
			XmlNode newParaNodeAfterInsert = tb.InsertParagraphBreak(para0, tb.SelectedNode);
			m_rtp.AddResultingAnnotationState(newParaNodeAfterInsert);
			tb.DeleteParagraphBreak(para0);
			tb.SelectNode(para0, 1);
			XmlNode paraNodeAfterEdit = tb.SelectedNode;
			m_rtp.AddResultingAnnotationState(paraNodeAfterEdit);

			base.InsertAndDeleteParagraphBreak();
		}