You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+47-38Lines changed: 47 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
# pptx-automizer: A Powerful .pptx Modifier for Node.js
2
2
3
+
`pptx-automizer` is a Node.js-based PowerPoint (.pptx) generator that automates the manipulation of existing .pptx files. With `pptx-automizer`, you can import your library of .pptx templates, merge templates, and customize slide content. `pptx-automizer` will not write files from scratch, but edit and merge existing pptx files. You can style template slides within PowerPoint, and these templates will be seamlessly integrated into the output presentation. Most of the content can be modified by using callbacks with [xmldom](https://github.com/xmldom/xmldom).
3
4
`pptx-automizer` is a Node.js-based PowerPoint (.pptx) generator that automates the manipulation of existing .pptx files. With `pptx-automizer`, you can import your library of .pptx templates, merge templates, and customize slide content. `pptx-automizer` will not write files from scratch, but edit and merge existing pptx files. You can style template slides within PowerPoint, and these templates will be seamlessly integrated into the output presentation. Most of the content can be modified by using callbacks with [xmldom](https://github.com/xmldom/xmldom).
4
5
5
6
`pptx-automizer` is particularly well-suited for users who aim to manage their own library of .pptx template files, making it an ideal choice for those who work with intricate, well-designed customized layouts. With this tool, any existing slide or even a single element can serve as a data-driven template for generating output .pptx files.
@@ -11,40 +12,42 @@ Thanks to all contributors! You are always welcome to share code, tipps and idea
11
12
If you require commercial support for complex .pptx automation, you can explore [ensemblio.com](https://ensemblio.com). Ensemblio is a web application that leverages `pptx-automizer` and `automizer-data` to provide an accessible and convenient solution for automating .pptx files. Engaging with Ensemblio is likely to enhance and further develop this library.
12
13
13
14
## Table of contents
15
+
14
16
<!-- TOC -->
15
-
*[Requirements and Limitations](#requirements-and-limitations)
16
-
*[Shape Types](#shape-types)
17
-
*[Chart Types](#chart-types)
18
-
*[Animations](#animations)
19
-
*[Slide Masters and -Layouts](#slide-masters-and--layouts)
20
-
*[Direct Manipulation of Elements](#direct-manipulation-of-elements)
21
-
*[PowerPoint Version](#powerpoint-version)
22
-
*[Installation](#installation)
23
-
*[As a Cloned Repository](#as-a-cloned-repository)
24
-
*[As a Package](#as-a-package)
25
-
*[Usage](#usage)
26
-
*[Basic Example](#basic-example)
27
-
*[How to Select Slides Shapes](#how-to-select-slides-shapes)
28
-
*[Select slide by number and shape by name](#select-slide-by-number-and-shape-by-name)
29
-
*[Select slides by creationId](#select-slides-by-creationid)
30
-
*[Find and Modify Shapes](#find-and-modify-shapes)
If you encounter problems when opening a `.pptx`-file modified by this library, you might worry about PowerPoint not giving any details about the error. It can be hard to find the cause, but there are some things you can check:
873
+
874
+
-**Broken relation**: There are still unsupported shape types and `pptx-automizer` wil not copy required relations of those. You can inflate `.pptx`-output and check `ppt/slides/_rels/slide[#].xml.rels`-files to find possible missing files.
875
+
-**Unsupported media**: You can also take a look at the `ppt/media`-directory of an inflated `.pptx`-file. If you discover any unusual file formats, remove or replace the files by one of the [known types](https://github.com/singerla/pptx-automizer/blob/main/src/enums/content-type-map.ts).
876
+
-**Broken animation**: Pay attention to modified/removed shapes which are part of an animation. In case of doubt, (temporarily) remove all animations from your template. (see [#78](https://github.com/singerla/pptx-automizer/issues/78))
877
+
-**Proprietary/Binary contents** (e.g. ThinkCell): Walk through all slides, slideMasters and slideLayouts and seek for hidden Objects. Hit `ALT+F10` to toggle the sidebar.
878
+
879
+
If none of these could help, please don't hesitate to [talk about it](https://github.com/singerla/pptx-automizer/issues/new).
0 commit comments