Word打开并保存文档时发生了什么? [英] What's happening when Word opens and saves a document?

查看:86
本文介绍了Word打开并保存文档时发生了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我的问题非常具体,但我不知道从哪里开始。我有一个开放的xml文档,它由第三方工具生成。如果我使用open xml sdk打开文档,它看起来与我使用Word 2013在
之前打开并保存它时的样子有很大的不同。


我正试图获取关于Word做什么的理解!从我所看到它正在对xml文件进行一些重新构建,因为它看起来非常不同(其他方式比以前更多的后代)并且我想使用open xml实现相同的东西。


虽然这可能已经有很多信息:生成的word文档包含带有图片链接的HTML代码。在Word触摸文件之后,图片在绘图元素内,在它之前没有,但在Word中两个版本看起来都一样。


我很感谢你能给我的任何帮助。


干杯安德烈亚斯




关注Andreas MCPD SharePoint 2010.请记住将您的问题标记为"已回答"/"投票有用"如果这解决/帮助你解决问题。

解决方案

嗨干杯安德烈亚斯,


>> ;如果我使用open xml SDK打开文档,它与我在使用Word 201之前打开并保存它时的样子看起来非常不同


>> Word打开并保存文档时发生了什么?


此论坛正在讨论Open XML开发。这不完全是OpenXML SDK的问题。坦率地说,我不确切知道Word打开了什么并保存了文档(这是产品的实现细节)。


如果你是对此感兴趣,下面的论坛可能更适合您:

https://social.msdn.microsoft.com/Forums/en-US/home?forum=os_binaryfile


> >从我看到它在xml文件上进行一些重新构建,因为它看起来非常不同(其他方式比以前更多的后代)并且我想使用open xml实现相同的功能。


"其他更多后代"是什么意思?你的意思是你想在xml文档中添加新节点吗?在我的选项中,单词中的不同对象具有不同的节点。您可以参考下面的链接,了解有关Word处理的更多信息。


https://msdn.microsoft。 com / EN-US / library / office / cc850833.aspx


如果您遇到有关OpenXML SDK的问题,因为这是一个新问题这与您的原始问题不同,我建议您在此论坛中为新问题发布新帖子。然后会有更多社区成员讨论这个问题。


最好的问候,


爱德华


Hello,

I got very unspecific question, but I don't know where to start. I have an open xml document which gets generated by a third party tool. If I open the document using open xml sdk it looks VERY different from how it looks like when I opened and saved it before using Word 2013.

I'm trying to get an understanding on whats Word doing! From what I've seen it's doing some remodelling on the xml file, since it looks very different (other and way more descendants than before) and I would like to achieve the same thing using open xml.

Although this might be already to much information: The generated word documents contains html code with links to pictures. After Word has touched the file the picture is inside a drawing element, before it's not but in Word both versions look the same.

I'm thankful for any help you can give me.

Cheers Andreas


Regards Andreas MCPD SharePoint 2010. Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.

解决方案

Hi Cheers Andreas,

>> If I open the document using open xml SDK it looks VERY different from how it looks like when I opened and saved it before using Word 201

>> What's happening when Word opens and saves a document?

This forum is discussing about Open XML developing. This is not exactly an OpenXML SDK questions. To be frank, I do not know exactly what Word opens and saves a documents either (this is the implementation details of the product).

If you are interested on it, the forum below might be more appropriate for you:
https://social.msdn.microsoft.com/Forums/en-US/home?forum=os_binaryfile

>> From what I've seen it's doing some remodelling on the xml file, since it looks very different (other and way more descendants than before) and I would like to achieve the same thing using open xml.

What do you mean by "other and way more descendants"? Do you mean that you want to add new nodes in the xml document? In my option, different objects in word have different nodes. You could refer the link below for more information about Word processing.

https://msdn.microsoft.com/EN-US/library/office/cc850833.aspx

If you have issues about OpenXML SDK, since it is a new issue which is different from your original issue, I suggest you post a new thread for the new issue in this forum. Then there would be more community members to discuss the question.

Best Regards,

Edward


这篇关于Word打开并保存文档时发生了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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