用于自定义 Office 2010 功能区的 XML 架构
我在互联网上看到了很多关于如何向功能区添加按钮或组等的示例,但没有参考 XML 架构文档来准确解释为我自己的自定义功能区编写 XML 的所有选项选项卡和组。有人有这方面的链接吗?
干杯, 戴夫 --Trindaz on Fedang #office-2010-customization
I've seen plenty of examples around the internet on how to add a button or group etc. to the Ribbon, but no reference to an XML Schema document that will explain exactly what all my options are for writing the XML for my own custom ribbon tabs and groups. Does anyone have a link for this?
Cheers,
Dave
--Trindaz on Fedang #office-2010-customization
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
目前还不清楚 Office2010FluentUISchema.exe 在哪里安装架构(在接受 EULA 后,安装程序很快就弹出了一些对话框,以至于我无法阅读它们),因此我通过 Procmon 观察它,发现该架构已安装到顶部 -名为“Office 2010 Developer Resources”的级别目录
C:\Office 2010 Developer Resources\Schemas>md5sum customui14.xsd
e201ed5204216fbe8e84e45c884d2adc *customui14.xsd
~~ 由 Martin Rüegg 编辑(抱歉,我还没有权利发表评论。)
如果您只需要
customui14.xsd
,那么您可以直接解压缩(例如使用 7zip< /a>)Office2010FluentUISchema.exe
(两次),然后就可以了。It was unclear where Office2010FluentUISchema.exe was installing the schema (after accepting the EULA, the installer flashed up some dialogs so quickly that I was unable to read them) so I observed it via Procmon and found that the schema got installed to a top-level directory called 'Office 2010 Developer Resources'
C:\Office 2010 Developer Resources\Schemas>md5sum customui14.xsd
e201ed5204216fbe8e84e45c884d2adc *customui14.xsd
~~ Edit by Martin Rüegg (sorry, I'm not entitled to leave comments yet.)
In case you only need the
customui14.xsd
, then you can just unzip (e.g. with 7zip) theOffice2010FluentUISchema.exe
(twice) and there you are.架构位于此处< /a> 和控件标识符位于 此处。
The schema is here and the control identifiers are here.
http://pschmid.net/office2007/download/customUI.xsd 是我最接近的到目前为止
http://pschmid.net/office2007/download/customUI.xsd is the closest I got so far