閱讀974 返回首頁    go 微軟 go Office


when i upload office add

thanks

i don't know how to solve it

manifest file content have set icon code, for example:


        <!--Each host can have a different set of commands. Cool huh!? -->
        <!-- Workbook=Excel Document=Word Presentation=PowerPoint -->
        <!-- Make sure the hosts you override match the hosts declared in the top section of the manifest -->
        <Host xsi:type="Document">
          <!-- Form factor. Currenly only DesktopFormFactor is supported. We will add TabletFormFactor and PhoneFormFactor in the future-->
          <DesktopFormFactor>

            <!--GetStarted information used on the callout that appears when installing the add-in. 
            Ensure you have build 16.0.6769 or above for GetStarted section to work-->
            <GetStarted>
              <!--Title of the Getting Started callout. resid points to a ShortString resource -->
              <Title res/>

              <!--Description of the Getting Started callout. resid points to a LongString resource -->
              <Description res/>

              <!--Not used right now but you need to provide a valid resource. We will add code in the future to consume this URL. 
resid points to a Url resource -->
              <LearnMoreUrl res/>
            </GetStarted>

            <!--Function file is an html page that includes the javascript where functions for ExecuteAction will be called. 
            Think of the FunctionFile as the "code behind" ExecuteFunction-->
            <FunctionFile res />

            <!--PrimaryCommandSurface==Main Office Ribbon-->
            <ExtensionPoint xsi:type="PrimaryCommandSurface">
              <!--Use OfficeTab to extend an existing Tab. Use CustomTab to create a new tab -->

              <OfficeTab >


                <Group >
                  <!--Label for your group. resid must point to a ShortString resource -->
                  <Label res />
                  <Icon>
                    <!-- Sample Todo: Each size needs its own icon resource or it will look distorted when resized -->
                    <!--Icons. Required sizes 16,31,80, optional 20, 24, 40, 48, 64. Strongly recommended to provide all sizes for great UX -->
                    <!--Use PNG icons and remember that all URLs on the resources section must use HTTPS -->
                    <bt:Image size="16" res />
                    <bt:Image size="32" res />
                    <bt:Image size="80" res />
                  </Icon>

                  <Control xsi:type="Button" >
                    <Label res />
                    <Supertip>
                      <Title res />
                      <Description res />
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" res />
                      <bt:Image size="32" res />
                      <bt:Image size="80" res />
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <TaskpaneId>Button2Id1</TaskpaneId>
                      <!--Provide a url resource id for the location that will be displayed on the task pane -->
                      <SourceLocation res />
                    </Action>
                  </Control>
                </Group>

              </OfficeTab>
                <!-- Label of your tab -->
                <!-- If validating with XSD it needs to be at the end, we might change this before release -->
                <!--<Label res />-->
            </ExtensionPoint>
          </DesktopFormFactor>
        </Host>

 can you help me to solve this problem ,thanks



最後更新:2017-11-03 10:03:31

  上一篇:go 為什麼更新到17025後,係統字體變了,很難看
  下一篇:go win10預覽版,桌麵右下角的的“評估副本”字樣