用openxml插入图片后无法打开docx。部分问题:/word/document.xml,行:0,列:0 [英] cannot open docx after inserting picture with openxml. problem with part:/word/document.xml, Line:0,Column:0

查看:465
本文介绍了用openxml插入图片后无法打开docx。部分问题:/word/document.xml,行:0,列:0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

https://social.technet.microsoft.com/论坛/办公室/ en-US / 95465d78-38fd-4c78-996a-2526d0119055 /因为我们发现了一个问题 - 其内容 - partworddocumentxml65292-line0column0?forum = officeitpro

https://docs.microsoft.com/en-us/previous-versions/office/developer/office-2010/cc819544(v = office.14 )

https://docs.microsoft.com/en-us/previous-versions/office/developer/office-2010/cc819544(v=office.14)

表示rsidRoot指定了FIRST编辑会话。我的以下屏幕截图是工作docx和"currupt"的比较。 docx都来自同一个dotx。看起来rsidRoot指向最后一个(我的意思是最近的)
编辑会话。 

says that rsidRoot specifies the FIRST editing session. The following screenshot from me is the compare of a working docx and a "currupt" docx both originate from the same dotx. It looks like the rsidRoot point to the LAST (I mean most recent) editing session. 






左边来自工作docx和右边它来自"currupt",它表示rsid的顺序无关紧要,但是工作的那个在列表的最后有最新的。那么,这个订单重要吗?或者它只是rsid
HexBinaryValue的序数值而不是它在列表中的位置无关紧要?


the left is from the working docx and the right is from the "currupt", its said that the order of rsid does not matter, but the working one has the most recent at the end of the list. So, does this order matter? or it's just the ordinal value of rsid HexBinaryValue instead of its position in the list that does not matter?

我只是在zip包中创建一个PNG文件,创建关系,并插入由openxml生产力工具生成的RUN。但是当比较"工作"时doc"腐败"的文档doc,我看到很多与图片无关的差异。
当我查看部分时,我看到它只是w14:paraId改变了。为什么这个paraId会不断变化?

And I just create a PNG file in the zip package, create relationship, and insert the RUN generated by openxml productivity tools. but when comparing "working" doc with "corrupt" doc, I see so many difference not related to the picture. when I viewpartdiff, I see its just w14:paraId changed. Why this paraId change constently?

推荐答案

嗨GuYuming, 

Hi GuYuming, 

感谢您在Word文档中提出有关rsidRoot的问题。其中一个开放规范团队将回复为您提供帮助。请注意,虽然我们不尝试解释损坏的文档,但我们可以解释Word如何处理Office Open XML元素。我们将b $ b专注于您在此处提出的rsidRoot问题。 

Thanks for your question about rsidRoot in the Word document. One of the Open Specifications team will reply to assist you. Just a note, that while we do not try to explain corrupt documents, we can explain how Word treats Office Open XML elements. We will focus on the rsidRoot question you have asked here. 


这篇关于用openxml插入图片后无法打开docx。部分问题:/word/document.xml,行:0,列:0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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