是否可以从Word上的任务窗格应用程序在线访问基础XML?我可以在桌面Word中使用getNamesoaceAsync
或getXmlAsync
等函数,但在线Word总是抛出错误代码6000 - 找不到这样的节点。
答案 0 :(得分:1)
That's correct. CustomXmlPart.getXmlAsync()
and CustomXmlPrefixMappings.getNamespaceAsync()
are not available in Office Online (in browser).
However, other calls are available such as Document.getSelectedDataAsync()
, which can be called with a coercionType
of Office.CoercionType.Ooxml
to retrieve OOXML.