A tutorial of CodablePPTX, which is a tool to generate a PowerPoint Presentation from YAML specification. This tutorial itself is also made with CodablePPTX.
list of text objects on the slide. You can use different properties (text, title, subtitle) to emphesize the different roles of the text objects. A list of image objects on the slide. 12
list of horizontal stack objects on the slide. A list of vertical stack objects on the slide. An id of a layout object (stay tuned for more details) which is applied to the slide. 14
the textbox. If you do not specify any "value", a blank text box is put on the slide. Specifies the position of the text frame with relative coordinates of the 4 corners. A whole slide corresponds to a frame: x: [0, 100] y: [0, 100] 16
26) fontcolor: optional (default: "#4D4D4D") Specifies the font of the text in the textbox. Specifies the size of the text in the textbox with pt (points). Specifies the color of the text in the textbox with Hex color codes. 19
left) Specifies the vertical alignment of the text. 3 options are available: top, middle and bottom. Specifies the horizontal alignment of the text. 3 options are available: left, center and right. 22
fill) Same as the one in text objects Specifies a location of an image file Specifies the method to fill the frame. 2 options are available: fit and fill. 26
rectangle) Same as the one in text objects Specifies the color of the shape with Hex color codes. Specifies the type of the shape. 2 options are available: rectangle and rounded_rectangle 30
the stack object itself. It is dividedly in horizontal direction if the object is a hstack, and in vertical ditection if it is vstack, then allocated to each child element. Relative size of margins between each child element. "margin: 100" is the height or width of a whole slide. 38
image, shape, pagenum, vstack, hstack: optional A layout (stay tuned for more details) which is applied to all children elements. The type of the children. A list of children objects. You can use only one property among the list. Frames are allocated to the children so that all objects fit in to the frame of the stack, so you don't have to specify the frames of the children. 39
file which includes frequently used patterns of slides (layouts). By using layout files effectively, you can easily generate a bunch of similar slides. 46
pagenum: optional An identifier of the layout. Almost the same as the ones in slides. In layouts, you can specify "fixed" property (stay tuned for more details). 49
of vstack and hstack objects. In layouts, you cannot specify the children. An id of a master object (stay tuned for more details) which is applied to the slide. 50
normal title: - value: Orange title fontcolor: "#E65100" text: - value: text text text layouts: - id: normal title: - frame: x: [5, 95] y: [5, 15] fontsize: 40 value: Add title here text: - frame: x: [5, 95] y: [20, 90] value: Add text here 55
normal title: - value: Same slides text: - value: These two slides are the same - theme: normal title: - Same slides text: - These two slides are the same layouts: - id: normal title: - frame: x: [5, 95] y: [5, 15] fontsize: 40 value: Add title here text: - frame: x: [5, 95] y: [20, 90] value: Add text here 58
you apply a master to a layout by 'master' property of the layout, all the elements on the master are inherited by the layout. The objects in the master cannot be overriden in the layouts. The objects are added to the heads of the lists in the layout, so you can override them from a slide. 67