PPTXLibPowerPoint files for Ring

Functions, constants and colors

The quick presentation function, the constants and the color names.

Quick Functions#

quickPPT#

Ring
quickPPT(filename, title, slides)

Creates a simple presentation:

Ring
slides = [
    ["Slide Title 1", "Content 1"],
    ["Slide Title 2", "Content 2"]
]
quickPPT("output.pptx", "Presentation Title", slides)

Constants#

Layout Constants#

Alignment Constants#

Shape Constants#

Color Reference#

Named Colors#

black, white, red, green, blue, yellow, orange, purple, gray/grey, navy, teal, maroon, silver, lime, aqua, fuchsia, olive, darkblue, darkgreen, coral, charcoal

Hex Colors#

Ring
ppt.setBackground("1E2761")     # Without #
ppt.addTextBox("Hi", 1, 1, 2, 1, [:color = "#FF5733"])  # With #
PPTXLib - PowerPoint files for Ring, made with ringdoc.