Categories > OpenTBS with ODP >

Creating multi-page presentations

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Cezar
Date: 2010-06-25
Time: 10:15

Creating multi-page presentations

Hello,

First of all: thank you very much for TBS and OpenTBS, it's really great job done! :-)

And my question is: how can I create multi page presentation using TBS/OpenTBS? I've got template file and I have to feed it with data creating 18 pages as output. Is there something like "page break"? Or "page finish"?

Thanks in advance :-)

Cezar
By: Skrol29
Date: 2010-06-25
Time: 10:56

Re: Creating multi-page presentations

Hi Cezar,

Have you seen the example set ?
  http://www.tinybutstrong.com/plugins/opentbs/demo/demo.html

This example set is also included in the OpenTBS package. The ODT example does perform a multi-page merging.
By: Cezar
Date: 2010-06-27
Time: 22:08

Re: Creating multi-page presentations

Well, this sollution works quite different for ODP (presentation) files.

When I put at the and of 1st slide an [b;block=begin;comm=text:p] and [b;block=end;comm=text:p] (in different textbox/paragraph) it generates just one page. But when I put [b;block=begin;comm=text:p] and the [b;block=end;comm=text:p] at the beggining of next page (two page template) it generates... three (3) pages!

From my point of view the best sollution will be something like $TBS->NewPage(), is it possible to have it in OpenTBS please? :-)

Thank you for your support and best regards! :-)

Cezar
By: Skrol29
Date: 2010-06-28
Time: 16:43

Re: Creating multi-page presentations

Hi Cezar,

I've updated the demo provided both on line and in the OpenTBS package. The ODP example shows how to merge a multi-page presentation. You can download the plug-in to have the example source.

In ODP documents, pages are defined as <draw:page> entities. That helps a lot to build multi-pages because you can do it directly with the simplified syntax. Like this:
[b.firstname;block=draw:page]

>From my point of view the best sollution will be something like
> $TBS->NewPage(), is it possible to have it in OpenTBS please? :-)

Unfortunately I think this is not a good perspective. A page in ODT doc hasn't the same meaning neither the same structure as in an ODP doc. And if we add a specific method for pages, will also need it for pictures, sections, styles, ... this has no end.
The current feature of OpenTBS enables quite lot of merging since we understand the XML which is behind the doc.

By: Cezar
Date: 2010-06-28
Time: 17:22

Re: Creating multi-page presentations

YES, IT'S IT! It does work perfectly! :-)

Thank you very much Skrol29! :-D

Cezar