nbonamy / powerpoint-custom-table-style-generator

Create custom style file for your PowerPoint tables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

powerpoint-custom-table-style-generator

Allows you to create custom style file for your PowerPoint tables. It will generate custom styles for all your accent colors the same way PowerPoint creates its default styles. For instance:

Installation

You need to install gomplate. You also need realpath to be available.

On MacOS you can install those using brew:

brew install coreutils
brew install gomplate

Execution

In a Terminal run ./render.sh to get help on available options.

You can use the default template and example file to test the various options:

./render.sh -x example.pptx -i 2 -o 5 -a 35 template.xml

Do not forget to close and reopen example.pptx file in PowerPoint to see the results.

To copy the result to your clipboard (for use with OOXML Tools extension for instance), use the -x copy option.

Customizing the template

You can of course customize the template to your needs. You will need to:

  • get PowerPoint XML knowledge (see next section)
  • get gomplate syntax knowledge

And do not hesitate to share your templates through a PR!

Background information

Everything about creating custom table styles by hacking the PowerPoint XML can be found on John Korchok site:

About

Create custom style file for your PowerPoint tables

License:Apache License 2.0


Languages

Language:Shell 100.0%