7-40 Administrators Guide for Dynamic Converter
Slideshowc The Slideshowc sample script template contains the following code:
html head
{ if element=property.title} title{ insert element=property.title suppress=tags}title
{ else} titleconverted { insert element=pragma.sourcefilename}title
{ if} { if element=pragma.cssfile}link rel=stylesheet href={ insert
element=pragma.cssfile}link{ if} head
body bgcolor=black font color=white size=+5
centerThis is the end of the presentation. pa href={ link element=sections.1.bodyorimage
template=slideshowbtemplate.hcst}Return to start of presentation.ap center
font bodyhtml
7.6.6 Textout
The Textout sample script template contains the following code: html
head { if element=property.title}
title{ insert element=property.title suppress=tags}title { else}
titleConverted { insert element=pragma.sourcefilename}title { if}
{ if element=pragma.cssfile} link rel=stylesheet href={ insert element=pragma.cssfile}link
{ if}
defaultPageTitle=Converted Content include std_html_head_declarations
head
include body_def include std_page_begin
include std_header
table border=0 cellpadding=0 cellspacing=0 width=550 trtd
h1font color=0000FFDocument Bodyfonth1 { repeat element=sections}
h2font color=0000FFSection font{ insert number=sections.current.value}h2
{ if element=sections.current.type value=ss} p
font color=0000FFbSection Typeb=quot;fontspreadsheetfont color=0000FFquot;font
Script Templates 7-41
p p
font color=0000FFbTitleb=quot;font { insert element=sections.current.title}font color=0000FFquot;font
p { insert element=sections.current.bodyorimage width=500}
{ elseif element=sections.current.type value=pr} p
font color=0000FFbSection Typeb=quot;fontpresentationfont color=0000FFquot;font
p h3font color=0000FFImagefonth3
{ if element=sections.current.image} { insert element=sections.current.image width=500}
{ else} pfont color=0000FFImage is emptyfontp
{ if} h3font color=0000FFImage Textfonth3
{ if element=sections.current.body} { insert element=sections.current.body}
{ else} pfont color=0000FFImage text is emptyfontp
{ if} { elseif element=sections.current.type value=dr}
p font color=0000FFbSection Typeb=quot;fontvector graphic
drawingfont color=0000FFquot;font p
h3font color=0000FFImagefonth3 { if element=sections.current.image}
{ insert element=sections.current.image width=500} { else}
pfont color=0000FFImage is emptyfontp { if}
h3font color=0000FFImage Textfonth3 { if element=sections.current.body}
{ insert element=sections.current.body} { else}
pfont color=0000FFImage text is emptyfontp { if}
{ elseif element=sections.current.type value=bm} p
font color=0000FFbSection Typeb=quot;fontbitmapfont color=0000FFquot;font
p h3font color=0000FFImagefonth3
{ if element=sections.current.image} { insert element=sections.current.image width=500}
{ else} pfont color=0000FFImage is emptyfontp
{ if} h3font color=0000FFImage Textfonth3
{ if element=sections.current.body} { insert element=sections.current.body}
{ else} pfont color=0000FFImage text is emptyfontp
{ if} { elseif element=sections.current.type value=wp}
p font color=0000FFbSection Typeb=quot;fontbitmapfont
7-42 Administrators Guide for Dynamic Converter
color=0000FFquot;font p
h2font color=0000FFSection Bodyfonth2 { insert element=sections.current.contents width=500}
{ elseif element=sections.current.type value=ar} p
font color=0000FFbSection Typeb=quot;fontarchivefont color=0000FFquot;font
p { insert element=sections.current.bodyorimage width=500}
{ elseif element=sections.current.type value=db} p
font color=0000FFbSection Typeb=quot;fontdatabasefont color=0000FFquot;font
p { insert element=sections.current.bodyorimage width=500}
{ elseif element=sections.current.type value=ch} p
font color=0000FFbSection Typeb=quot;fontchartfont color=0000FFquot;font
p h3font color=0000FFImagefonth3
{ if element=sections.current.image} { insert element=sections.current.image width=500}
{ else} pfont color=0000FFImage is emptyfontp
{ if} h3font color=0000FFImage Textfonth3
{ if element=sections.current.body} { insert element=sections.current.body}
{ else} pfont color=0000FFImage text is emptyfontp
{ if} { else}
p font color=0000FFbSection Typeb is not one of wp, ss, pr, dr, bm,
db, ch, or arfontp p
{ insert element=sections.current.bodyorimage width=500} { if}
{ repeat}
tdtr table
include std_page_end body
html
7.7 Setting Script Template Formatting Options