我正在开发一个针对 OWA、Outlook 2016 for Mac & Windows 的 Outlook 插件。我的要求是显示加载项垂直位于右侧在阅读和撰写邮件时。对于撰写,它默认显示为所需的,但对于阅读,它是水平显示的,我想垂直显示。简而言之,我喜欢展示我的加载项与 Evernote 加载项完全相同正在显示。
我们将非常感谢您的帮助。以下 OWA 中 Evernote 的屏幕截图是我想要显示的内容,包括图标位置(以红色包围)。
提前致谢。
我使用 YEOMAN Office Generator 制作了这样的垂直插件。使用此链接供参考。yeoman-office-generator 的 GitHub 链接。并在您的manifest.xml文件中进行如下更改:
<?xml version="1.0" encoding="utf-8"?>
<OfficeApp xmlns=
"http://schemas.microsoft.com/office/appforoffice/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="MailApp">
<Id>7856b76d-42c2-4b40-87df-c4bfb706246f</Id>
<Version>1.0</Version>
<ProviderName>Microsoft</ProviderName>
<DefaultLocale>en-us</DefaultLocale>
<DisplayName DefaultValue="Alore MailTracker"/>
<Description DefaultValue="Send and Track your emails.">
<Override Locale="fr-fr" Value="Send and track your emails with Alore Emailtracker."/>
</Description>
<!-- Change the following line to specify -->
<!-- the web serverthat hosts the icon file. -->
<IconUrl DefaultValue="https://localhost:3000/assets/icon-32.png"/>
<Hosts>
<Host Name="Mailbox" />
</Hosts>
<Requirements>
<Sets DefaultMinVersion="1.1">
<Set Name="Mailbox" />
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue="https://localhost:3000/index.html" />
<RequestedHeight>216</RequestedHeight>
</DesktopSettings>
<TabletSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue="https://localhost:3000/index.html" />
<RequestedHeight>216</RequestedHeight>
</TabletSettings>
</Form>
<Form xsi:type="ItemEdit">
<DesktopSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue="https://localhost:3000/index.html" />
</DesktopSettings>
<TabletSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue="https://localhost:3000/index.html" />
</TabletSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="RuleCollection" Mode="And">
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Read" />
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
</Rule>
<Rule xsi:type="ItemHasRegularExpressionMatch"
PropertyName="BodyAsPlaintext" RegExName="VideoURL"
RegExValue="https://localhost:3000/resource.html" />
</Rule>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit" />
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
</Rule>
</Rule>
</OfficeApp>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)