-
Notifications
You must be signed in to change notification settings - Fork 1
Limitations
Powerpoint stores information in a series of complex XML mappings. Checkout the OpenXML Spec to get an idea of how complex it really is.
A complete list of all the preset Powerpoint shape types are available here.
Here are the supported elements:
PPT Element | Supported | Attributes |
---|---|---|
Rectangle | Yes | Borders, Lines, ColorFill, ImageFill |
Triangle | Yes | Text, Borders, Lines, ColorFill, ImageFill |
Ellipse | Yes | Text, Borders, Lines, ColorFill, ImageFill |
Images | Yes | Local Images, Copy+Paste Images |
Lines | In Progress | |
Grouped Objects | No | |
Charts | No | |
Slide Backgrounds | Planned |
Keep in mind that this project is meant to be extensible. So I highly encourage you to follow the building a renderer tutorial and add a shape of your own. You can also write custom elements to embed custom elements such as Google Maps or Youtube.
Here are a few things to keep in mind:
-
Unsupported shapes are always rendered as rectangles
-
Images will always appear on top of shapes. To get around this, pick a rectangle and use the picture fill option.
-
Color fills that are part of the slideshow "Theme" will probably not be respected. A workaround is to explicitly set the color with the picker.
-
Slide elements that belong to the "master" slide will not be shown. Some more work has to be done to support this.
-
Try to avoid overlapping elements as best practice. Grid behavior can also vary across various devices.
-
You can rename elements individually using the selection pane. This will add an "ID" attribute on the elements that can be used to select specific elements (e.g. buttons and textboxes). Follow the alphabetter tutorial.
Go to the next page ss