MS Office 中的自定义形状对象
我想为 MS Office 创建一些我们可以在内部使用的自定义形状。
例如,我想创建一个名为“纸箱”的形状,它有三到四个默认位置,用户可以在其中添加一些文本。 它与其他形状相同,或者我想说就像 MS Office 2007 中的形状(线条、流程图、箭头等)。
是否有任何方法可以创建和重用这样的新对象,即使用户没有这些形状工具箱并获取包含这些形状的文档;他应该能够看到它(绝对是只读的)。
背景 - 我是一名 .NET 开发人员,对 .NET 中的 MS Office 开发也知之甚少。
I want to create some custom shapes for MS Office which we can use in house.
For example I want to create a shape named “carton box” which have three – four default places where user can add some text.
It is same as other shapes or I would say just like shapes (line, flowchart, arrow etc) in MS office 2007.
Is there any way to create and reuse such a new objects, also if user don’t have these shape in their toolbox and get a document which includes these shapes; he should be able to see it (defiantly in read only).
Background - I am a .NET developer and also having small knowedge of MS office development in .NET.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,可以创建您自己的自定义 SmartArt。微软并没有很好地宣传该功能,而且实现起来可能不太容易。
您可能需要查看 MSDN 杂志中的以下文章:
此页面提供了一些帮助您入门的免费示例:Loki3 图。
Yes, it is possible to create your own custom SmartArt. The feature is not very well advertised by Microsoft and it is probably not not too easy to do so.
You might want to check out the following article from MSDN Magazine:
Some free samples to get you started are available on this page: Loki3 Diagrams .