Getting started
Install the package and create the first presentations.
Install#
Install the package with RingPM, the Ring package manager, in one step:
ringpm install pptxlib from ringpackagesQuick start#
Simple Presentation#
load "pptxlib.ring"
ppt = new PPTWriter()
ppt.addTitleSlide("My Presentation", "Subtitle here")
ppt.addSlide()
ppt.addTitle("First Slide")
ppt.addTextBox("Hello, World!", 0.5, 1.5, 9, 2, NULL)
ppt.save("output.pptx")Quick Presentation Function#
load "pptxlib.ring"
slides = [
["Welcome", "Introduction text"],
["Features", "Feature description"],
["Conclusion", "Thank you!"]
]
quickPPT("output.pptx", "My Presentation", slides)