使用< w:altchunk>的问题表格中的元素< w:tc> word2007的元素 [英] Issue with using <w:altchunk> element in table <w:tc> element for word2007

查看:242
本文介绍了使用< w:altchunk>的问题表格中的元素< w:tc> word2007的元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用< w:altchunk>表格中的元素< w:tc> document.xml中的元素。但我得到了未指明的错误。我们可以把< w:altchunk>在< w:tc>元素与表。我正在使用以下代码。

< w:tc >

 < w:tcPr >

 < w:tcW
w:w = " 1237 "
w:类型 = " dxa " />

 <w:tcW w:w="1237" w:type="dxa"/>

 < / w:tcPr >

 < w:altChunk
r:id = " rId88 " />

 <w:altChunk r:id="rId88"/>

< / w:tc>

当我放置这样的标签时。

< w:tc >

  < w:tcPr >

  < w:tcW
w:w = " 1237 "
w:类型 = " dxa " />

 <w:tcW w:w="1237" w:type="dxa"/>

 < / w:tcPr >

 </w:tcPr>

< w:p>

< w:r>

< w:t>

 < w:altChunk
r:id = " rId88 " />

 <w:altChunk r:id="rId88"/>

< / w:t>

< / w:r>

< / w:p>

< / w:tc >

</w:tc>

它工作正常,但最后生成额外的段落(

It works fine but generating extra paragraph at the end (

< w:p
w:rsidR = " 006C6CE9 "
w:rsidRDefault = " 006C6CE9 " / >)
这使我的表格列更大,看起来不太好。

<w:p w:rsidR="006C6CE9" w:rsidRDefault="006C6CE9"/>) which makes my table column hieght larger which does not look nice.

请告诉我我可以为此错误做些什么或如何使用altchuck以便不会出现额外的段落。

推荐答案

您好,

您是如何添加元素的?您能告诉我一些代码吗?我将对此问题进行更多研究。

How did you add the element? Could you show me some code? I will do more research about this problem.

看看这些文章:

http://blogs.msdn.com/b/ericwhite/archive/2008/ 10/27 / how-to-use-altchunk-for-document-assembly.aspx

http://blogs.msdn.com/b/ericwhite/archive/2009/04/19/ compare-of-altchunk-to-documentbuilder-class.aspx

http://msdn.microsoft.co m / en-us / library / documentformat.openxml.wordprocessing.altchunk.aspx

希望这些可以帮到你。

问候,

 


这篇关于使用&lt; w:altchunk&gt;的问题表格中的元素&lt; w:tc&gt; word2007的元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆