Get layout names that exist into the template used when pptx has been created.
# S3 method for pptx
slide.layouts (doc, layout, ...)
Object of class pptx
to extract layout
names from.
optional single string value, one of the layout names
further arguments, not used.
Available names are layout names of the template document (e.g. Title and Content , Two Content, etc.). If layout is specified, the layout representation will be produced in a plot. This can be usefull to check available shapes.
# NOT RUN {
#START_TAG_TEST
# Create a new document
doc = pptx( title = "title" )
slide.layouts(doc)
# plot the layout "Two Content"
slide.layouts(doc, layout = "Two Content" )
#STOP_TAG_TEST
# }
Run the code above in your browser using DataLab