Skip to content

Nicheung #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 18 additions & 14 deletions addins/ShortcutSample/ShortcutSample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<Description DefaultValue="Shortcut Sample" />

<!-- Icon for your add-in. Used on installation screens and the add-ins dialog. -->
<IconUrl DefaultValue="http://officedev.github.io/custom-functions/addins/ShortcutSample/Images/Button32x32.png" />
<IconUrl DefaultValue="https://officedev.github.io/custom-functions/addins/ShortcutSample/Images/Button32x32.png" />
<!--End Basic Settings. -->
<!--Begin TaskPane Mode integration. This section is used if there are no VersionOverrides or if the Office client version does not support add-in commands. -->
<Hosts>
Expand All @@ -37,7 +37,7 @@
</Sets>
</Requirements>
<DefaultSettings>
<SourceLocation DefaultValue="http://officedev.github.io/custom-functions/addins/ShortcutSample/shortcutSample.html" />
<SourceLocation DefaultValue="https://officedev.github.io/custom-functions/addins/ShortcutSample/shortcutSample.html" />
</DefaultSettings>
<!-- End TaskPane Mode integration. -->

Expand Down Expand Up @@ -70,12 +70,16 @@
<LearnMoreUrl resid="OEP.GetStarted.LearnMoreUrl" />
</GetStarted>

<!-- PrimaryCommandSurface is the main Office Ribbon. -->
<ExtensionPoint xsi:type="PrimaryCommandSurface">
<!-- Use OfficeTab to extend an existing Tab. Use CustomTab to create a new tab. -->
<OfficeTab id="TabHome">
<!-- Ensure you provide a unique id for the group. Recommendation for any IDs is to namespace using your company name. -->
<Group id="OEP.Group1">
<!-- Function file is a HTML page that includes the JavaScript where functions for ExecuteAction will be called.
Think of the FunctionFile as the code behind ExecuteFunction. -->
<FunctionFile resid="OEP.SharedRuntime.Url" />

<!-- PrimaryCommandSurface is the main Office Ribbon. -->
<ExtensionPoint xsi:type="PrimaryCommandSurface">
<!-- Use OfficeTab to extend an existing Tab. Use CustomTab to create a new tab. -->
<OfficeTab id="TabHome">
<!-- Ensure you provide a unique id for the group. Recommendation for any IDs is to namespace using your company name. -->
<Group id="OEP.Group1">
<!-- Label for your group. resid must point to a ShortString resource. -->
<Label resid="OEP.Group1Label" />
<!-- Icons. Required sizes 16,32,80, optional 20, 24, 40, 48, 64. Strongly recommended to provide all sizes for great UX. -->
Expand Down Expand Up @@ -117,12 +121,12 @@
<!-- You can use resources across hosts and form factors. -->
<Resources>
<bt:Images>
<bt:Image id="OEP.tpicon_16x16" DefaultValue="http://officedev.github.io/custom-functions/addins/ShortcutSample/images/Button16x16.png" />
<bt:Image id="OEP.tpicon_32x32" DefaultValue="http://officedev.github.io/custom-functions/addins/ShortcutSample/images/Button32x32.png" />
<bt:Image id="OEP.tpicon_80x80" DefaultValue="http://officedev.github.io/custom-functions/addins/ShortcutSample/images/Button80x80.png" />
<bt:Image id="OEP.tpicon_16x16" DefaultValue="https://officedev.github.io/custom-functions/addins/ShortcutSample/images/Button16x16.png" />
<bt:Image id="OEP.tpicon_32x32" DefaultValue="https://officedev.github.io/custom-functions/addins/ShortcutSample/images/Button32x32.png" />
<bt:Image id="OEP.tpicon_80x80" DefaultValue="https://officedev.github.io/custom-functions/addins/ShortcutSample/images/Button80x80.png" />
</bt:Images>
<bt:Urls>
<bt:Url id="OEP.SharedRuntime.Url" DefaultValue="http://officedev.github.io/custom-functions/addins/ShortcutSample/shortcutSample.html" />
<bt:Url id="OEP.SharedRuntime.Url" DefaultValue="https://officedev.github.io/custom-functions/addins/ShortcutSample/shortcutSample.html" />
<bt:Url id="OEP.GetStarted.LearnMoreUrl" DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812" />
</bt:Urls>
<!-- ShortStrings max characters==125. -->
Expand All @@ -139,6 +143,6 @@
</Resources>
</VersionOverrides>
<!-- End Add-in Commands Mode integration. -->
<ExtendedOverridesUrl DefaultValue="http://officedev.github.io/custom-functions/addins/ShortcutSample/shortcuts.json"></ExtendedOverridesUrl>
<ExtendedOverridesUrl DefaultValue="https://officedev.github.io/custom-functions/addins/ShortcutSample/shortcuts.json"></ExtendedOverridesUrl>
<!-- End Add-in Commands Mode integration. -->
</OfficeApp>
</OfficeApp>
2 changes: 1 addition & 1 deletion addins/ShortcutSample/shortcutSample.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Expires" content="0" />
<title>Shortcut Sample</title>
<script src="https://appsforoffice.edog.officeapps.live.com/lib/1.1/hosted/office.debug.js" type="text/javascript"></script>
<script src="https://unpkg.com/@microsoft/office-js@1.1.39-custom.51/dist/office.js" type="text/javascript"></script>
<script src="shortcuts.js" type="text/javascript"></script>
</head>
<body>
Expand Down