All Projects → OfficeDev → Generator Office

OfficeDev / Generator Office

Licence: mit
Yeoman generator for building Microsoft Office related projects.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Generator Office

Generator Teams
A Yeoman Generator for Microsoft Teams
Stars: ✭ 246 (-53.23%)
Mutual labels:  office, yeoman-generator
Franz
Franz is a free messaging app for services like WhatsApp, Slack, Messenger and many more.
Stars: ✭ 4,088 (+677.19%)
Mutual labels:  office
generator-elm-app
A generator for generating basic template of Elm app with routing.
Stars: ✭ 16 (-96.96%)
Mutual labels:  yeoman-generator
Pcodedmp
A VBA p-code disassembler
Stars: ✭ 329 (-37.45%)
Mutual labels:  office
Docx2tex
Converts Microsoft Word docx to LaTeX
Stars: ✭ 271 (-48.48%)
Mutual labels:  office
Generator Sails Rest Api
Yeoman generator for scaffolding Sails REST API with predefined features
Stars: ✭ 336 (-36.12%)
Mutual labels:  yeoman-generator
redmine preview office
Plugin for Redmine. Preview Microsoft Office Documents in Redmine's preview pane
Stars: ✭ 27 (-94.87%)
Mutual labels:  office
Paperless Desktop
🍃 macOS app that uses the paperless API to manage your document scans.
Stars: ✭ 431 (-18.06%)
Mutual labels:  office
Generator Jhipster
JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
Stars: ✭ 19,162 (+3542.97%)
Mutual labels:  yeoman-generator
Generator Express No Stress Typescript
🚄 A Yeoman generator for Express.js based 12-factor apps and apis using Typescript
Stars: ✭ 297 (-43.54%)
Mutual labels:  yeoman-generator
Racket
A complete starting app for developing universal React/Redux web apps with generators, best practices and more
Stars: ✭ 290 (-44.87%)
Mutual labels:  yeoman-generator
Colorpicker
jQuery UI widget for color picking (similar to the one in Microsoft Office 2010).
Stars: ✭ 271 (-48.48%)
Mutual labels:  office
Jhipster Kotlin
Kotlin based JHipster
Stars: ✭ 339 (-35.55%)
Mutual labels:  yeoman-generator
Job Interview Questions To Ask Companies
List of interview questions... For candidates! Pick your next company wisely
Stars: ✭ 261 (-50.38%)
Mutual labels:  office
Kms Activate
Microsoft Windows/Office 一键激活工具,基于kms.jm33.me的KMS服务器
Stars: ✭ 425 (-19.2%)
Mutual labels:  office
phpspreadsheet-bundle
A Symfony bundle to integrate with PHPOffice's PhpSpreadsheet library
Stars: ✭ 47 (-91.06%)
Mutual labels:  office
Online
Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
Stars: ✭ 278 (-47.15%)
Mutual labels:  office
Generator Jekyllized
A Yeoman generator for Jekyll to rapidly build sites using Gulp
Stars: ✭ 332 (-36.88%)
Mutual labels:  yeoman-generator
Corexlsx
Excel spreadsheet (XLSX) format parser written in pure Swift
Stars: ✭ 481 (-8.56%)
Mutual labels:  office
Flask Restful Example
flask后端开发接口示例,利用Flask开发后端API接口。包含基本的项目配置、统一响应、MySQL和Redis数据库操作、定时任务、图片生成、项目部署、用户权限认证、报表输出、无限层级生成目录树、阿里云手机验证码验证、微信授权、Celery、单元测试、Drone等模块。
Stars: ✭ 429 (-18.44%)
Mutual labels:  office

Yeoman generator for Office Add-ins - YO OFFICE!

npm version Downloads TravisCI Build Status

This Yeoman generator creates a Node.js Office Add-in project that can be managed with Visual Studio Code or any other editor. You can use it to create Office Add-ins for:

  • Excel
  • OneNote
  • Outlook
  • PowerPoint
  • Project
  • Word
  • Excel Custom Functions

Like other Yeoman generators, this generator simply creates the scaffolding of files for your Office Add-in project. You can choose to create Office Add-in projects using plain HTML, CSS & JavaScript, or using Angular or React, and can choose between JavaScript and Typescript as well.

Note: While you can also use Visual Studio to create Office Add-in projects, the Yeoman generator provides more options in terms of the types of projects you can create. For example:

  • The Yeoman generator can create Office Add-in projects that use plain HTML, CSS & JavaScript, or React, or Angular, whereas Visual Studio can only create Office Add-in projects that use plain HTML, CSS & JavaScript.
  • The Yeoman generator can create Office Add-ins projects that use TypeScript, whereas Visual Studio cannot.
  • The Yeoman generator can create add-ins for Excel, OneNote, Outlook, PowerPoint, Project, Word, Excel Custom Functions, whereas Visual Studio can only create add-ins for Excel, Outlook, PowerPoint, and Word.

For detailed information about using the Yeoman generator to create Office Add-ins, see any of the 5-minute quick starts in the Office Add-ins documentation.

Install

Important: If this is the first time you're using Yeoman or installing a Yeoman generator, first install Git and Node.js (version 8.0.0 or later). For developers on Mac, we recommend using Node Version Manager to install Node.js with the right permissions. When the installation completes, restart your console (or if you are using Windows, restart your machine) to ensure you use the updated system environment variables.

Install yo (Yeoman) and generator-office globally using NPM.

$ npm install -g yo generator-office

Usage

$ yo office [arguments] [options]

Command Line Arguments

The following command line arguments are supported. If using the command line arguments, you must use them in the order cited below, or the generator will prompt you for the values.

Example

$ yo office --projectType react --name "New Web AddIn" --host word --ts true

     _-----_     ╭──────────────────────────╮
    |       |    │   Welcome to the Office  │
    |--(o)--|    │   Add-in generator, by   │
   `---------´   │ @OfficeDev! Let's create │
    ( _´U`_ )    │    a project together!   │
    /___A___\   /╰──────────────────────────╯
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

--projectType

Specifies the project type to create.

Project Type Description
taskpane Task Pane add-in using HTML
angular Task Pane add-in using the Angular framework
react Task Pane add-in using the React framework
excel-functions Task Pane add-in with Excel Custom Functions
single-sign-on Taskpane add-in supporting single-sign-on
manifest Manifest and related files for an Office Add-in
  • Type: String
  • Optional

--name

Title of the project - this is the display name that is written the manifest.xml file.

  • Type: String
  • Optional

Note: The Windows command prompt requires this argument to be in quotes (e.g. "My Office Add-in")

--host

The Microsoft Office client application that can host the add-in. The supported arguments include Excel (excel), OneNote (onenote), Outlook (outlook), PowerPoint (powerpoint), Project (project), and Word (word).

  • Type: String
  • Optional

Command Line Options

The following command line options are supported. If these are not specified, the generator will prompt you for the values before scaffolding the project. The options should be specified after the projectType, name and host arguments.

Specifying --output tells the generator to create the project in a specific location. If the output parameter is not specified, the project will be created in the current directory. If the output option specifies a non-empty folder, the generator will inform you so you don't accidentally overwrite existing files.

  • Type: String
  • Optional

Specifying --js tells the generator to use JavaScript.

  • Type: Boolean

  • Default: False

  • Optional

    Specifying --ts tells the generator to use TypeScript.

  • Type: Boolean

  • Default: False

  • Optional

    Specifying --details tells the generator to provide detailed help, including all the accepted values for each project type and host,

  • Type: Boolean

  • Default: False

  • Optional

--skip-install

After scaffolding the project, the generator (and all sub generators) run all package management install commands such as npm install & typings install. Specifying --skip-install tells the generator to skip this step.

  • Type: Boolean
  • Default: False
  • Optional

Running the Generated Site

Launch the local HTTPS site on https://localhost:3000 by simply typing the following command in your console:

$ npm start

Note: Office Add-ins should use HTTPS, not HTTP, even when you are developing. If you are prompted to install a certificate after you run npm start, accept the prompt to install the certificate that the Yeoman generator provides.

Browse to the 'External' IP address listed in your console to test your web app across multiple browsers and devices that are connected on your local network.

Validate manifest.xml

As you modify your manifest.xml file, use the included Office Toolbox to ensure that your XML file is correct and complete. It will also give you information on against what platforms to test your add-ins before submitting to the store.

To run Office Add-in Validator, use the following command in your project directory:

$ npm run validate

For more information on manifest validation, refer to our add-in manifests documentation.

Contributing

Contributing Guidelines

If you are interested in contributing, please start by reading the Contributing Guidelines.

Development

Prerequisites

Ensure you have Node.js (version 8.0.0 or later) installed.

Install Yeoman.

$ npm install -g yo

Initialize the repo

$ git clone https://github.com/OfficeDev/generator-office.git
$ cd generator-office
$ npm install

Make your desired changes

Build and link your changes

$ npm run build
$ npm link
$ cd ..
$ yo office

At this point, yo office will be running with your custom built office-generator changes.

Data usage

Yo Office collects anonymized usage data and sends it to Microsoft. This allows us to understand how Yo Office is used and how to improve it.

For more details on what we collect and how to turn it off, see our Data usage notice


Copyright (c) 2017 Microsoft Corporation. All rights reserved.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].