TinyButStrong - the PHP Template Engine
Categories > OpenTBS with PPTX >

openTBS plugin creating pptx files

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: Harmjan
Date: 2011-12-15
Time: 00:06

openTBS plugin creating pptx files

hi all,

I want a second slide in my pptx template file just like the ODS file in the demo. But when i put a second slide in the templateBut TBS skips slide2.xml I don't know why? Can anyone help me?

I want a second slide with text like this:
Hello [b.firstname;block=draw:page] [b. name], (parameter “block=draw:page” will make the current page to be repeated)
your membership number is [b.number].

[b.#;att=draw:page#draw:name;attadd] (this optional field will change the name of the current page)

By: Skrol29
Date: 2011-12-15
Time: 23:08

Re: openTBS plugin creating pptx files


Adding a new slide in a PPTX file is not as easy as for an ODP file (OpenOffice Presentation).
PPTX needs one sub-file for each slide, plus one more for defining its relations.
Then the new slide must be referenced in the "presentation.xml.rels" file.
They are also other requirements that I don't master well.

So OpenTBS cannot easily help you to add a slide in a PPTX yet. You have to do it manually with OpenTBS regarding to the OpenXML standards.