Online Scriptura Demos
These online demos show you how to use Scriptura to design high-quality, personalized business documents.
Extra viewlets for Scriptura V5 will be available soon.
Introduction
This viewlet gives a general overview of the Scriptura Designer.
Dynamic Template
This example will demonstrate how to generate templates dynamically in the Scriptura Designer.
We will generate a copy per customer in the XML file.
Dynamic Table with Multiple Levels
This example will demonstrate the use of dynamic tables in the Scriptura Designer.
We will create a table that has three rows :
- a static row
- a dynamic row that is generated for each customer
- a dynamic row that contains another table
The table that is created in the third row of the first table has two rows :
- a static row
- a dynamic row that is generated for each product for that customer
Dynamic Page
This example will demonstrate how to generate pages dynamically in the Scriptura Designer.
We will generate a page per customer in the XML file.
Dynamic Image
This example will demonstrate the use of dynamic images in the Scriptura Designer.
Per customer in the XML file we will display its data and a logo for which the path is stored in the XML file.
Intelligent Forms
Learn how to create intelligent forms using type checking, field constraints, etc with Scriptura.
XML as data source
This example will demonstrate how to use an XML file as a data source in the Scriptura Designer.
A text or spooled file as data source
This example will demonstrate how to use a text or spooled file as a data source in the Scriptura Designer.
Reusable objects (basic)
Learn how to use Scriptura to create and change reusable objects and use them in a template.
Reusable objects (advanced)
Learn how to use Scriptura to create dynamic reusable objects and use them in a template.
A complex text or spooled file as data source
This example will demonstrate how to use a complex text or spooled file as a data source in the Scriptura Designer.
We will use a text file that contains an invoice for one customer, but this invoice has two pages, each time with a different header and footer.
We will create a template that will contain the header from the first page, the footer from the second page and the products in between.
Multiple Languages
This example will demonstrate the language support in the Scriptura Designer.
Every customer in the XML file has a language attribute that specifies which language the customer speaks. This attribute will be used in the Scriptura template to decide which text needs to be used.
A database as data source
In this example we will demonstrate how to create a Scriptura template based on a database and how to use the data from the database.
Conditions
This example will demonstrate the use of conditions in the Scriptura Designer.
We will add three different kinds of conditions :
- We will display the content of a data field in one color or another, depending on its value.
- We will display a logo depending on the value of an element in the XML file.
- We will generate a document for each customer in the XML file, if that customer has products.
Charts
Learn how to create dynamic charts with Scriptura.
Create 'Newspaper' Columns
This example will demonstrate the use of columns in the Scriptura Designer.
We will divide the page into two columns and then add a dynamic table that will demonstrate how the columns behave.
Custom Markup
This example will demonstrate how to use Custom Markup Stylesheets in the Scriptura Designer.
The Custom Markup Stylesheet function in Scriptura allows you to implement functions that are not possible in Scriptura.
Data Formatting
This example will demonstrate how data can be formatted in the Scriptura Designer.
There are three parts that will show how information can be formatted:
- date information
- numeric information
- text
External Variables
This example will demonstrate the use of external variables in a Scriptura template.
We will show how to create an external variable, how to print it and how to use it in a condition.
Positioning objects Absolute or Relative
This example will demonstrate the difference between positioning objects absolutely and positioning them relatively in the Scriptura Designer.
There are two differences, in size and in position.
Positioning objects absolutely means that they are positioned at a fixed point and that the object will grow depending on the content, but not further than the current page. Positioning objects relatively means that they are positioned at a point depending on previous objects. It also means that they will grow depending on the content, even over multiple pages.
Virtual Extent
This example will demonstrate the use of the Virtual Extent in the Scriptura Designer.
The Virtual Extent is a property that can be defined on a page and it allows you to specify as much objects as you wish on one page, without having to define a new page.