1
我在Open Xml表示中生成Word文檔段落(由Open xml生成 - sdk2.0)。現在我想要在Rich Text框或DsoFramer(應用程序內部的任何內容)中顯示基於段落的Open xml表示,而不更改原始文檔中包含的原始樣式。我該怎麼做?如何顯示使用C#.net4.0 Windows窗體應用程序將Word文檔的開放式xml表示形式轉換爲富文本框或dsoframer?
例如,Word段落的開放XML表示:
<w:document>
<w:body>
<w:p w:rsidR="00B4789C" w:rsidRDefault="00B74039" w:rsidP="008F51E0" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<w:pPr>
<w:pStyle w:val="Heading1" />
</w:pPr>
<w:proofErr w:type="gramStart" />
<w:r>
<w:t>5.</w:t>
</w:r>
<w:r w:rsidR="00B4789C" w:rsidRPr="007B7F81">
<w:t>DISPUTE</w:t>
</w:r>
<w:proofErr w:type="gramEnd" />
<w:r w:rsidR="00B4789C" w:rsidRPr="007B7F81">
<w:t xml:space="preserve"> AND SETTLEMENT, APPLICABLE LAW AND JURISDICTION</w:t>
</w:r>
</w:p>
<w:sectPr w:rsidR="003457CF" w:rsidRPr="00417420" w:rsidSect="003457CF"><w:pgSz w:w="12240" w:h="15840"/>
<w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="720" w:footer="720" w:gutter="0"/>
<w:cols w:space="720"/><w:docGrid w:linePitch="360"/></w:sectPr>
</w:body>
</w:document>
請指引我走出這個問題...?