缺少XML“单词”和“TotalTime”使用“Word Web App”编辑后的属性 [英] Missing XML "Words" and "TotalTime" properties after editing with "Word Web App"

查看:55
本文介绍了缺少XML“单词”和“TotalTime”使用“Word Web App”编辑后的属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发现使用"Word Web App"编辑文档后,文档中现在缺少某些扩展属性。

I just discovered that some of the extended properties are now missing in documents after editing them using "Word Web App".

以前在编辑时正确维护这些属性使用SkyDrive / Word Web App界面。 最近使用Web界面编辑word文档会从架构中删除多个属性。 这已经在Windows 8上使用IE10和Chrome
以及在Ubuntu上使用Firefox进行了测试。

Previously these properties were correctly maintained while editing using the SkyDrive/Word Web App interface.  Recently editing a word doc using the web interface removes several properties from the schema.  This has been tested using IE10 and Chrome on Windows 8, and Firefox on Ubuntu.

使用SDK访问扩展属性,如下所示:

The extended properties are accessed using the SDK as follows:

   string sWords = pWordDoc.ExtendedFilePropertiesPart.Properties.Words;

   stringsWords = pWordDoc.ExtendedFilePropertiesPart.Properties.Words;

   string sTotalTime = pWordDoc.ExtendedFilePropertiesPart.Properties.TotalTime;

   stringsTotalTime = pWordDoc.ExtendedFilePropertiesPart.Properties.TotalTime;

这些功能通常应该有效,但是现在在网上编辑后它们会因为缺少属性而失败。 

These functions should normally work, however after editing on the web now they fail because the properties are missing. 

以下是使用桌面Word编辑的文档中的两个app.xml内容示例,以及使用Word Web App编辑后的一个示例。 同样,在Web上编辑后,XML仍然保持正确。

Here are two samples of the app.xml contents from a document edited using desktop Word, and one after editing using Word Web App.  Again, the XML used to stay correct after editing on the web.

正确工作的Word文档中的XML位于文档中的docProps / app.xml文件中:

The XML in a correctly working Word document is in the docProps/app.xml file inside the document:

这是使用"Word Web App"编辑后,文档中的docProps / app.xml:

And here is the docProps/app.xml from a document after editing with "Word Web App":

 现在缺少几个属性。 

 Several properties are now missing. 

有人可以解释这些属性发生了什么,因为我们正在使用它们,现在它们已经消失了。

Can someone explain what has happened to the properties because we were using them and now they are gone.

谢谢,

约翰

推荐答案

约翰

你的问题在这个论坛(或MSDN)上并不是真正的主题,虽然我可以理解为什么你会在这里问:-)但是这个论坛真的只涵盖Open XML SDK,而不是Office应用程序(无论是桌面应用程序还是Web应用程序)对Office
文档的内容执行操作: - )

Your question isn't really on-topic in this forum (or on MSDN), although I can understand why you'd ask it here :-) But this forum really only covers the Open XML SDK, not what the Office applications (whether desktop or webapp) do to the content of an Office document :-)

问题是,确实没有任何地方可以报告此类错误。最接近的是最终用户论坛:

The problem is that there really isn't any place to report bugs like this. Closest would be the end-user forums:

http:// answers.microsoft.com/en-us/office/forum/word

如果你很幸运,那里的工作人员会发现重力 问题,可以升级到内部数据库。确切地知道Web应用程序的哪个版本导致问题也很重要 - 但我不确定如何判断... b / b确定...

If you're lucky, the staff there will realize the gravity  of the issue and can escalate to the internal databases. It would also be important to know exactly which version of the web app is causing the problem - but I'm not sure how one goes about determining that...


这篇关于缺少XML“单词”和“TotalTime”使用“Word Web App”编辑后的属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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