苹果简报加载项? [英] Mac Powerpoint addins?

查看:193
本文介绍了苹果简报加载项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我们有一个DLL的Windows简报插件用C#编写。

Currently we have a DLL Windows Powerpoint addin written in C#.

反正有翻译成简报Mac版?显然,DLL不Mac上存在,因此这将是一个替代?我会什么编程语言来写的?有没有办法自动转换?

Is there anyway to translate that into the Mac version of Powerpoint? Obviously DLL doesn't exist on Macs, so what would be an alternative? What programming language would I have to write it in? is there a way to automatically convert?

感谢您

推荐答案

无需AppleScript的。

No need for AppleScript.

办公室2011年Mac的出已经,并且不支持VBA(因此插件)再次超过早先VBA支持一些不错的改进,在提供2008年之前的版本的Mac Office软件。

Office 2011 for Mac is out already, and does support VBA (and hence add-ins) once again, with some nice improvements over the earlier VBA support that was offered in pre-2008 versions of Mac Office.

也许是最简单的事情将是从C#转换为VBA和得到它的工作在Windows中。

Probably the simplest thing will be to translate from C# to VBA and get it working on a Windows box.

在理论上,你可以写在PC上加载项和Mac上安装它们,但是这是一个糟糕的理论。关闭,但没有雪茄。

In theory, you can write add-ins on a PC and install them on Mac but that's a lousy theory. Close, but no cigar.

然而,这是一个更容易写的东西在PC上,得到它的调试,然后将其移动到Mac进行进一步的测试和调试。

However, it's a lot easier to write the stuff on a PC, get it debugged, then move it to the Mac for further testing and debugging.

兼容性好了很多,比以往任何时候都过去,但仍有不足之处很多,如果你已经习惯了Windows的VB / VBA的IDE, Mac版本都会让你着迷。

Compatibility is a lot better than it's ever been in the past but still leaves a lot to be desired, and if you're used to the Windows VB/VBA IDEs, the Mac version will make you crazy.

您会想假设所有的对话框都需要在Mac上被重写。从Windows版本的VBA工作Dlgs,但看起来像狗的Mac上的早餐。在你的对话框出口任何代码模块或文本文件,重新创建在Mac上的对话框中,然后把该代码回。

You'll want to assume that all dialog boxes will need to be rewritten on the Mac. Dlgs from the Windows VBA versions work, but look like dog's breakfast on the Mac. Export any code in your dialogs as modules or text files, re-create the dialog on the Mac, then bring the code back in.

显然,你不能包括任何赢API代码,并期待它在Mac上工作,会有一些VBA的命令工作方式的差异。

Obviously, you can't include any Win API code and expect it to work on the Mac, and there will be differences in the way some of the VBA commands work.

我没有在2011年测试了这个,但在以前的版本中,你可以调用的AppleScript做的事情,你会使用WinAPI的要求在Windows中,文件对话框和这样的。

I haven't tested this in 2011 but in previous versions, you could call AppleScript to do things that you'd use WinAPI calls for on a Windows box, file dialogs and such.

这篇关于苹果简报加载项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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