From 6074f9a4a3da36a7061f11ec5693374549be4165 Mon Sep 17 00:00:00 2001 From: Stefan Seefeld Date: Sat, 20 Oct 2012 15:11:19 +0000 Subject: [PATCH] Merge Slides GSoC project to trunk. --- xsl/params/disable.collapsible.xml | 28 + xsl/params/disable.incremental.xml | 28 + xsl/params/foil.footer.properties.xml | 27 + xsl/params/foil.header.properties.xml | 36 + xsl/params/foil.master.properties.xml | 46 + xsl/params/foil.page-sequence.properties.xml | 31 + xsl/params/foil.properties.xml | 1 - xsl/params/foil.region-after.properties.xml | 32 + xsl/params/foil.region-before.properties.xml | 34 + xsl/params/foil.region-body.properties.xml | 37 + xsl/params/foil.title.properties.xml | 31 + xsl/params/generate.copyright.xml | 28 + .../generate.foilgroup.numbered.toc.xml | 29 + xsl/params/generate.foilgroup.toc.xml | 28 + xsl/params/generate.handoutnotes.xml | 28 + xsl/params/generate.page.number.xml | 58 + xsl/params/generate.pubdate.xml | 28 + xsl/params/generate.speakernotes.xml | 28 + xsl/params/generate.titlepage.xml | 28 + xsl/params/handoutnotes.properties.xml | 28 + xsl/params/mml.embedding.mode.fo.xml | 54 + xsl/params/mml.embedding.mode.xml | 78 + xsl/params/s5.controls.xml | 28 + xsl/params/s5.defaultview.xml | 30 + xsl/params/s5.opera.css.xml | 28 + xsl/params/s5.outline.css.xml | 27 + xsl/params/s5.path.prefix.xml | 29 + xsl/params/s5.print.css.xml | 27 + xsl/params/s5.slides.css.xml | 27 + xsl/params/s5.slides.js.xml | 28 + .../slides.titlepage.author.properties.xml | 32 + ...lides.titlepage.authorgroup.properties.xml | 28 + ...slides.titlepage.corpauthor.properties.xml | 32 + .../slides.titlepage.master.properties.xml | 46 + .../slides.titlepage.pubdate.properties.xml | 32 + ...lides.titlepage.region-body.properties.xml | 33 + .../slides.titlepage.subtitle.properties.xml | 34 + .../slides.titlepage.title.properties.xml | 40 + xsl/params/slidy.duration.xml | 29 + xsl/params/slidy.path.prefix.xml | 29 + xsl/params/slidy.slidy.css.xml | 27 + xsl/params/slidy.slidy.js.xml | 27 + xsl/params/slidy.user.css.xml | 27 + xsl/params/speakernotes.properties.xml | 28 + xsl/params/svg.embedding.mode.fo.xml | 53 + xsl/params/svg.embedding.mode.xml | 78 + xsl/params/user.css.xml | 29 + xsl/params/wrap.slidecontent.xml | 28 + xsl/slides/Makefile | 14 +- xsl/slides/browser/.gitignore | 1 - xsl/slides/browser/CTOCWidget.js | 169 -- xsl/slides/browser/overlay.js | 142 -- xsl/slides/browser/slides-default.css | 9 - xsl/slides/browser/slides-frames.css | 73 - xsl/slides/browser/slides-plain.css | 1 - xsl/slides/browser/slides-table.css | 41 - xsl/slides/browser/slides-w3c.css | 1 - xsl/slides/browser/slides.css | 119 - xsl/slides/browser/slides.js | 120 - xsl/slides/browser/ua.js | 135 -- xsl/slides/browser/xbCollapsibleLists.js | 537 ----- xsl/slides/browser/xbDOM.js | 374 --- xsl/slides/browser/xbDebug.js | 311 --- xsl/slides/browser/xbLibrary.js | 80 - xsl/slides/browser/xbStyle-css.js | 791 ------- xsl/slides/browser/xbStyle-nn4.js | 485 ---- xsl/slides/browser/xbStyle-not-supported.js | 77 - xsl/slides/browser/xbStyle.js | 295 --- xsl/slides/common/common.xsl | 19 + xsl/slides/fo/.gitignore | 1 - xsl/slides/fo/Makefile.param | 35 + xsl/slides/fo/param.ent | 40 +- xsl/slides/fo/param.xweb | 85 +- xsl/slides/fo/plain-titlepage.xml | 44 +- xsl/slides/fo/plain.xsl | 743 +++--- xsl/slides/graphics/.gitignore | 1 - xsl/slides/graphics/active/.gitignore | 1 - xsl/slides/graphics/active/arr-next.png | Bin 122 -> 0 bytes xsl/slides/graphics/active/arr-prev.png | Bin 118 -> 0 bytes xsl/slides/graphics/active/but-fforward.png | Bin 575 -> 0 bytes xsl/slides/graphics/active/but-info.png | Bin 587 -> 0 bytes xsl/slides/graphics/active/but-next.png | Bin 557 -> 0 bytes xsl/slides/graphics/active/but-prev.png | Bin 563 -> 0 bytes xsl/slides/graphics/active/but-rewind.png | Bin 595 -> 0 bytes xsl/slides/graphics/active/nav-home.png | Bin 372 -> 0 bytes xsl/slides/graphics/active/nav-next.png | Bin 406 -> 0 bytes xsl/slides/graphics/active/nav-prev.png | Bin 405 -> 0 bytes xsl/slides/graphics/active/nav-toc.png | Bin 220 -> 0 bytes xsl/slides/graphics/active/nav-up.png | Bin 422 -> 0 bytes xsl/slides/graphics/active/w3c-next.png | Bin 163 -> 0 bytes xsl/slides/graphics/active/w3c-prev.png | Bin 159 -> 0 bytes xsl/slides/graphics/active/w3c-toc.png | Bin 232 -> 0 bytes xsl/slides/graphics/arrow.gif | Bin 144 -> 0 bytes xsl/slides/graphics/blank.gif | Bin 123 -> 0 bytes xsl/slides/graphics/blank.png | Bin 100 -> 0 bytes xsl/slides/graphics/hidetoc.gif | Bin 922 -> 0 bytes xsl/slides/graphics/inactive/.gitignore | 1 - xsl/slides/graphics/inactive/but-fforward.png | Bin 573 -> 0 bytes xsl/slides/graphics/inactive/but-info.png | Bin 301 -> 0 bytes xsl/slides/graphics/inactive/but-next.png | Bin 560 -> 0 bytes xsl/slides/graphics/inactive/but-prev.png | Bin 569 -> 0 bytes xsl/slides/graphics/inactive/but-rewind.png | Bin 594 -> 0 bytes xsl/slides/graphics/inactive/nav-home.png | Bin 365 -> 0 bytes xsl/slides/graphics/inactive/nav-next.png | Bin 384 -> 0 bytes xsl/slides/graphics/inactive/nav-prev.png | Bin 420 -> 0 bytes xsl/slides/graphics/inactive/nav-toc.png | Bin 226 -> 0 bytes xsl/slides/graphics/inactive/nav-up.png | Bin 232 -> 0 bytes xsl/slides/graphics/inactive/w3c-next.png | Bin 251 -> 0 bytes xsl/slides/graphics/inactive/w3c-prev.png | Bin 257 -> 0 bytes xsl/slides/graphics/inactive/w3c-toc.png | Bin 246 -> 0 bytes xsl/slides/graphics/plus.gif | Bin 137 -> 0 bytes xsl/slides/graphics/pointer.png | Bin 172 -> 0 bytes xsl/slides/graphics/showtoc.gif | Bin 922 -> 0 bytes xsl/slides/graphics/toc/.gitignore | 1 - xsl/slides/graphics/toc/bullet.png | Bin 167 -> 0 bytes xsl/slides/graphics/toc/closed.png | Bin 157 -> 0 bytes xsl/slides/graphics/toc/open.png | Bin 146 -> 0 bytes xsl/slides/html/.gitignore | 6 - xsl/slides/html/Makefile | 9 - xsl/slides/html/css.xsl | 46 - xsl/slides/html/default.xsl | 261 --- xsl/slides/html/flat.xsl | 70 - xsl/slides/html/frames.xsl | 2016 ----------------- xsl/slides/html/graphics.xsl | 151 -- xsl/slides/html/jscript.xsl | 127 -- xsl/slides/html/param.ent | 51 - xsl/slides/html/param.xweb | 207 -- xsl/slides/html/plain.xsl | 472 ---- xsl/slides/html/slides-common.xsl | 1541 ------------- xsl/slides/html/tables.xsl | 336 --- xsl/slides/html/vslides.xsl | 667 ------ xsl/slides/html/w3c.xsl | 376 --- xsl/slides/htmlhelp/.gitignore | 1 - xsl/slides/htmlhelp/htmlhelp.xsl | 89 - xsl/slides/keynote/.gitignore | 1 - xsl/slides/keynote/default.xsl | 600 ----- xsl/slides/keynote/xsltsl/.gitignore | 1 - xsl/slides/keynote/xsltsl/cmp.xsl | 348 --- xsl/slides/keynote/xsltsl/date-time.xsl | 1524 ------------- xsl/slides/keynote/xsltsl/example.xsl | 90 - xsl/slides/keynote/xsltsl/markup.xsl | 789 ------- xsl/slides/keynote/xsltsl/math.xsl | 704 ------ xsl/slides/keynote/xsltsl/node.xsl | 229 -- xsl/slides/keynote/xsltsl/stdlib.xsl | 340 --- xsl/slides/keynote/xsltsl/string.xsl | 1233 ---------- xsl/slides/keynote/xsltsl/svg.xsl | 177 -- xsl/slides/keynote/xsltsl/uri.xsl | 580 ----- xsl/slides/svg/.gitignore | 1 - xsl/slides/svg/default.xsl | 686 ------ xsl/slides/xhtml/.gitignore | 14 - xsl/slides/xhtml/Makefile | 31 +- xsl/slides/xhtml/Makefile.param | 26 + xsl/slides/xhtml/param.ent | 28 + xsl/slides/xhtml/param.xweb | 155 ++ xsl/slides/xhtml/plain-titlepage.xml | 26 + xsl/slides/xhtml/s5.xsl | 95 + xsl/slides/xhtml/slidy.xsl | 85 + 157 files changed, 2584 insertions(+), 17953 deletions(-) create mode 100644 xsl/params/disable.collapsible.xml create mode 100644 xsl/params/disable.incremental.xml create mode 100644 xsl/params/foil.footer.properties.xml create mode 100644 xsl/params/foil.header.properties.xml create mode 100644 xsl/params/foil.master.properties.xml create mode 100644 xsl/params/foil.page-sequence.properties.xml create mode 100644 xsl/params/foil.region-after.properties.xml create mode 100644 xsl/params/foil.region-before.properties.xml create mode 100644 xsl/params/foil.region-body.properties.xml create mode 100644 xsl/params/foil.title.properties.xml create mode 100644 xsl/params/generate.copyright.xml create mode 100644 xsl/params/generate.foilgroup.numbered.toc.xml create mode 100644 xsl/params/generate.foilgroup.toc.xml create mode 100644 xsl/params/generate.handoutnotes.xml create mode 100644 xsl/params/generate.page.number.xml create mode 100644 xsl/params/generate.pubdate.xml create mode 100644 xsl/params/generate.speakernotes.xml create mode 100644 xsl/params/generate.titlepage.xml create mode 100644 xsl/params/handoutnotes.properties.xml create mode 100644 xsl/params/mml.embedding.mode.fo.xml create mode 100644 xsl/params/mml.embedding.mode.xml create mode 100644 xsl/params/s5.controls.xml create mode 100644 xsl/params/s5.defaultview.xml create mode 100644 xsl/params/s5.opera.css.xml create mode 100644 xsl/params/s5.outline.css.xml create mode 100644 xsl/params/s5.path.prefix.xml create mode 100644 xsl/params/s5.print.css.xml create mode 100644 xsl/params/s5.slides.css.xml create mode 100644 xsl/params/s5.slides.js.xml create mode 100644 xsl/params/slides.titlepage.author.properties.xml create mode 100644 xsl/params/slides.titlepage.authorgroup.properties.xml create mode 100644 xsl/params/slides.titlepage.corpauthor.properties.xml create mode 100644 xsl/params/slides.titlepage.master.properties.xml create mode 100644 xsl/params/slides.titlepage.pubdate.properties.xml create mode 100644 xsl/params/slides.titlepage.region-body.properties.xml create mode 100644 xsl/params/slides.titlepage.subtitle.properties.xml create mode 100644 xsl/params/slides.titlepage.title.properties.xml create mode 100644 xsl/params/slidy.duration.xml create mode 100644 xsl/params/slidy.path.prefix.xml create mode 100644 xsl/params/slidy.slidy.css.xml create mode 100644 xsl/params/slidy.slidy.js.xml create mode 100644 xsl/params/slidy.user.css.xml create mode 100644 xsl/params/speakernotes.properties.xml create mode 100644 xsl/params/svg.embedding.mode.fo.xml create mode 100644 xsl/params/svg.embedding.mode.xml create mode 100644 xsl/params/user.css.xml create mode 100644 xsl/params/wrap.slidecontent.xml delete mode 100644 xsl/slides/browser/.gitignore delete mode 100644 xsl/slides/browser/CTOCWidget.js delete mode 100644 xsl/slides/browser/overlay.js delete mode 100644 xsl/slides/browser/slides-default.css delete mode 100644 xsl/slides/browser/slides-frames.css delete mode 100644 xsl/slides/browser/slides-plain.css delete mode 100644 xsl/slides/browser/slides-table.css delete mode 100644 xsl/slides/browser/slides-w3c.css delete mode 100644 xsl/slides/browser/slides.css delete mode 100644 xsl/slides/browser/slides.js delete mode 100644 xsl/slides/browser/ua.js delete mode 100644 xsl/slides/browser/xbCollapsibleLists.js delete mode 100644 xsl/slides/browser/xbDOM.js delete mode 100644 xsl/slides/browser/xbDebug.js delete mode 100644 xsl/slides/browser/xbLibrary.js delete mode 100644 xsl/slides/browser/xbStyle-css.js delete mode 100644 xsl/slides/browser/xbStyle-nn4.js delete mode 100644 xsl/slides/browser/xbStyle-not-supported.js delete mode 100644 xsl/slides/browser/xbStyle.js create mode 100644 xsl/slides/common/common.xsl create mode 100644 xsl/slides/fo/Makefile.param delete mode 100644 xsl/slides/graphics/.gitignore delete mode 100644 xsl/slides/graphics/active/.gitignore delete mode 100644 xsl/slides/graphics/active/arr-next.png delete mode 100644 xsl/slides/graphics/active/arr-prev.png delete mode 100644 xsl/slides/graphics/active/but-fforward.png delete mode 100644 xsl/slides/graphics/active/but-info.png delete mode 100644 xsl/slides/graphics/active/but-next.png delete mode 100644 xsl/slides/graphics/active/but-prev.png delete mode 100644 xsl/slides/graphics/active/but-rewind.png delete mode 100644 xsl/slides/graphics/active/nav-home.png delete mode 100644 xsl/slides/graphics/active/nav-next.png delete mode 100644 xsl/slides/graphics/active/nav-prev.png delete mode 100644 xsl/slides/graphics/active/nav-toc.png delete mode 100644 xsl/slides/graphics/active/nav-up.png delete mode 100644 xsl/slides/graphics/active/w3c-next.png delete mode 100644 xsl/slides/graphics/active/w3c-prev.png delete mode 100644 xsl/slides/graphics/active/w3c-toc.png delete mode 100644 xsl/slides/graphics/arrow.gif delete mode 100644 xsl/slides/graphics/blank.gif delete mode 100644 xsl/slides/graphics/blank.png delete mode 100644 xsl/slides/graphics/hidetoc.gif delete mode 100644 xsl/slides/graphics/inactive/.gitignore delete mode 100644 xsl/slides/graphics/inactive/but-fforward.png delete mode 100644 xsl/slides/graphics/inactive/but-info.png delete mode 100644 xsl/slides/graphics/inactive/but-next.png delete mode 100644 xsl/slides/graphics/inactive/but-prev.png delete mode 100644 xsl/slides/graphics/inactive/but-rewind.png delete mode 100644 xsl/slides/graphics/inactive/nav-home.png delete mode 100644 xsl/slides/graphics/inactive/nav-next.png delete mode 100644 xsl/slides/graphics/inactive/nav-prev.png delete mode 100644 xsl/slides/graphics/inactive/nav-toc.png delete mode 100644 xsl/slides/graphics/inactive/nav-up.png delete mode 100644 xsl/slides/graphics/inactive/w3c-next.png delete mode 100644 xsl/slides/graphics/inactive/w3c-prev.png delete mode 100644 xsl/slides/graphics/inactive/w3c-toc.png delete mode 100644 xsl/slides/graphics/plus.gif delete mode 100644 xsl/slides/graphics/pointer.png delete mode 100644 xsl/slides/graphics/showtoc.gif delete mode 100644 xsl/slides/graphics/toc/.gitignore delete mode 100644 xsl/slides/graphics/toc/bullet.png delete mode 100644 xsl/slides/graphics/toc/closed.png delete mode 100644 xsl/slides/graphics/toc/open.png delete mode 100644 xsl/slides/html/.gitignore delete mode 100644 xsl/slides/html/Makefile delete mode 100644 xsl/slides/html/css.xsl delete mode 100644 xsl/slides/html/default.xsl delete mode 100644 xsl/slides/html/flat.xsl delete mode 100644 xsl/slides/html/frames.xsl delete mode 100644 xsl/slides/html/graphics.xsl delete mode 100644 xsl/slides/html/jscript.xsl delete mode 100644 xsl/slides/html/param.ent delete mode 100644 xsl/slides/html/param.xweb delete mode 100644 xsl/slides/html/plain.xsl delete mode 100644 xsl/slides/html/slides-common.xsl delete mode 100644 xsl/slides/html/tables.xsl delete mode 100644 xsl/slides/html/vslides.xsl delete mode 100644 xsl/slides/html/w3c.xsl delete mode 100644 xsl/slides/htmlhelp/.gitignore delete mode 100644 xsl/slides/htmlhelp/htmlhelp.xsl delete mode 100644 xsl/slides/keynote/.gitignore delete mode 100644 xsl/slides/keynote/default.xsl delete mode 100644 xsl/slides/keynote/xsltsl/.gitignore delete mode 100644 xsl/slides/keynote/xsltsl/cmp.xsl delete mode 100644 xsl/slides/keynote/xsltsl/date-time.xsl delete mode 100644 xsl/slides/keynote/xsltsl/example.xsl delete mode 100644 xsl/slides/keynote/xsltsl/markup.xsl delete mode 100644 xsl/slides/keynote/xsltsl/math.xsl delete mode 100644 xsl/slides/keynote/xsltsl/node.xsl delete mode 100644 xsl/slides/keynote/xsltsl/stdlib.xsl delete mode 100644 xsl/slides/keynote/xsltsl/string.xsl delete mode 100644 xsl/slides/keynote/xsltsl/svg.xsl delete mode 100644 xsl/slides/keynote/xsltsl/uri.xsl delete mode 100644 xsl/slides/svg/.gitignore delete mode 100644 xsl/slides/svg/default.xsl create mode 100644 xsl/slides/xhtml/Makefile.param create mode 100644 xsl/slides/xhtml/param.ent create mode 100644 xsl/slides/xhtml/param.xweb create mode 100644 xsl/slides/xhtml/plain-titlepage.xml create mode 100644 xsl/slides/xhtml/s5.xsl create mode 100644 xsl/slides/xhtml/slidy.xsl diff --git a/xsl/params/disable.collapsible.xml b/xsl/params/disable.collapsible.xml new file mode 100644 index 000000000..1f8e6e382 --- /dev/null +++ b/xsl/params/disable.collapsible.xml @@ -0,0 +1,28 @@ + + +disable.collapsible +boolean + + +disable.collapsible +Specifies whether collapsible rendering is enabled + + + + + 0 + + + +Description + +This parameter specifies whether elements marked as + collapsible are generated as such in the output document. + + + diff --git a/xsl/params/disable.incremental.xml b/xsl/params/disable.incremental.xml new file mode 100644 index 000000000..27f473a4b --- /dev/null +++ b/xsl/params/disable.incremental.xml @@ -0,0 +1,28 @@ + + +disable.incremental +boolean + + +disable.incremental +Specifies whether incremental rendering is enabled + + + + + 0 + + + +Description + +This parameter specifies whether elements marked as + incremental are generated as such in the output document. + + + diff --git a/xsl/params/foil.footer.properties.xml b/xsl/params/foil.footer.properties.xml new file mode 100644 index 000000000..9b50d1658 --- /dev/null +++ b/xsl/params/foil.footer.properties.xml @@ -0,0 +1,27 @@ + + +foil.footer.properties +attribute set + + +foil.footer.properties +Specifies properties for slides footer + + + + + + + + +Description + +This parameter specifies properties for the foil footer. + + + diff --git a/xsl/params/foil.header.properties.xml b/xsl/params/foil.header.properties.xml new file mode 100644 index 000000000..43c68f565 --- /dev/null +++ b/xsl/params/foil.header.properties.xml @@ -0,0 +1,36 @@ + + +foil.header.properties +attribute set + + +foil.header.properties +Specifies properties for foil header area + + + + + + white + black + bold + center + + + + 12pt + + + + +Description + +This parameter specifies properties for the foil header area. + + + diff --git a/xsl/params/foil.master.properties.xml b/xsl/params/foil.master.properties.xml new file mode 100644 index 000000000..fdb8754e7 --- /dev/null +++ b/xsl/params/foil.master.properties.xml @@ -0,0 +1,46 @@ + + +foil.master.properties +attribute set + + +foil.master.properties +Specifies properties for foil master + + + + + + + + + + + + + + + + + + + + + + + + + + + +Description + +This parameter specifies properties for the foil master. + + + diff --git a/xsl/params/foil.page-sequence.properties.xml b/xsl/params/foil.page-sequence.properties.xml new file mode 100644 index 000000000..641313033 --- /dev/null +++ b/xsl/params/foil.page-sequence.properties.xml @@ -0,0 +1,31 @@ + + +foil.page-sequence.properties +attribute set + + +foil.page-sequence.properties +Specifies properties for foil page-sequence + + + + + + + + + + + + +Description + +This parameter specifies properties for foil page-sequence. + + + diff --git a/xsl/params/foil.properties.xml b/xsl/params/foil.properties.xml index 11ad146bb..cf0ab238e 100644 --- a/xsl/params/foil.properties.xml +++ b/xsl/params/foil.properties.xml @@ -24,7 +24,6 @@ - bold diff --git a/xsl/params/foil.region-after.properties.xml b/xsl/params/foil.region-after.properties.xml new file mode 100644 index 000000000..1e71c6866 --- /dev/null +++ b/xsl/params/foil.region-after.properties.xml @@ -0,0 +1,32 @@ + + +foil.region-after.properties +attribute set + + +foil.region-after.properties +Specifies properties for foil region-after + + + + + + + + + after + + + + +Description + +This parameter specifies properties for the foil region-after. + + + diff --git a/xsl/params/foil.region-before.properties.xml b/xsl/params/foil.region-before.properties.xml new file mode 100644 index 000000000..a97fb66da --- /dev/null +++ b/xsl/params/foil.region-before.properties.xml @@ -0,0 +1,34 @@ + + +foil.region-before.properties +attribute set + + +foil.region-before.properties +Specifies properties for foil region-before + + + + + + + + + + + + + + + +Description + +This parameter specifies properties for the foil region-before. + + + diff --git a/xsl/params/foil.region-body.properties.xml b/xsl/params/foil.region-body.properties.xml new file mode 100644 index 000000000..8295a1aa5 --- /dev/null +++ b/xsl/params/foil.region-body.properties.xml @@ -0,0 +1,37 @@ + + +foil.region-body.properties +attribute set + + +foil.region-body.properties +Specifies properties for foil region-body + + + + + + + + + + + + + + + + + + +Description + +This parameter specifies properties for the foil region-body. + + + diff --git a/xsl/params/foil.title.properties.xml b/xsl/params/foil.title.properties.xml new file mode 100644 index 000000000..f9d65c04b --- /dev/null +++ b/xsl/params/foil.title.properties.xml @@ -0,0 +1,31 @@ + + +foil.title.properties +attribute set + + +foil.title.properties +Specifies properties for foil title + + + + + + + + + + + + +Description + +This parameter specifies properties for the foil title. + + + diff --git a/xsl/params/generate.copyright.xml b/xsl/params/generate.copyright.xml new file mode 100644 index 000000000..8c0aaaab2 --- /dev/null +++ b/xsl/params/generate.copyright.xml @@ -0,0 +1,28 @@ + + +generate.copyright +boolean + + +generate.copyright +Specifies whether copyright is generated + + + + + 1 + + + +Description + +This parameter specifies whether the copyright info is generated + in the footer area. + + + diff --git a/xsl/params/generate.foilgroup.numbered.toc.xml b/xsl/params/generate.foilgroup.numbered.toc.xml new file mode 100644 index 000000000..f43a8c9ca --- /dev/null +++ b/xsl/params/generate.foilgroup.numbered.toc.xml @@ -0,0 +1,29 @@ + + +generate.foilgroup.numbered.toc +boolean + + +generate.foilgroup.numbered.toc +Specifies whether foilgroups have a numbered TOC + + + + + 1 + + + +Description + +If TOC generation is turned on, this parameter specifies + whether foilgroups have a numbered TOC. If disabled, TOC items + will be bulleted, not numbered. + + + diff --git a/xsl/params/generate.foilgroup.toc.xml b/xsl/params/generate.foilgroup.toc.xml new file mode 100644 index 000000000..a6bb67492 --- /dev/null +++ b/xsl/params/generate.foilgroup.toc.xml @@ -0,0 +1,28 @@ + + +generate.foilgroup.toc +boolean + + +generate.foilgroup.toc +Specifies whether foilgroups have a TOC + + + + + 1 + + + +Description + +This parameter specifies whether foilgroups will + contain a table of contents of the included foils. + + + diff --git a/xsl/params/generate.handoutnotes.xml b/xsl/params/generate.handoutnotes.xml new file mode 100644 index 000000000..d6138e024 --- /dev/null +++ b/xsl/params/generate.handoutnotes.xml @@ -0,0 +1,28 @@ + + +generate.handoutnotes +boolean + + +generate.handoutnotes +Specifies whether handoutnotes are generated + + + + + 0 + + + +Description + +This parameter specifies whether handoutnotes shall + be generated to the output. + + + diff --git a/xsl/params/generate.page.number.xml b/xsl/params/generate.page.number.xml new file mode 100644 index 000000000..b3e14747a --- /dev/null +++ b/xsl/params/generate.page.number.xml @@ -0,0 +1,58 @@ + + +generate.page.number +list +full1/2 +compact1 +no + + +generate.page.number +Specifies whether page numbers are generated + + + + + compact + + + +Description + +This parameter specifies how page numbers are generated in + the footer area. + + + + no + + No page numbers generated at all. + + + + full + + Current page number, a slash and the total number of pages + + + + compact + + Current page number only + + + + no + + No page numbers generated at all. + + + + + + diff --git a/xsl/params/generate.pubdate.xml b/xsl/params/generate.pubdate.xml new file mode 100644 index 000000000..14fdd2437 --- /dev/null +++ b/xsl/params/generate.pubdate.xml @@ -0,0 +1,28 @@ + + +generate.pubdate +boolean + + +generate.pubdate +Specifies whether the pubdate is generated + + + + + 1 + + + +Description + +This parameter specifies whether the publication date is generated + in the footer area. + + + diff --git a/xsl/params/generate.speakernotes.xml b/xsl/params/generate.speakernotes.xml new file mode 100644 index 000000000..72e41c30e --- /dev/null +++ b/xsl/params/generate.speakernotes.xml @@ -0,0 +1,28 @@ + + +generate.speakernotes +boolean + + +generate.speakernotes +Specifies whether speakernotes are generated + + + + + 0 + + + +Description + +This parameter specifies whether speakernotes shall + be generated to the output. + + + diff --git a/xsl/params/generate.titlepage.xml b/xsl/params/generate.titlepage.xml new file mode 100644 index 000000000..86135f864 --- /dev/null +++ b/xsl/params/generate.titlepage.xml @@ -0,0 +1,28 @@ + + +generate.titlepage +boolean + + +generate.titlepage +Specifies whether titlepage is generated + + + + + 1 + + + +Description + +This parameter specifies whether titlepage is generated + for the presentation. + + + diff --git a/xsl/params/handoutnotes.properties.xml b/xsl/params/handoutnotes.properties.xml new file mode 100644 index 000000000..251e3ac0a --- /dev/null +++ b/xsl/params/handoutnotes.properties.xml @@ -0,0 +1,28 @@ + + +handoutnotes.properties +attribute set + + +footnote.properties +Properties applied to handoutnotes + + + + + + + + + +Description + +This attribute set is applied to handoutnotes. + + + diff --git a/xsl/params/mml.embedding.mode.fo.xml b/xsl/params/mml.embedding.mode.fo.xml new file mode 100644 index 000000000..171ec9da7 --- /dev/null +++ b/xsl/params/mml.embedding.mode.fo.xml @@ -0,0 +1,54 @@ + + +mml.embedding.mode +list +inline +external-graphic +instream-foreign-object + + +mml.embedding.mode +Specifies how inline MathML is processed + + + + + external-graphic + + + +Description + +This parameter specifies how inline MathML formulas + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + external-graphic + + Content is extracted into an externel file and referenced + by an external-graphic element. + + + + instream-foreign-object + + Content is copied over with its namespace inside an + instream-foreign-object element. + + + + + + diff --git a/xsl/params/mml.embedding.mode.xml b/xsl/params/mml.embedding.mode.xml new file mode 100644 index 000000000..98a5b5349 --- /dev/null +++ b/xsl/params/mml.embedding.mode.xml @@ -0,0 +1,78 @@ + + +mml.embedding.mode +list +inline +object +image +link +iframe +embed + + +mml.embedding.mode +Specifies how inline MathML is processed + + + + + inline + + + +Description + +This parameter specifies how inline MathML formulas + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + object + + Content is extracted into an externel file and referenced + by an object element. + + + + image + + Content is extracted into an externel file and referenced + by an img element. + + + + link + + Content is extracted into an externel file and referenced + by an a element. + + + + iframe + + Content is extracted into an externel file and referenced + by an iframe element. + + + + embed + + Content is extracted into an externel file and referenced + by an embed element. + + + + + + diff --git a/xsl/params/s5.controls.xml b/xsl/params/s5.controls.xml new file mode 100644 index 000000000..eae24b8ac --- /dev/null +++ b/xsl/params/s5.controls.xml @@ -0,0 +1,28 @@ + + +s5.controls +boolean + + +s5.controls +Specifies whether S5 controls are visible + + + + + 0 + + + +Description + +This parameter specifies whether S5 navigation controls are + visible by default. + + + diff --git a/xsl/params/s5.defaultview.xml b/xsl/params/s5.defaultview.xml new file mode 100644 index 000000000..42360aaff --- /dev/null +++ b/xsl/params/s5.defaultview.xml @@ -0,0 +1,30 @@ + + +s5.defaultview +list +slideshow +outline + + +s5.defaultview +Specifies the default S5 view + + + + + slideshow + + + +Description + +This parameter specifies, which is the default view + in the generated S5 presentation. + + + diff --git a/xsl/params/s5.opera.css.xml b/xsl/params/s5.opera.css.xml new file mode 100644 index 000000000..791f7a084 --- /dev/null +++ b/xsl/params/s5.opera.css.xml @@ -0,0 +1,28 @@ + + +s5.opera.css +filename + + +s5.opera.css +Specifies the name of the S5 Opera-specific CSS file + + + + + opera.css + + + +Description + +This parameter specifies the name of the S5 Opera-specific + CSS file. + + + diff --git a/xsl/params/s5.outline.css.xml b/xsl/params/s5.outline.css.xml new file mode 100644 index 000000000..0afc0c764 --- /dev/null +++ b/xsl/params/s5.outline.css.xml @@ -0,0 +1,27 @@ + + +s5.outline.css +filename + + +s5.outline.css +Specifies the name of the S5 outline CSS file + + + + + outline.css + + + +Description + +This parameter specifies the name of the S5 outline CSS file. + + + diff --git a/xsl/params/s5.path.prefix.xml b/xsl/params/s5.path.prefix.xml new file mode 100644 index 000000000..6913182cd --- /dev/null +++ b/xsl/params/s5.path.prefix.xml @@ -0,0 +1,29 @@ + + +s5.path.prefix +uri + + +s5.path.prefix +Specifies the path to S5 files + + + + + files/s5/ui/default/ + + + +Description + +This parameter specifies the path where S5 CSS and + JavaScript files reside. All the CSS and JavaScript paths + will be generated relative to this directory. + + + diff --git a/xsl/params/s5.print.css.xml b/xsl/params/s5.print.css.xml new file mode 100644 index 000000000..4e56aab7e --- /dev/null +++ b/xsl/params/s5.print.css.xml @@ -0,0 +1,27 @@ + + +s5.print.css +filename + + +s5.print.css +Specifies the name of the S5 print CSS file + + + + + print.css + + + +Description + +This parameter specifies the name of the S5 print CSS file. + + + diff --git a/xsl/params/s5.slides.css.xml b/xsl/params/s5.slides.css.xml new file mode 100644 index 000000000..ca47eb00a --- /dev/null +++ b/xsl/params/s5.slides.css.xml @@ -0,0 +1,27 @@ + + +s5.slides.css +filename + + +s5.slides.css +Specifies the name of the S5 slides CSS file + + + + + slides.css + + + +Description + +This parameter specifies the name of the S5 slides CSS file. + + + diff --git a/xsl/params/s5.slides.js.xml b/xsl/params/s5.slides.js.xml new file mode 100644 index 000000000..f0c3713f5 --- /dev/null +++ b/xsl/params/s5.slides.js.xml @@ -0,0 +1,28 @@ + + +s5.slides.js +filename + + +s5.slides.js +Specifies the name of the S5 slides JavaScript file + + + + + slides.js + + + +Description + +This parameter specifies the name of the S5 slides JavaScript + file. + + + diff --git a/xsl/params/slides.titlepage.author.properties.xml b/xsl/params/slides.titlepage.author.properties.xml new file mode 100644 index 000000000..041710ace --- /dev/null +++ b/xsl/params/slides.titlepage.author.properties.xml @@ -0,0 +1,32 @@ + + +slides.titlepage.author.properties +attribute set + + +slides.titlepage.author.properties +Specifies properties for slides titlepage title + + + + + + center + 1em + 20.736pt + + + + +Description + +This parameter specifies properties for the author on the default + titlepage. + + + diff --git a/xsl/params/slides.titlepage.authorgroup.properties.xml b/xsl/params/slides.titlepage.authorgroup.properties.xml new file mode 100644 index 000000000..81b0cf45f --- /dev/null +++ b/xsl/params/slides.titlepage.authorgroup.properties.xml @@ -0,0 +1,28 @@ + + +slides.titlepage.authorgroup.properties +attribute set + + +slides.titlepage.authorgroup.properties +Specifies properties for slides titlepage title + + + + + + + + +Description + +This parameter specifies properties for the authorgroup on the default + titlepage. + + + diff --git a/xsl/params/slides.titlepage.corpauthor.properties.xml b/xsl/params/slides.titlepage.corpauthor.properties.xml new file mode 100644 index 000000000..63f6ba8a9 --- /dev/null +++ b/xsl/params/slides.titlepage.corpauthor.properties.xml @@ -0,0 +1,32 @@ + + +slides.titlepage.corpauthor.properties +attribute set + + +slides.titlepage.corpauthor.properties +Specifies properties for slides titlepage title + + + + + + center + 1em + 20.736pt + + + + +Description + +This parameter specifies properties for the corpauthor on the default + titlepage. + + + diff --git a/xsl/params/slides.titlepage.master.properties.xml b/xsl/params/slides.titlepage.master.properties.xml new file mode 100644 index 000000000..6b0a1c44a --- /dev/null +++ b/xsl/params/slides.titlepage.master.properties.xml @@ -0,0 +1,46 @@ + + +slides.titlepage.master.properties +attribute set + + +slides.titlepage.master.properties +Specifies properties for slides titlepage master + + + + + + + + + + + + + + + + + + + + + + + + + + + +Description + +This parameter specifies properties for the slides titlepage master. + + + diff --git a/xsl/params/slides.titlepage.pubdate.properties.xml b/xsl/params/slides.titlepage.pubdate.properties.xml new file mode 100644 index 000000000..59ac6ed17 --- /dev/null +++ b/xsl/params/slides.titlepage.pubdate.properties.xml @@ -0,0 +1,32 @@ + + +slides.titlepage.pubdate.properties +attribute set + + +slides.titlepage.pubdate.properties +Specifies properties for slides titlepage title + + + + + + center + 1em + 17.28pt + + + + +Description + +This parameter specifies properties for the pubdate on the default + titlepage. + + + diff --git a/xsl/params/slides.titlepage.region-body.properties.xml b/xsl/params/slides.titlepage.region-body.properties.xml new file mode 100644 index 000000000..5cfc81d69 --- /dev/null +++ b/xsl/params/slides.titlepage.region-body.properties.xml @@ -0,0 +1,33 @@ + + +slides.titlepage.region-body.properties +attribute set + + +slides.titlepage.region-body.properties +Specifies properties for slides titlepage region-body + + + + + + 0pt + 0pt + + + + + + + +Description + +This parameter specifies properties for the slides titlepage region-body. + + + diff --git a/xsl/params/slides.titlepage.subtitle.properties.xml b/xsl/params/slides.titlepage.subtitle.properties.xml new file mode 100644 index 000000000..ecaf193fe --- /dev/null +++ b/xsl/params/slides.titlepage.subtitle.properties.xml @@ -0,0 +1,34 @@ + + +slides.titlepage.subtitle.properties +attribute set + + +slides.titlepage.subtitle.properties +Specifies properties for slides titlepage title + + + + + + center + 1em + + + + + + + +Description + +This parameter specifies properties for the subtitle on the default + titlepage. + + + diff --git a/xsl/params/slides.titlepage.title.properties.xml b/xsl/params/slides.titlepage.title.properties.xml new file mode 100644 index 000000000..d4facbc0d --- /dev/null +++ b/xsl/params/slides.titlepage.title.properties.xml @@ -0,0 +1,40 @@ + + +slides.titlepage.title.properties +attribute set + + +slides.titlepage.title.properties +Specifies properties for slides titlepage title + + + + + + center + 1em + 1.5in + always + + + + bold + + + + + + + +Description + +This parameter specifies properties for the title on the default + titlepage. + + + diff --git a/xsl/params/slidy.duration.xml b/xsl/params/slidy.duration.xml new file mode 100644 index 000000000..6d81ddf27 --- /dev/null +++ b/xsl/params/slidy.duration.xml @@ -0,0 +1,29 @@ + + +slidy.duration +integer + + +slidy.duration +Specifies the duration of the presentation + + + + + 0 + + + +Description + +This parameter specifies the duration of the presentation + in minutes. A JavaScript clock will count down to help the + speaker in not running out of time. Can be disabled if set to 0. + + + diff --git a/xsl/params/slidy.path.prefix.xml b/xsl/params/slidy.path.prefix.xml new file mode 100644 index 000000000..f3da6f356 --- /dev/null +++ b/xsl/params/slidy.path.prefix.xml @@ -0,0 +1,29 @@ + + +slidy.path.prefix +uri + + +slidy.path.prefix +Specifies the path to Slidy files + + + + + files/slidy/ + + + +Description + +This parameter specifies the path where Slidy CSS and + JavaScript files reside. All the CSS and JavaScript paths + will be generated relative to this directory. + + + diff --git a/xsl/params/slidy.slidy.css.xml b/xsl/params/slidy.slidy.css.xml new file mode 100644 index 000000000..e288b7b84 --- /dev/null +++ b/xsl/params/slidy.slidy.css.xml @@ -0,0 +1,27 @@ + + +slidy.slidy.css +filename + + +slidy.slidy.css +Specifies the name of the main Slidy CSS file + + + + + styles/slidy.css + + + +Description + +This parameter specifies the name of the main Slidy CSS file. + + + diff --git a/xsl/params/slidy.slidy.js.xml b/xsl/params/slidy.slidy.js.xml new file mode 100644 index 000000000..aba413a1f --- /dev/null +++ b/xsl/params/slidy.slidy.js.xml @@ -0,0 +1,27 @@ + + +slidy.slidy.js +filename + + +slidy.slidy.js +Specifies the name of the Slidy JavaScript file + + + + + scripts/slidy.js + + + +Description + +This parameter specifies the name of the Slidy JavaScript file. + + + diff --git a/xsl/params/slidy.user.css.xml b/xsl/params/slidy.user.css.xml new file mode 100644 index 000000000..f14e24fd0 --- /dev/null +++ b/xsl/params/slidy.user.css.xml @@ -0,0 +1,27 @@ + + +slidy.user.css +filename + + +slidy.user.css +Specifies the name of the Slidy user CSS file + + + + + styles/w3c-blue.css + + + +Description + +This parameter specifies the name of the Slidy user CSS file. + + + diff --git a/xsl/params/speakernotes.properties.xml b/xsl/params/speakernotes.properties.xml new file mode 100644 index 000000000..f652a5dba --- /dev/null +++ b/xsl/params/speakernotes.properties.xml @@ -0,0 +1,28 @@ + + +speakernotes.properties +attribute set + + +footnote.properties +Properties applied to speakernotes + + + + + + + + + +Description + +This attribute set is applied to speakernotes. + + + diff --git a/xsl/params/svg.embedding.mode.fo.xml b/xsl/params/svg.embedding.mode.fo.xml new file mode 100644 index 000000000..b501a77c0 --- /dev/null +++ b/xsl/params/svg.embedding.mode.fo.xml @@ -0,0 +1,53 @@ + + +svg.embedding.mode +list +external-graphic +instream-foreign-object + + +svg.embedding.mode +Specifies how inline SVG is processed + + + + + instream-foreign-object + + + +Description + +This parameter specifies how inline SVG graphics + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + external-graphic + + Content is extracted into an externel file and referenced + by an external-graphic element. + + + + instream-foreign-object + + Content is copied over with its namespace inside an + instream-foreign-object element. + + + + + + diff --git a/xsl/params/svg.embedding.mode.xml b/xsl/params/svg.embedding.mode.xml new file mode 100644 index 000000000..891737fbe --- /dev/null +++ b/xsl/params/svg.embedding.mode.xml @@ -0,0 +1,78 @@ + + +svg.embedding.mode +list +inline +object +image +link +iframe +embed + + +svg.embedding.mode +Specifies how inline SVG is processed + + + + + object + + + +Description + +This parameter specifies how inline SVG graphics + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + object + + Content is extracted into an externel file and referenced + by an object element. + + + + image + + Content is extracted into an externel file and referenced + by an img element. + + + + link + + Content is extracted into an externel file and referenced + by an a element. + + + + iframe + + Content is extracted into an externel file and referenced + by an iframe element. + + + + embed + + Content is extracted into an externel file and referenced + by an embed element. + + + + + + diff --git a/xsl/params/user.css.xml b/xsl/params/user.css.xml new file mode 100644 index 000000000..e58254f2e --- /dev/null +++ b/xsl/params/user.css.xml @@ -0,0 +1,29 @@ + + +user.css +filename + + +user.css +Specifies the path to user-supplied CSS + + + + + user.css + + + +Description + +This parameter specifies the path from where the + CSS styling is read. This file can be used to + add additional styling to the slides. + + + diff --git a/xsl/params/wrap.slidecontent.xml b/xsl/params/wrap.slidecontent.xml new file mode 100644 index 000000000..09a515f09 --- /dev/null +++ b/xsl/params/wrap.slidecontent.xml @@ -0,0 +1,28 @@ + + +wrap.slidecontent +boolean + + +wrap.slidecontent +Specifies whether the foil content is wrapped into a div + + + + + 0 + + + +Description + +This parameter specifies whether the foil content is wrapped into + a div so that additional styling can be applied. + + + diff --git a/xsl/slides/Makefile b/xsl/slides/Makefile index e44c30e75..ae12fb10a 100644 --- a/xsl/slides/Makefile +++ b/xsl/slides/Makefile @@ -1,17 +1,13 @@ include $(DOCBOOK_SVN)/buildtools/Makefile.incl -DIRS = fo html xhtml +DIRS = fo xhtml base: - for i in $(DIRS) __bogus__; do \ - if [ $$i != __bogus__ ] ; then \ - echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \ - fi \ + for i in $(DIRS); do \ + echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \ done clean: - for i in $(DIRS) __bogus__; do \ - if [ $$i != __bogus__ ] ; then \ - echo "$(MAKE) -C $$i clean"; $(MAKE) -C $$i clean; \ - fi \ + for i in $(DIRS); do \ + echo "$(MAKE) -C $$i clean"; $(MAKE) -C $$i clean; \ done diff --git a/xsl/slides/browser/.gitignore b/xsl/slides/browser/.gitignore deleted file mode 100644 index 56631abf1..000000000 --- a/xsl/slides/browser/.gitignore +++ /dev/null @@ -1 +0,0 @@ -ChangeLog diff --git a/xsl/slides/browser/CTOCWidget.js b/xsl/slides/browser/CTOCWidget.js deleted file mode 100644 index a411ea995..000000000 --- a/xsl/slides/browser/CTOCWidget.js +++ /dev/null @@ -1,169 +0,0 @@ -/* - * CTOCWidget.js - * $Revision: 1.3 $ $Date: 2003/07/14 06:02:50 $ - */ - -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is Netscape code. - * - * The Initial Developer of the Original Code is - * Netscape Corporation. - * Portions created by the Initial Developer are Copyright (C) 2003 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): Bob Clary - * - * ***** END LICENSE BLOCK ***** */ - -function CTOCWidget(domTOCModel, target) -{ - if (domTOCModel.documentElement.nodeName != 'toc') - { - throw 'CTOCWidget called on non toc Document: ' + domTOCModel.nodeName; - } - - this.model = domTOCModel; - this.target = target; - this.view = document.createElement('div'); - this.view.setAttribute('class', CTOCWidget._classprefix + '_view'); - - var modelItems = domTOCModel.documentElement.childNodes; - for (var i = 0; i < modelItems.length; i++) - { - var modelItem = modelItems.item(i); - if (modelItem.nodeType == Node.ELEMENT_NODE) - { - var viewItem = CTOCWidget.createItemView(modelItem, target); - this.view.appendChild(viewItem); - } - } -} - -CTOCWidget._handleImages = { open: '/toolbox/examples/2003/CTOCWidget/minus.gif', closed: '/toolbox/examples/2003/CTOCWidget/plus.gif', height: '12px', width: '16px'}; -CTOCWidget._classprefix = 'CTOCWidget'; - -CTOCWidget.createItemView = function (modelItem, target) -{ - if (modelItem.nodeType != Node.ELEMENT_NODE) - { - throw 'CTOCWidget.createItemView called on non-Element: ' + modelItem.nodeName; - } - - var i; - - var viewItem = document.createElement('div'); - viewItem.setAttribute('class', CTOCWidget._classprefix + '_item'); - - var viewItemHandle = document.createElement('div'); - viewItemHandle.setAttribute('class', CTOCWidget._classprefix + '_itemhandle'); - viewItemHandle.style.cursor = 'pointer'; - - var viewItemHandleImg = document.createElement('img'); - viewItemHandleImg.style.height = CTOCWidget._handleImages.height; - viewItemHandleImg.style.width = CTOCWidget._handleImages.width; - viewItemHandleImg.addEventListener('click', CTOCWidget.toggleHandle, false); - - var viewItemHandleLink; - if (!modelItem.getAttribute('url')) - { - viewItemHandleLink = document.createElement('span'); - } - else - { - viewItemHandleLink = document.createElement('a'); - viewItemHandleLink.setAttribute('href', modelItem.getAttribute('url')); - viewItemHandleLink.setAttribute('target', target); - } - viewItemHandleLink.appendChild(document.createTextNode(modelItem.getAttribute('title'))); - - viewItemHandle.appendChild(viewItemHandleImg); - viewItemHandle.appendChild(viewItemHandleLink); - viewItem.appendChild(viewItemHandle); - - if (modelItem.childNodes.length == 0) - { - viewItemHandleImg.setAttribute('src', CTOCWidget._handleImages.open); - } - else - { - viewItemHandleImg.setAttribute('src', CTOCWidget._handleImages.closed); - - var viewItemChildren = document.createElement('div'); - viewItemChildren.setAttribute('class', CTOCWidget._classprefix + '_itemchildren'); - viewItemChildren.style.display = 'none'; - viewItemChildren.style.position = 'relative'; - viewItemChildren.style.left = '1em'; - - for (i = 0; i < modelItem.childNodes.length; i++) - { - var modelItemChild = modelItem.childNodes.item(i); - if (modelItemChild.nodeType == Node.ELEMENT_NODE) - { - viewItemChildren.appendChild(CTOCWidget.createItemView(modelItemChild, target)); - } - } - - viewItem.appendChild(viewItemChildren); - } - - return viewItem; -}; - -// fires on img part of the handle -CTOCWidget.toggleHandle = function(e) -{ - switch (e.eventPhase) - { - case Event.CAPTURING_PHASE: - case Event.BUBBLING_PHASE: - return true; - - case Event.AT_TARGET: - - e.preventBubble(); - - var domHandle = e.target.parentNode; - var domChildren = domHandle.nextSibling; - - if (!domChildren) - { - return true; - } - - switch(domChildren.style.display) - { - case '': - case 'block': - domChildren.style.display = 'none'; - e.target.setAttribute('src', CTOCWidget._handleImages.closed); - break; - case 'none': - domChildren.style.display = 'block'; - e.target.setAttribute('src', CTOCWidget._handleImages.open); - break; - default: - return false; - } - - return true; - - default: - dump('Unknown Event Phase ' + e.eventPhase); - break; - } - - return true; -} - diff --git a/xsl/slides/browser/overlay.js b/xsl/slides/browser/overlay.js deleted file mode 100644 index fc010fbe9..000000000 --- a/xsl/slides/browser/overlay.js +++ /dev/null @@ -1,142 +0,0 @@ -// -*- Java -*- -// -// Overlay.js, adapted from Floating image II on dynamicdrive.com -/* Usage: - - - -...rest of head... - - -
-...body of overlay... -
-...rest of page... -*/ - -var overlayNS4 = document.layers ? 1 : 0; -var overlayIE = document.all ? 1 : 0; -var overlayNS6 = document.getElementById && !document.all ? 1 : 0; - -var overlayPadX = 15; -var overlayPadY = 15; -var overlayDelay = 60; - -var overlayCorner = 'ur'; // ul, ll, ur, lr, uc, lc, cl, cr - -function overlayRefresh() { - var overlayLx = 0; - var overlayLy = 0; - - var overlayX = 0; - var overlayY = 0; - var overlayW = 0; - var overlayH = 0; - var contentH = 0; - - var links = document.getElementsByTagName("body")[0]; - - if (overlayIE) { - overlayLx = document.body.clientWidth; - overlayLy = document.body.clientHeight; - - if (document.body.parentElement) { - // For IE6 - overlayLx = document.body.parentElement.clientWidth; - overlayLy = document.body.parentElement.clientHeight; - } - - overlayH = overlayDiv.offsetHeight; - overlayW = body.offsetWidth; // overlayDiv.offsetWidth; - contentH = body.offsetHeight; - } else if (overlayNS4) { - overlayLy = window.innerHeight; - overlayLx = window.innerWidth; - overlayH = document.overlayDiv.clip.height; - overlayW = body.clip.width; // document.overlayDiv.clip.width; - contentH = body.clip.height; - } else if (overlayNS6) { - var odiv = document.getElementById('overlayDiv'); - - overlayLy = window.innerHeight; - overlayLx = window.innerWidth; - overlayH = odiv.offsetHeight; - overlayW = odiv.offsetWidth; // body.offsetWidth; - contentH = odiv.offsetHeight; - } - - if (overlayCorner == 'ul') { - overlayX = overlayPadX; - overlayY = overlayPadY; - } else if (overlayCorner == 'cl') { - overlayX = overlayPadX; - overlayY = (overlayLy - overlayH) / 2; - } else if (overlayCorner == 'll') { - overlayX = overlayPadX; - overlayY = (overlayLy - overlayH) - overlayPadY; - } else if (overlayCorner == 'ur') { - overlayX = (overlayLx - overlayW) - overlayPadX; - overlayY = overlayPadY; - } else if (overlayCorner == 'cr') { - overlayX = (overlayLx - overlayW) - overlayPadX; - overlayY = (overlayLy - overlayH) / 2; - } else if (overlayCorner == 'lr') { - overlayX = (overlayLx - overlayW) - overlayPadX; - overlayY = (overlayLy - overlayH) - overlayPadY; - } else if (overlayCorner == 'uc') { - overlayX = (overlayLx - overlayW) / 2; - overlayY = overlayPadY; - } else { // overlayCorner == 'lc' - overlayX = (overlayLx - overlayW) / 2; - overlayY = (overlayLy - overlayH) - overlayPadY; - } - - if (overlayIE) { - overlayDiv.style.left=overlayX; - overlayDiv.style.top=overlayY+document.body.scrollTop; - - if (contentH > overlayLy) { - overlayDiv.style.visibility = "hidden"; - } - } else if (overlayNS4) { - document.overlayDiv.pageX=overlayX; - document.overlayDiv.pageY=overlayY+window.pageYOffset; - document.overlayDiv.visibility="visible"; - - if (contentH > overlayLy) { - document.overlayDiv.style.visibility = "hidden"; - } - } else if (overlayNS6) { - var div = document.getElementById("overlayDiv"); - var leftpx = overlayX; - var toppx = overlayY+window.pageYOffset; - var widthpx = overlayW; - - div.style.left = leftpx + "px"; - div.style.top = toppx + "px"; - div.style.width = widthpx + "px"; - - if (contentH > overlayLy) { - div.style.visibility = "hidden"; - } else { - div.style.visibility = "visible"; - } - } -} - -function onad() { - loopfunc(); -} - -function loopfunc() { - overlayRefresh(); - setTimeout('loopfunc()',overlayDelay); -} - -function overlaySetup(corner) { - overlayCorner = corner; - - if (overlayIE || overlayNS4 || overlayNS6) { - onad(); - } -} diff --git a/xsl/slides/browser/slides-default.css b/xsl/slides/browser/slides-default.css deleted file mode 100644 index 1022d6bc0..000000000 --- a/xsl/slides/browser/slides-default.css +++ /dev/null @@ -1,9 +0,0 @@ -@import url('slides.css'); - -.toclink { font-size: 10pt; - font-weight: normal; - } - -.toclink a { color: blue; } -.toclink a:link { color: blue; } -.toclink a:visited { color: blue; } diff --git a/xsl/slides/browser/slides-frames.css b/xsl/slides/browser/slides-frames.css deleted file mode 100644 index 698b6a3e2..000000000 --- a/xsl/slides/browser/slides-frames.css +++ /dev/null @@ -1,73 +0,0 @@ -@import url('slides.css'); - -.toc-body { margin-left: 2px; - margin-right: 2px; - } - -.foil-body { margin-left: 2px; - margin-right: 2px; - } - -h1.title { margin-top: 0px; - padding-top: 0px; - } - -.navhead { visibility: visible; - } - -.navfoot { visibility: visible; - } - -/* ====================================================================== */ - -.navfoot { border-top: 1px solid black; - margin-top: 10px; - padding-top: 4px; - } -/* ====================================================================== */ - -.toc { font-weight: bold; - font-size: 10pt; - } - -.toc a { text-decoration: none; } -.toc a:link { color: blue; } -.toc a:visited { color: blue; } - -.toc .toc-foilgroup a { color: red; } -.toc .toc-foilgroup a:link { color: red; } -.toc .toc-foilgroup a:visited { color: red; } - -.toc .toc-titlefoil a { color: black; } -.toc .toc-titlefoil a:link { color: black; } -.toc .toc-titlefoil a:visited { color: black; } - -.toc .toc-foil a { color: blue; } -.toc .toc-foil a:link { color: blue; } -.toc .toc-foil a:visited { color: blue; } - -.toc-slidesinfo { font-family: sans-serif; - font-weight: bold; - text-align: center; - } - -.toc-titlefoil { font-family: sans-serif; - font-weight: bold; - text-align: center; - } - -.toc-foilgroup { font-family: sans-serif; - margin-left: 0.25in; - text-indent: -0.25in; - font-weight: bold; - color: red; - } - -.toc-foil { font-family: sans-serif; - font-size: 10pt; - margin-left: 0.25in; - text-indent: -0.4in; - font-weight: bold; - color: blue; - } - diff --git a/xsl/slides/browser/slides-plain.css b/xsl/slides/browser/slides-plain.css deleted file mode 100644 index c22f2891c..000000000 --- a/xsl/slides/browser/slides-plain.css +++ /dev/null @@ -1 +0,0 @@ -@import url('slides.css'); diff --git a/xsl/slides/browser/slides-table.css b/xsl/slides/browser/slides-table.css deleted file mode 100644 index 1c195c9e5..000000000 --- a/xsl/slides/browser/slides-table.css +++ /dev/null @@ -1,41 +0,0 @@ -@import url('slides.css'); - -.toc-body { margin-left: 2px; - margin-right: 2px; - } - -.foil-body { margin-left: 2px; - margin-right: 2px; - } - -.foilgroup-body { margin-left: 2px; - margin-right: 2px; - } - -h1.title { - margin-top: 0px; - padding-top: 0px; - } - -/* ToC Stuff */ - -.ttoc { - font-size: 10pt; - color: white; - } - -.ttoc a { text-decoration: none; } -.ttoc a:link { color: white } -.ttoc a:visited { color: white } - -.ttoc-title { - font-size: 10pt; - } - -.ttoc-foilset { - font-size: 10pt; - } - -.ttoc-foil { - font-size: 10pt; - } diff --git a/xsl/slides/browser/slides-w3c.css b/xsl/slides/browser/slides-w3c.css deleted file mode 100644 index c22f2891c..000000000 --- a/xsl/slides/browser/slides-w3c.css +++ /dev/null @@ -1 +0,0 @@ -@import url('slides.css'); diff --git a/xsl/slides/browser/slides.css b/xsl/slides/browser/slides.css deleted file mode 100644 index 1007478e8..000000000 --- a/xsl/slides/browser/slides.css +++ /dev/null @@ -1,119 +0,0 @@ -/* General formatting */ - -body { font-family: sans-serif; - font-weight: bold; - } - -.copyright { color: #7F7F7F; - } - -/* Title page formatting */ - - -.slidesinfo { text-align: center; - font-size: 16pt; - } - -.slidesinfo h1.title { color: blue; - } -.slidesinfo h2.subtitle { color: blue; - } -.slidesinfo h1.author { color: green; - } - -.slidesinfo .copyright { color: black; - } - - -/* ToC page formatting */ - -.tocpage h1.title { color: blue; - text-align: center; - } - -.tocpage a { text-decoration: none; } -.tocpage a:link { color: blue; } -.tocpage a:visited { color: blue; } - -.toc-body { margin-left: 0.5in; - margin-right: 0.5in; - } - -/* Foil page formatting */ - -.foil { font-size: 16pt; - } -.foil h1.title { text-align: center; - color: blue; - padding-top: 0pt; - margin-top: 0pt; - } -.foil h2.subtitle { text-align: center; - color: blue; - padding-top: 0pt; - margin-top: 0pt; - } - -.foil pre { font-size: 16pt; - } - -.foil-body { margin-left: 0.5in; - margin-right: 0.5in; - } - -/* Foilgroup page formatting */ - -.foilgroup { font-size: 16pt; - } -.foilgroup h1.title { text-align: center; - color: red; - padding-top: 0pt; - margin-top: 0pt; - } -.foilgroup h2.subtitle { text-align: center; - color: blue; - padding-top: 0pt; - margin-top: 0pt; - } - -.foilgroup-body { margin-left: 0.5in; - margin-right: 0.5in; - } - -/* Navigation header formatting */ - -.navhead { border-bottom: 1px solid black; - margin-bottom: 10px; - padding-bottom: 4px; - } - -.navhead hr.top-nav-sep { display: none; } - -.navhead .slidestitle { font-weight: normal; - font-size: 10pt; - font-style: italic; - } - -/* Navigation footer formatting */ - -.navfoot { border-top: 1px solid black; - margin-top: 10px; - padding-top: 4px; - } - -.navfoot hr.bottom-nav-sep { display: none; } - -/* General navigation formatting */ - -.link-text { font-weight: bold; - font-size: 10pt; - } - - -.link-text a { text-decoration: none; } -.link-text a:link { color: blue; } -.link-text a:visited { color: blue; } - -.no-link-text { color: #7F7F7F; } - -/* EOF */ diff --git a/xsl/slides/browser/slides.js b/xsl/slides/browser/slides.js deleted file mode 100644 index 5475767a3..000000000 --- a/xsl/slides/browser/slides.js +++ /dev/null @@ -1,120 +0,0 @@ -// -*- Java -*- -// -// $Id$ -// -// Copyright (C) 2002 Norman Walsh -// -// You are free to use, modify and distribute this software without limitation. -// This software is provided "AS IS," without a warranty of any kind. -// -// This script assumes that the Netscape 'ua.js' module has also been loaded. - -function newPage(filename, overlay) { - divs = document.getElementsByTagName("div"); - - if (divs) { - var xdiv = divs[0]; - - if (xdiv) { - var xid = xdiv.getAttribute("id"); - - var mytoc = window.top.frames[0]; - if (mytoc.lastUnderlined) { - mytoc.lastUnderlined.style.textDecoration = "none"; - } - - var tdiv = xbGetElementById(xid, mytoc); - - if (tdiv) { - var ta = tdiv.getElementsByTagName("a").item(0); - ta.style.textDecoration = "underline"; - mytoc.lastUnderlined = ta; - } - } - } - - if (overlay != 0) { - overlaySetup('lc'); - } -} - - -function navigate (evt) { - var kc = -1; - - if (navigator.org == 'microsoft' || navigator.family == 'opera') { - kc = window.event.keyCode; - } else if (navigator.family == 'gecko') { - kc = evt.keyCode; - if(!kc) { - kc = evt.which; - } - } else { - kc = evt.which; - } - - var forward = (kc == 110) || (kc == 78) || (kc == 32) - || (kc == 10) || (kc == 13) || (kc == 34) - || (kc == 39); - /* n, N, SPACE, ENTER, RETURN, PAGE UP, RIGHT ARROW */ - var backward = (kc == 112) || (kc == 80) || (kc == 8) - || (kc == 33) || (kc == 37); - /* p, P, BACKSPACE, PAGE DOWN, LEFT ARROW */ - var up = (kc == 117) || (kc == 85) || (kc == 38); - /* u, U, UP ARROW */ - var home = (kc == 104) || (kc == 72) || (kc == 36); - /* h, H, HOME */ - var toc = (kc == 116) || (kc == 84); - /* t, T */ - /* previously included META (kc == 244) */ - - var links = document.getElementsByTagName("link"); - - var count = 0; - var target = ""; - - for (count = 0; count < links.length; count++) { - if (home && (links[count].getAttribute("rel") == 'top')) { - target = links[count].getAttribute("href"); - } - if (toc && (links[count].getAttribute("rel") == 'contents')) { - target = links[count].getAttribute("href"); - } - if (up && (links[count].getAttribute("rel") == 'up')) { - target = links[count].getAttribute("href"); - } - if (forward && (links[count].getAttribute("rel") == 'next')) { - target = links[count].getAttribute("href"); - } - if (backward && (links[count].getAttribute("rel") == 'previous')) { - target = links[count].getAttribute("href"); - } - } - - if (target != "") { - if (window.top.frames[1]) { - window.top.frames[1].location = target; - } else { - window.location = target; - } - } - - return false; -} - -function toggletoc (img, width, hidegraphic, showgraphic) { - var fsc = top.GetElementsByTagName('frameset'); - if (fsc) { - var fs = fsc[0]; - if (fs) { - if (fs.cols == "0,*") { - fs.cols = width + ",*"; - img.src = hidegraphic; - } else { - fs.cols = "0,*"; - img.src = showgraphic; - } - } - } -} - diff --git a/xsl/slides/browser/ua.js b/xsl/slides/browser/ua.js deleted file mode 100644 index 898765980..000000000 --- a/xsl/slides/browser/ua.js +++ /dev/null @@ -1,135 +0,0 @@ -/* - * ua.js - * $Revision: 1.2 $ $Date: 2003/02/07 16:04:17 $ - */ - -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is Netscape code. - * - * The Initial Developer of the Original Code is - * Netscape Corporation. - * Portions created by the Initial Developer are Copyright (C) 2001 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): Bob Clary - * - * ***** END LICENSE BLOCK ***** */ - -function xbDetectBrowser() -{ - var oldOnError = window.onerror; - var element = null; - - window.onerror = null; - - // work around bug in xpcdom Mozilla 0.9.1 - window.saveNavigator = window.navigator; - - navigator.OS = ''; - navigator.version = parseFloat(navigator.appVersion); - navigator.org = ''; - navigator.family = ''; - - var platform; - if (typeof(window.navigator.platform) != 'undefined') - { - platform = window.navigator.platform.toLowerCase(); - if (platform.indexOf('win') != -1) - navigator.OS = 'win'; - else if (platform.indexOf('mac') != -1) - navigator.OS = 'mac'; - else if (platform.indexOf('unix') != -1 || platform.indexOf('linux') != -1 || platform.indexOf('sun') != -1) - navigator.OS = 'nix'; - } - - var i = 0; - var ua = window.navigator.userAgent.toLowerCase(); - - if (ua.indexOf('opera') != -1) - { - i = ua.indexOf('opera'); - navigator.family = 'opera'; - navigator.org = 'opera'; - navigator.version = parseFloat('0' + ua.substr(i+6), 10); - } - else if ((i = ua.indexOf('msie')) != -1) - { - navigator.org = 'microsoft'; - navigator.version = parseFloat('0' + ua.substr(i+5), 10); - - if (navigator.version < 4) - navigator.family = 'ie3'; - else - navigator.family = 'ie4' - } - else if (ua.indexOf('gecko') != -1) - { - navigator.family = 'gecko'; - var rvStart = ua.indexOf('rv:'); - var rvEnd = ua.indexOf(')', rvStart); - var rv = ua.substring(rvStart+3, rvEnd); - var rvParts = rv.split('.'); - var rvValue = 0; - var exp = 1; - - for (var i = 0; i < rvParts.length; i++) - { - var val = parseInt(rvParts[i]); - rvValue += val / exp; - exp *= 100; - } - navigator.version = rvValue; - - if (ua.indexOf('netscape') != -1) - navigator.org = 'netscape'; - else if (ua.indexOf('compuserve') != -1) - navigator.org = 'compuserve'; - else - navigator.org = 'mozilla'; - } - else if ((ua.indexOf('mozilla') !=-1) && (ua.indexOf('spoofer')==-1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('opera')==-1)&& (ua.indexOf('webtv')==-1) && (ua.indexOf('hotjava')==-1)) - { - var is_major = parseFloat(navigator.appVersion); - - if (is_major < 4) - navigator.version = is_major; - else - { - i = ua.lastIndexOf('/') - navigator.version = parseFloat('0' + ua.substr(i+1), 10); - } - navigator.org = 'netscape'; - navigator.family = 'nn' + parseInt(navigator.appVersion); - } - else if ((i = ua.indexOf('aol')) != -1 ) - { - // aol - navigator.family = 'aol'; - navigator.org = 'aol'; - navigator.version = parseFloat('0' + ua.substr(i+4), 10); - } - else if ((i = ua.indexOf('hotjava')) != -1 ) - { - // hotjava - navigator.family = 'hotjava'; - navigator.org = 'sun'; - navigator.version = parseFloat(navigator.appVersion); - } - - window.onerror = oldOnError; -} - -xbDetectBrowser(); - diff --git a/xsl/slides/browser/xbCollapsibleLists.js b/xsl/slides/browser/xbCollapsibleLists.js deleted file mode 100644 index 6a4f93c17..000000000 --- a/xsl/slides/browser/xbCollapsibleLists.js +++ /dev/null @@ -1,537 +0,0 @@ -/* -xbCollapsibleLists.js 2001-02-26 - -Contributor(s): Michael Bostock, Netscape Communications, Copyright 1997 - Bob Clary, Netscape Communications, Copyright 2001 - Seth Dillingham, Macrobyte Resources, Copyright 2001 - Mark Filanowicz, Amdahl IT Services, Copyright 2002 - -Netscape grants you a royalty free license to use, modify or -distribute this software provided that this copyright notice -appears on all copies. This software is provided "AS IS," -without a warranty of any kind. - -See xbCollapsibleLists.js.changelog.html for details of changes. -*/ - - -var xbcl__id = 0; -var xbcl_item_id = 0; -var xbcl_mLists = new Array(); -var xbcl_parentElement = null; - -document.lists = xbcl_mLists; - -function List(visible, width, height, bgColor, collapsedImageURL, expandedImageURL) -{ - this.lists = new Array(); // sublists - this.items = new Array(); // layers - this.types = new Array(); // type - this.strs = new Array(); // content - this.visible = visible; - this.id = xbcl__id; - this.width = width || 350; - this.height = height || 22; - - this.collapsedImageURL = collapsedImageURL || 'false.gif'; - this.expandedImageURL = expandedImageURL || 'true.gif'; - - if (bgColor) - this.bgColor = bgColor; - - xbcl_mLists[xbcl__id++] = this; -} - -function xbcl_SetFont(i,j) -{ - this.fontIntro = i; - this.fontOutro = j; -} - -function xbcl_GetFont() -{ - return [this.fontIntro, this.fontOutro]; -} - -function xbcl_setIndent(indent) -{ - this.i = indent; - if (this.i < 0) - { - this.i = 0; - this.space = false; - } - else - this.space = true; -} - -function xbcl_getIndent(indent) -{ - return this.i; -} - -function xbcl_writeItemDOMHTML( obj, s, flList, listObj ) -{ - var styleObj; - var outerDiv, innerLeft, innerRight; - var str; - var leftEdge = 0; - - styleObj = new xbStyle(obj); - styleObj.setVisibility('hidden'); - outerDiv = document.createElement( "DIV" ); - outerDiv.id = "DIV_" + obj.id; - styleObj = new xbStyle( outerDiv ); - styleObj.setWidth( this.width ); - - if ( flList ) - { - innerLeft = document.createElement( "DIV" ); - innerLeft.style.position = "absolute"; - innerLeft.style.valign = "middle"; - leftEdge = 15; - - styleObj = new xbStyle( innerLeft ); - styleObj.setWidth( 15 ); - styleObj.setBackgroundColor( "transparent" ); - - if ( listObj.visible ) - str = ''; - else - str = ''; - - innerLeft.innerHTML = str; - outerDiv.appendChild( innerLeft ); - } - else if ( this.space ) - leftEdge = 15; - - innerRight = document.createElement( "DIV" ); - innerRight.noWrap = true; - innerRight.style.position = "absolute"; - - styleObj = new xbStyle( innerRight ); - styleObj.setLeft( leftEdge + ( this.l * this.i ) ); - styleObj.setWidth( this.width - 15 - this.l * this.i ); - styleObj.setBackgroundColor( "transparent" ); - - // start of change by Mark Filanowicz 02-22-2002 - if ( flList ) - { - s = this.fontIntro + '' + s + this.fontOutro; - } - else - { - s = this.fontIntro + s + this.fontOutro; - } - // end of change by Mark Filanowicz 02-22-2002 - - - innerRight.innerHTML = s; - outerDiv.appendChild( innerRight ); - - obj.appendChild( outerDiv ); - - return; -} - -function xbcl_writeItem( obj, s, flList, listObj ) -{ - var cellStyle = ''; - var str = ''; - var styleObj = new xbStyle( obj ); - - styleObj.setVisibility( 'hidden' ); - - if ( document.body && document.body.style ) - cellStyle = ' style="background-color: transparent;"'; - - str += ''; - - if ( flList ) - { - str += ''; - } - else if (this.space) - str += ''; - - if (this.l>0 && this.i>0) - str += ''; - - str += '
'; - str += ''; - - if ( listObj.visible ) - str += ''; - else - str += ''; - - str += '  '; - - // start of change by Mark Filanowicz 02-22-2002 - if ( flList ) - { - str += this.fontIntro + '' + s + this.fontOutro; - } - else - { - str += this.fontIntro + s + this.fontOutro; - } - // end of change by Mark Filanowicz 02-22-2002 - - str += '
'; - - styleObj.setInnerHTML( str ); - - return; -} - -function xbcl_writeList() -{ - var item; - var i; - var flList; - - for ( i = 0; i < this.types.length; i++ ) - { - item = this.items[ i ]; - flList = ( this.types[ i ] == 'list' ); - - this._writeItem( item, this.strs[ i ], flList, this.lists[ i ] ); - - if ( flList && this.lists[ i ].visible ) - this.lists[ i ]._writeList(); - } - - this.built = true; - this.needsRewrite = false; - self.status = ''; -} - -function xbcl_showList() -{ - var item; - var styleObj; - var i; - - for (i = 0; i < this.types.length; i++) - { - item = this.items[i]; - styleObj = new xbStyle(item); - styleObj.setClipLeft(0); - styleObj.setClipRight(this.width); - styleObj.setClipTop(0); - if (item.height) - { - styleObj.setClipBottom(item.height); - styleObj.setHeight(item.height); - } - else - { - styleObj.setClipBottom(this.height); - styleObj.setHeight(this.height); - } - - if ( this.visible ) - styleObj.setVisibility( 'visible' ); - - var bg = item.oBgColor || this.bgColor; - if ((bg == null) || (bg == 'null')) - bg = ''; - - styleObj.setBackgroundColor(bg); - - if (this.types[i] == 'list' && this.lists[i].visible) - this.lists[i]._showList(); - } - this.shown = true; - this.needsUpdate = false; -} - -function xbcl_setImage(list, item, file) -{ - var id = '_img' + list.id; - var img = null; - - // for DOMHTML or IE4 use cross browser getElementById from xbStyle - // can't use it for NN4 since it only works for layers in NN4 - if (document.layers) - img = item.document.images[0]; - else - img = xbGetElementById(id); - - if (img) - img.src = file; -} - -function xbcl_getHeight() -{ - var totalHeight = 0; - var i; - - if (!this.visible) - return 0; - - for (i = 0; i < this.types.length; i++) - { - if (this.items[i].height) - totalHeight += this.items[i].height; - else - totalHeight += this.height; - - if ((this.types[i] == 'list') && this.lists[i].visible) - { - totalHeight += this.lists[i].getHeight(); - } - } - - return totalHeight; -} - -function xbcl_updateList(pVis, x, y) -{ - var currTop = y; - var item; - var styleObj; - var i; - - for (i = 0; i < this.types.length; i++) - { - item = this.items[i]; - styleObj = new xbStyle(item); - - if (this.visible && pVis) - { - styleObj.moveTo(x, currTop); - if (item.height) // allow custom heights for each item - currTop += item.height; - else - currTop += this.height; - - styleObj.setVisibility('visible'); - } - else - { - styleObj.setVisibility('hidden'); - } - - if (this.types[i] == 'list') - { - if (this.lists[i].visible) - { - if (!this.lists[i].built || this.lists[i].needsRewrite) - this.lists[i]._writeList(); - - if (!this.lists[i].shown || this.lists[i].needsUpdate) - this.lists[i]._showList(); - - xbcl_setImage(this.lists[i], item, this.expandedImageURL ); - } - else - xbcl_setImage(this.lists[i], item, this.collapsedImageURL ); - - if (this.lists[i].built) - currTop = this.lists[i]._updateList(this.visible && pVis, x, currTop); - } - } - return currTop; -} - -function xbcl_updateParent( pid, l ) -{ - var i; - - if ( !l ) - l = 0; - - this.pid = pid; - this.l = l; - - for ( i = 0; i < this.types.length; i++ ) - { - if ( this.types[ i ] == 'list' ) - { - this.lists[ i ]._updateParent( pid, l + 1 ); - } - } -} - -function xbcl_expand(i) -{ - xbcl_mLists[i].visible = !xbcl_mLists[i].visible; - - if (xbcl_mLists[i].onexpand != null) - xbcl_mLists[i].onexpand(xbcl_mLists[i].id); - - xbcl_mLists[xbcl_mLists[i].pid].rebuild(); - - if (xbcl_mLists[i].postexpand != null) - xbcl_mLists[i].postexpand(xbcl_mLists[i].id); -} - -function xbcl_build(x, y) -{ - this._updateParent(this.id); - this._writeList(); - this._showList(); - this._updateList(true, x, y); - this.x = x; - this.y = y; -} - -function xbcl_rebuild() -{ - this._updateList(true, this.x, this.y); -} - -function xbcl_getNewItem() -{ - var newItem = null; - - newItem = xbGetElementById('lItem' + xbcl_item_id); - - if (!newItem) - { - if (document.all && !document.getElementById) - { - var parentElement = this.parentElement; - if (!parentElement) - parentElement = document.body; - - parentElement.insertAdjacentHTML('beforeEnd', '
'); - newItem = xbGetElementById('lItem' + xbcl_item_id); - } - else if (document.layers) - { - if (this.parentElement) - newItem = new Layer(this.width, this.parentElement); - else - newItem = new Layer(this.width); - } - else if (document.createElement) - { - newItem = document.createElement('div'); - newItem.id= 'lItem' + xbcl_item_id; - newItem.style.position = 'absolute'; - - if (this.parentElement) - this.parentElement.appendChild(newItem); - else - document.body.appendChild(newItem); - } - } - - return newItem; -} - -function xbcl_addItem(str, bgColor, item) -{ - if (!item) - item = this._getNewItem(); - - if (!item) - return; - - if (bgColor) - item.oBgColor = bgColor; - - this.items[this.items.length] = item; - this.types[this.types.length] = 'item'; - this.strs[this.strs.length] = str; - ++xbcl_item_id; - - if ( this.built ) - { - this._writeItem( item, str, false ); - xbcl_mLists[this.pid].rebuild(); - if ( this.visible ) - this._showList(); - else - this.needsUpdate = true; - } - - return item; -} - -function xbcl_addList(list, str, bgColor, item) -{ - if (!item) - item = this._getNewItem(); - - if (!item) - return; - - if (bgColor) - item.oBgColor = bgColor; - - this.lists[this.items.length] = list; - this.items[this.items.length] = item; - this.types[this.types.length] = 'list'; - this.strs[this.strs.length] = str; - ++xbcl_item_id; - - list.parentList = this; - - list.pid = this.pid; - list.l = this.l + 1; - - if ( this.built ) - { - this._writeItem( item, str, true, list ); - xbcl_mLists[ this.pid ].rebuild(); - if ( this.visible ) - this._showList(); - else - this.needsUpdate = true; - } - - return item; -} - -List.prototype.setIndent = xbcl_setIndent; -List.prototype.getIndent = xbcl_getIndent; -List.prototype.addItem = xbcl_addItem; -List.prototype.addList = xbcl_addList; -List.prototype.build = xbcl_build; -List.prototype.rebuild = xbcl_rebuild; -List.prototype.setFont = xbcl_SetFont; -List.prototype.getFont = xbcl_GetFont; -List.prototype.getHeight = xbcl_getHeight; - -List.prototype._writeList = xbcl_writeList; -List.prototype._getNewItem = xbcl_getNewItem; - -if ( document.getElementById && document.createElement ) - List.prototype._writeItem = xbcl_writeItemDOMHTML; -else - List.prototype._writeItem = xbcl_writeItem; - -List.prototype._showList = xbcl_showList; -List.prototype._updateList = xbcl_updateList; -List.prototype._updateParent = xbcl_updateParent; - -List.prototype.onexpand = null; -List.prototype.postexpand = null; -List.prototype.lists = null; // sublists -List.prototype.items = null; // layers -List.prototype.types = null; // type -List.prototype.strs = null; // content -List.prototype.x = 0; -List.prototype.y = 0; -List.prototype.visible = false; -List.prototype.id = -1; -List.prototype.i = 18; -List.prototype.space = true; -List.prototype.pid = 0; -List.prototype.fontIntro = ''; -List.prototype.fontOutro = ''; -List.prototype.width = 350; -List.prototype.height = 22; -List.prototype.built = false; -List.prototype.shown = false; -List.prototype.needsUpdate = false; -List.prototype.needsRewrite = false; -List.prototype.l = 0; -List.prototype.bgColor = null; -List.prototype.parentList = null; -List.prototype.parentElement = null; diff --git a/xsl/slides/browser/xbDOM.js b/xsl/slides/browser/xbDOM.js deleted file mode 100644 index 39cc8bf01..000000000 --- a/xsl/slides/browser/xbDOM.js +++ /dev/null @@ -1,374 +0,0 @@ -/* - * xbDOM.js - * $Revision: 1.2 $ $Date: 2003/02/07 16:04:18 $ - */ - -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is Netscape code. - * - * The Initial Developer of the Original Code is - * Netscape Corporation. - * Portions created by the Initial Developer are Copyright (C) 2001 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): Bob Clary - * - * ***** END LICENSE BLOCK ***** */ - -function xbToInt(s) -{ - var i = parseInt(s, 10); - if (isNaN(i)) - i = 0; - - return i; -} - -function xbGetWindowWidth(windowRef) -{ - var width = 0; - - if (!windowRef) - { - windowRef = window; - } - - if (typeof(windowRef.innerWidth) == 'number') - { - width = windowRef.innerWidth; - } - else if (windowRef.document.body && typeof(windowRef.document.body.clientWidth) == 'number') - { - width = windowRef.document.body.clientWidth; - } - - return width; -} - -function xbGetWindowHeight(windowRef) -{ - var height = 0; - - if (!windowRef) - { - windowRef = window; - } - - if (typeof(windowRef.innerWidth) == 'number') - { - height = windowRef.innerHeight; - } - else if (windowRef.document.body && typeof(windowRef.document.body.clientWidth) == 'number') - { - height = windowRef.document.body.clientHeight; - } - return height; -} - -function xbGetElementsByNameAndType(name, type, windowRef) -{ - if (!windowRef) - windowRef = window; - - var elmlist = new Array(); - - xbFindElementsByNameAndType(windowRef.document, name, type, elmlist); - - return elmlist; -} - -function xbFindElementsByNameAndType(doc, name, type, elmlist) -{ - var i; - var subdoc; - - for (i = 0; i < doc[type].length; ++i) - { - if (doc[type][i].name && name == doc[type][i].name) - { - elmlist[elmlist.length] = doc[type][i]; - } - } - - if (doc.layers) - { - for (i = 0; i < doc.layers.length; ++i) - { - subdoc = doc.layers[i].document; - xbFindElementsByNameAndType(subdoc, name, type, elmlist); - } - } -} - -if (document.layers) -{ - nav4FindLayer = - function (doc, id) - { - var i; - var subdoc; - var obj; - - for (i = 0; i < doc.layers.length; ++i) - { - if (doc.layers[i].id && id == doc.layers[i].id) - return doc.layers[i]; - - subdoc = doc.layers[i].document; - obj = nav4FindLayer(subdoc, id); - if (obj != null) - return obj; - } - return null; - } - - nav4FindElementsByName = - function (doc, name, elmlist) - { - var i; - var j; - var subdoc; - - for (i = 0; i < doc.images.length; ++i) - { - if (doc.images[i].name && name == doc.images[i].name) - { - elmlist[elmlist.length] = doc.images[i]; - } - } - - for (i = 0; i < doc.forms.length; ++i) - { - for (j = 0; j < doc.forms[i].elements.length; j++) - { - if (doc.forms[i].elements[j].name && name == doc.forms[i].elements[j].name) - { - elmlist[elmlist.length] = doc.forms[i].elements[j]; - } - } - - if (doc.forms[i].name && name == doc.forms[i].name) - { - elmlist[elmlist.length] = doc.forms[i]; - } - } - - for (i = 0; i < doc.anchors.length; ++i) - { - if (doc.anchors[i].name && name == doc.anchors[i].name) - { - elmlist[elmlist.length] = doc.anchors[i]; - } - } - - for (i = 0; i < doc.links.length; ++i) - { - if (doc.links[i].name && name == doc.links[i].name) - { - elmlist[elmlist.length] = doc.links[i]; - } - } - - for (i = 0; i < doc.applets.length; ++i) - { - if (doc.applets[i].name && name == doc.applets[i].name) - { - elmlist[elmlist.length] = doc.applets[i]; - } - } - - for (i = 0; i < doc.embeds.length; ++i) - { - if (doc.embeds[i].name && name == doc.embeds[i].name) - { - elmlist[elmlist.length] = doc.embeds[i]; - } - } - - for (i = 0; i < doc.layers.length; ++i) - { - if (doc.layers[i].name && name == doc.layers[i].name) - { - elmlist[elmlist.length] = doc.layers[i]; - } - - subdoc = doc.layers[i].document; - nav4FindElementsByName(subdoc, name, elmlist); - } - } - - xbGetElementById = function (id, windowRef) - { - if (!windowRef) - windowRef = window; - - return nav4FindLayer(windowRef.document, id); - }; - - xbGetElementsByName = function (name, windowRef) - { - if (!windowRef) - windowRef = window; - - var elmlist = new Array(); - - nav4FindElementsByName(windowRef.document, name, elmlist); - - return elmlist; - }; - -} -else if (document.all) -{ - xbGetElementById = - function (id, windowRef) - { - if (!windowRef) - { - windowRef = window; - } - var elm = windowRef.document.all[id]; - if (!elm) - { - elm = null; - } - return elm; - }; - - xbGetElementsByName = function (name, windowRef) - { - if (!windowRef) - windowRef = window; - - var i; - var idnamelist = windowRef.document.all[name]; - var elmlist = new Array(); - - if (!idnamelist.length || idnamelist.name == name) - { - if (idnamelist) - elmlist[elmlist.length] = idnamelist; - } - else - { - for (i = 0; i < idnamelist.length; i++) - { - if (idnamelist[i].name == name) - elmlist[elmlist.length] = idnamelist[i]; - } - } - - return elmlist; - } - -} -else if (document.getElementById) -{ - xbGetElementById = - function (id, windowRef) - { - if (!windowRef) - { - windowRef = window; - } - return windowRef.document.getElementById(id); - }; - - xbGetElementsByName = - function (name, windowRef) - { - if (!windowRef) - { - windowRef = window; - } - return windowRef.document.getElementsByName(name); - }; -} -else -{ - xbGetElementById = - function (id, windowRef) - { - return null; - }; - - xbGetElementsByName = - function (name, windowRef) - { - return new Array(); - }; -} - -function xbGetPageScrollX(windowRef) -{ - if (!windowRef) - { - windowRef = window; - } - - if (typeof(windowRef.pageXOffset) == 'number') - { - return windowRef.pageXOffset; - } - - if (typeof(windowRef.document.body && windowRef.document.body.scrollLeft) == 'number') - { - return windowRef.document.body.scrollLeft; - } - - return 0; -} - -function xbGetPageScrollY(windowRef) -{ - if (!windowRef) - { - windowRef = window; - } - - if (typeof(windowRef.pageYOffset) == 'number') - { - return windowRef.pageYOffset; - } - - if (typeof(windowRef.document.body && windowRef.document.body.scrollTop) == 'number') - { - return windowRef.document.body.scrollTop; - } - - return 0; -} - -if (document.layers) -{ - xbSetInnerHTML = - function (element, str) - { - element.document.write(str); - element.document.close(); - }; -} -else -{ - xbSetInnerHTML = function (element, str) - { - if (typeof(element.innerHTML) != 'undefined') - { - element.innerHTML = str; - } - }; -} - -// eof: xbDOM.js diff --git a/xsl/slides/browser/xbDebug.js b/xsl/slides/browser/xbDebug.js deleted file mode 100644 index 48fd010cb..000000000 --- a/xsl/slides/browser/xbDebug.js +++ /dev/null @@ -1,311 +0,0 @@ -/* - * xbDebug.js - * $Revision: 1.2 $ $Date: 2003/02/07 16:04:19 $ - */ - -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is Netscape code. - * - * The Initial Developer of the Original Code is - * Netscape Corporation. - * Portions created by the Initial Developer are Copyright (C) 2001 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): Bob Clary - * - * ***** END LICENSE BLOCK ***** */ - -/* -ChangeLog: - -2002-02-25: bclary - modified xbDebugTraceOject to make sure - that original versions of wrapped functions were not - rewrapped. This had caused an infinite loop in IE. - -2002-02-07: bclary - modified xbDebug.prototype.close to not null - the debug window reference. This can cause problems with - Internet Explorer if the page is refreshed. These issues will - be addressed at a later date. -*/ - -function xbDebug() -{ - this.on = false; - this.stack = new Array(); - this.debugwindow = null; - this.execprofile = new Object(); -} - -xbDebug.prototype.push = function () -{ - this.stack[this.stack.length] = this.on; - this.on = true; -} - -xbDebug.prototype.pop = function () -{ - this.on = this.stack[this.stack.length - 1]; - --this.stack.length; -} - -xbDebug.prototype.open = function () -{ - if (this.debugwindow && !this.debugwindow.closed) - this.close(); - - this.debugwindow = window.open('about:blank', 'DEBUGWINDOW', 'height=400,width=600,resizable=yes,scrollbars=yes'); - this.debugwindow.moveTo(0,0); - window.focus(); - - this.debugwindow.document.write('xbDebug Window

Javascript Debug Window

'); -} - -xbDebug.prototype.close = function () -{ - if (!this.debugwindow) - return; - - if (!this.debugwindow.closed) - this.debugwindow.close(); - - // bc 2002-02-07, other windows may still hold a reference to this: this.debugwindow = null; -} - -xbDebug.prototype.dump = function (msg) -{ - if (!this.on) - return; - - if (!this.debugwindow || this.debugwindow.closed) - this.open(); - - this.debugwindow.document.write(msg + '
'); - - return; -} - -var xbDEBUG = new xbDebug(); - -window.onunload = function () { xbDEBUG.close(); } - -function xbDebugGetFunctionName(funcref) -{ - - if (!funcref) - { - return ''; - } - - if (funcref.name) - return funcref.name; - - var name = funcref + ''; - name = name.substring(name.indexOf(' ') + 1, name.indexOf('(')); - funcref.name = name; - - if (!name) alert('name not defined'); - return name; -} - - -// emulate functionref.apply for IE mac and IE win < 5.5 -function xbDebugApplyFunction(funcname, funcref, thisref, argumentsref) -{ - var rv; - - if (!funcref) - { - alert('xbDebugApplyFunction: funcref is null'); - } - - if (typeof(funcref.apply) != 'undefined') - return funcref.apply(thisref, argumentsref); - - var applyexpr = 'thisref.xbDebug_orig_' + funcname + '('; - var i; - - for (i = 0; i < argumentsref.length; i++) - { - applyexpr += 'argumentsref[' + i + '],'; - } - - if (argumentsref.length > 0) - { - applyexpr = applyexpr.substring(0, applyexpr.length - 1); - } - - applyexpr += ')'; - - return eval(applyexpr); -} - -function xbDebugCreateFunctionWrapper(scopename, funcname, precall, postcall) -{ - var wrappedfunc; - var scopeobject = eval(scopename); - var funcref = scopeobject[funcname]; - - scopeobject['xbDebug_orig_' + funcname] = funcref; - - wrappedfunc = function () - { - var rv; - - precall(scopename, funcname, arguments); - rv = xbDebugApplyFunction(funcname, funcref, scopeobject, arguments); - postcall(scopename, funcname, arguments, rv); - return rv; - }; - - if (typeof(funcref.constructor) != 'undefined') - wrappedfunc.constructor = funcref.constuctor; - - if (typeof(funcref.prototype) != 'undefined') - wrappedfunc.prototype = funcref.prototype; - - scopeobject[funcname] = wrappedfunc; -} - -function xbDebugCreateMethodWrapper(contextname, classname, methodname, precall, postcall) -{ - var context = eval(contextname); - var methodref = context[classname].prototype[methodname]; - - context[classname].prototype['xbDebug_orig_' + methodname] = methodref; - - var wrappedmethod = function () - { - var rv; - // eval 'this' at method run time to pick up reference to the object's instance - var thisref = eval('this'); - // eval 'arguments' at method run time to pick up method's arguments - var argsref = arguments; - - precall(contextname + '.' + classname, methodname, argsref); - rv = xbDebugApplyFunction(methodname, methodref, thisref, argsref); - postcall(contextname + '.' + classname, methodname, argsref, rv); - return rv; - }; - - return wrappedmethod; -} - -function xbDebugPersistToString(obj) -{ - var s = ''; - - if (obj == null) - return 'null'; - - switch(typeof(obj)) - { - case 'number': - return obj; - case 'string': - return '"' + obj + '"'; - case 'undefined': - return 'undefined'; - case 'boolean': - return obj + ''; - } - - if (obj.constructor) - return '[' + xbDebugGetFunctionName(obj.constructor) + ']'; - - return null; -} - -function xbDebugTraceBefore(scopename, funcname, funcarguments) -{ - var i; - var s = ''; - var execprofile = xbDEBUG.execprofile[scopename + '.' + funcname]; - if (!execprofile) - execprofile = xbDEBUG.execprofile[scopename + '.' + funcname] = { started: 0, time: 0, count: 0 }; - - for (i = 0; i < funcarguments.length; i++) - { - s += xbDebugPersistToString(funcarguments[i]); - if (i < funcarguments.length - 1) - s += ', '; - } - - xbDEBUG.dump('enter ' + scopename + '.' + funcname + '(' + s + ')'); - execprofile.started = (new Date()).getTime(); -} - -function xbDebugTraceAfter(scopename, funcname, funcarguments, rv) -{ - var i; - var s = ''; - var execprofile = xbDEBUG.execprofile[scopename + '.' + funcname]; - if (!execprofile) - xbDEBUG.dump('xbDebugTraceAfter: execprofile not created for ' + scopename + '.' + funcname); - else if (execprofile.started == 0) - xbDEBUG.dump('xbDebugTraceAfter: execprofile.started == 0 for ' + scopename + '.' + funcname); - else - { - execprofile.time += (new Date()).getTime() - execprofile.started; - execprofile.count++; - execprofile.started = 0; - } - - for (i = 0; i < funcarguments.length; i++) - { - s += xbDebugPersistToString(funcarguments[i]); - if (i < funcarguments.length - 1) - s += ', '; - } - - xbDEBUG.dump('exit ' + scopename + '.' + funcname + '(' + s + ')==' + xbDebugPersistToString(rv)); -} - -function xbDebugTraceFunction(scopename, funcname) -{ - xbDebugCreateFunctionWrapper(scopename, funcname, xbDebugTraceBefore, xbDebugTraceAfter); -} - -function xbDebugTraceObject(contextname, classname) -{ - var classref = eval(contextname + '.' + classname); - var p; - var sp; - - if (!classref || !classref.prototype) - return; - - for (p in classref.prototype) - { - sp = p + ''; - if (typeof(classref.prototype[sp]) == 'function' && (sp).indexOf('xbDebug_orig') == -1) - { - classref.prototype[sp] = xbDebugCreateMethodWrapper(contextname, classname, sp, xbDebugTraceBefore, xbDebugTraceAfter); - } - } -} - -function xbDebugDumpProfile() -{ - var p; - var execprofile; - var avg; - - for (p in xbDEBUG.execprofile) - { - execprofile = xbDEBUG.execprofile[p]; - avg = Math.round ( 100 * execprofile.time/execprofile.count) /100; - xbDEBUG.dump('Execution profile ' + p + ' called ' + execprofile.count + ' times. Total time=' + execprofile.time + 'ms. Avg Time=' + avg + 'ms.'); - } -} diff --git a/xsl/slides/browser/xbLibrary.js b/xsl/slides/browser/xbLibrary.js deleted file mode 100644 index 9bbfd6b14..000000000 --- a/xsl/slides/browser/xbLibrary.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * xbLibrary.js - * $Revision: 1.3 $ $Date: 2003/03/17 03:44:20 $ - */ - -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is Bob Clary code. - * - * The Initial Developer of the Original Code is - * Bob Clary. - * Portions created by the Initial Developer are Copyright (C) 2000 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): Bob Clary - * - * ***** END LICENSE BLOCK ***** */ - -if (!document.getElementById || navigator.userAgent.indexOf('Opera') != -1) -{ - // assign error handler for downlevel browsers - // Note until Opera improves it's overall support - // for JavaScript and the DOM, it must be considered downlevel - - window.onerror = defaultOnError; - - function defaultOnError(msg, url, line) - { - // handle bug in NS6.1, N6.2 - // where an Event is passed to error handlers - if (typeof(msg) != 'string') - { - msg = 'unknown error'; - } - if (typeof(url) != 'string') - { - url = document.location; - } - - alert('An error has occurred at ' + url + ', line ' + line + ': ' + msg); - } -} - -function xbLibrary(path) -{ - if (path.charAt(path.length-1) == '/') - { - path = path.substr(0, path.length-1) - } - this.path = path; -} - -// dynamically loaded scripts -// -// it is an error to reference anything from the dynamically loaded file inside the -// same script block. This means that a file can not check its dependencies and -// load the files for it's own use. someone else must do this. - -xbLibrary.prototype.loadScript = -function (scriptName) -{ - document.write(' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - overlaySetup('ll'); - - - - - - init( - - ); - - overlaySetup('ll'); - - - - - - -
- -
-
- -
- - - - -
- logo -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - javascript:body.focus() - - - - - - - - - <body class="frameset"> - <xsl:call-template name="body.attributes"/> - <p> - <xsl:text>Your browser doesn't support frames.</xsl:text> - </p> - </body> - - - - - - - - - - - - - - - - - - Navigation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Body - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Navigation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - newPage(' - - ', - - ); - - - - - overlaySetup('lc'); - - - - - - - this.focus() - - - navigate(event) - - - -
- -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - foilgroup - - - - - - - javascript:body.focus() - - - - - - <body class="frameset"> - <xsl:call-template name="body.attributes"/> - <p> - <xsl:text>Your browser doesn't support frames.</xsl:text> - </p> - </body> - - - - - - - foilgroup - - - - - - - - - - - - - - - - Navigation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - foilgroup - - - - - - - - - - - Body - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - foilgroup - - - - - - - - - - - - - - - - Navigation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - newPage(' - - ', - - ); - - - - - overlaySetup('lc'); - - - - - - - - navigate(event) - - - -
- - - - - - - - - -
- - - - - - -
- - -
- - - position:absolute;visibility:visible; - - - - - - - - -
-
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - javascript:body.focus() - - - - - - - - - <body class="frameset"> - <xsl:call-template name="body.attributes"/> - <p> - <xsl:text>Your browser doesn't support frames.</xsl:text> - </p> - </body> - - - - - - - - - - - - - - - - - - - - - Navigation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Body - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Navigation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - newPage(' - - ', - - ); - - - - - overlaySetup('lc'); - - - - - - - navigate(event) - - - -
- - - - - - - - - -
- -
- - -
- - - position:absolute;visibility:visible; - - - - - - - - -
-
-
- - - -
- - - - - - - -
- - - - - - - foilgroup - - - - -
- - - - - - - - - - - - - - - - - -
-
- - - - - - - -
- - - - - - - - - - - - - - - - -
-
- - - - - - - - - myList.addItem(' - - <div id=" - - " class="toc-slidesinfo"> - - <a href=" - - " target="foil"> - - - - - - - - - - - - - ' - \' - - - <\/a><\/div> - '); - - - - - - - - subList = new List(false, width, height, " - -"); - subList.setIndent(12); - - - myList.addList(subList, ' - - <div id=" - - " class="toc-foilgroup"> - - <a href=" - - " target="foil"> - - - - - - - - - - - - - ' - \' - - - <\/a><\/div> - '); - - - - - - - - subList.addItem(' - - - myList.addItem(' - - - - <div id=" - - " class="toc-foil"> - - <img alt="-" src=" - - "><\/img> - - <a href=" - - " target="foil"> - - - - - - - - - - - - - ' - \' - - - <\/a><\/div> - '); - - - - - - - - - diff --git a/xsl/slides/html/graphics.xsl b/xsl/slides/html/graphics.xsl deleted file mode 100644 index b682acdfb..000000000 --- a/xsl/slides/html/graphics.xsl +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - - - - - - - - - - - - / - - - - / - - - http://docbook.sourceforge.net/release/slides/graphics/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xsl/slides/html/jscript.xsl b/xsl/slides/html/jscript.xsl deleted file mode 100644 index ae4ef9fdf..000000000 --- a/xsl/slides/html/jscript.xsl +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - - - - - - / - - - - / - - - http://docbook.sourceforge.net/release/slides/browser/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xsl/slides/html/param.ent b/xsl/slides/html/param.ent deleted file mode 100644 index ade060395..000000000 --- a/xsl/slides/html/param.ent +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xsl/slides/html/param.xweb b/xsl/slides/html/param.xweb deleted file mode 100644 index a671a4e89..000000000 --- a/xsl/slides/html/param.xweb +++ /dev/null @@ -1,207 +0,0 @@ - -%param.ent; -]> - - -Slides HTML Parameter Reference - -$Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $ - - - - Walsh - Norman - - - - 2002-2011 - Norman Walsh - - - This is reference documentation for all user-configurable - parameters in the DocBook XSL Slides HTML stylesheet (for - generating HTML slide presentations). Note that the Slides - stylesheet for HTML output is a customization layer of the - DocBook XSL HTML stylesheet. Therefore, in addition to the - slides-specific parameters listed in this section, you can - also use a number of HTML - stylesheet parameters to control Slides HTML - output. - - - -HTML: General Parameters -&keyboard.nav; -&css.stylesheet; -&css.stylesheet.dir; -&titlefoil.html; -&toc.html; -&foilgroup.toc; -&output.indent; -&overlay; -&show.foil.number; - - -HTML: Frames Parameters -&nav.separator; -&toc.row.height; -&toc.bg.color; -&body.bg.color; -&toc.width; -&toc.hide.show; -&dynamic.toc; -&active.toc; -&overlay.logo; -&multiframe; -&multiframe.top.bgcolor; -&multiframe.bottom.bgcolor; -&multiframe.navigation.height; - - -HTML: Graphics Parameters -&graphics.dir; -&bullet.image; -&next.image; -&prev.image; -&up.image; -&home.image; -&toc.image; - -&no.next.image; -&no.prev.image; -&no.up.image; -&no.home.image; -&no.toc.image; - -&plus.image; -&minus.image; -&hidetoc.image; -&showtoc.image; - - -HTML: JavaScript Parameters -&script.dir; -&ua.js; -&xbDOM.js; -&xbStyle.js; -&xbLibrary.js; -&xbCollapsibleLists.js; -&overlay.js; -&slides.js; - - -HTML: Localization Parameters -&text.home; -&text.toc; -&text.prev; -&text.up; -&text.next; - - - -The Stylesheet - -The param.xsl stylesheet is just a wrapper -around all these parameters. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xsl/slides/html/plain.xsl b/xsl/slides/html/plain.xsl deleted file mode 100644 index 47224da36..000000000 --- a/xsl/slides/html/plain.xsl +++ /dev/null @@ -1,472 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xsl/slides/html/slides-common.xsl b/xsl/slides/html/slides-common.xsl deleted file mode 100644 index 98485866c..000000000 --- a/xsl/slides/html/slides-common.xsl +++ /dev/null @@ -1,1541 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - titlepage - - - - - - - - - - - overlaySetup('lc') - - - - - navigate(event) - - - -
- - - - - -
- -
- -
- - - - - -
-
- - -
-
-
- - -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
- - - - - - -

-
- - -

-
- - -

-
- - - - - - - - - - - - - - - : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="slidesinfo/title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - overlaySetup('lc') - - - - - navigate(event) - - - -
- - - - - - - -
- -
- -
- - - - - - - -
-
- - -
-
-
- - -

- - - -

- -

- - - TableofContents - - -

-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - . - - - - - - -
- -
-
- -
-
-
-
- - -
- - . - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - overlaySetup('lc') - - - - - navigate(event) - - - -
- - - - - - - -
- - - - - - -
- -
- - - - - - - -
-
- - - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - overlaySetup('lc') - - - - - navigate(event) - - - -
- - - - - - - - - -
- - - - - - -
- -
- - - - - - - -
-
- - - - -
-
- - -
- - -

-
- - - - - - - - - - - -
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - position: absolute; visibility: visible; - - - - padding-top: 2in; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - foil - - - - - - foilgroup - - - - - - - - - - - - </span> - - - <span - - class="green" - class="blue" - class="orange" - class="red" - class="brown" - class="violet" - class="black" - class="bold" - - > - - - - - - - - -
- -
-
-
- - - - - - - - - copyright - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ( - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- -

-
- - -
- - -
-
- - - - - - - - - - - - - - - - 1 - 1 - 1 - 0 - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - / - - - - - - - - - - - foil - - - - - - - - - - - foilgroup - - - - - - chunk-filename-error- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - / - - - -   - - - - -
diff --git a/xsl/slides/html/tables.xsl b/xsl/slides/html/tables.xsl deleted file mode 100644 index 046252854..000000000 --- a/xsl/slides/html/tables.xsl +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - - - -#6A719C -220 - - - - - - - - - - - - -
- - - - - -
- -
-
  - - - - - -
- -
- - -
- -
-
-
-
- - - - - - - - -
- - - - - -
- -
-
  - - - - - -
- -
-
-
- - - - - - - - - - - - + - - - - - - - - -  - - - - - - - - - - - - - - - - - -
- - - -  - - - - - - -  - - - - - - - - - - - - - - - -
-
-
-
- -  - - - - - - - - - - - - - - -
-
-
-
-
- - - - - - - -  - - - - - - - - - - - - - - -
- - - -  - - - - - - - - - - + - - - - - - - - -  - - - - - - - - - - - - - - - - - -
-
-
-
- - - - - - + - - - - - - - - -  - - - - - - - - - - - -
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   - - - - - - - - - - - - -
diff --git a/xsl/slides/html/vslides.xsl b/xsl/slides/html/vslides.xsl deleted file mode 100644 index f4900995e..000000000 --- a/xsl/slides/html/vslides.xsl +++ /dev/null @@ -1,667 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="slidesinfo/title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - navigate(event) - - - - - - - - - - - - - - - - - - -
 
- - - - - - - - - - - - - - - - - - -
- -
- -
- -
-
 
- - -
-
- - -
- - - - - - - - - <xsl:value-of select="title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - navigate(event) - - - - - - - - - - - - - - - - - - -
 
- - - - - - - - - - - - - - - - - - -
- -
-
 
- - -
-
-
- - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - navigate(event) - - - - - - - - - - - - - - - - - - -
 
- - - - - - - - - - - - - - - - - - - -
- -
-
 
- - -
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="title"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - navigate(event) - - - - - - - - - - - - - - - - - - -
 
- - - - - - - - - - - - - - - - - - - -
- -
-
 
- - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - First - - - - - - - - - - First - - - - - - - - -
- - - - - - - Previous - - - - - - - - - - Previous - - - - - - - - -
- - - - - - - Last - - - - - - - - - - Last - - - - - - - - -
- - - - - - - Next - - - - - - - - - - Next - - - - - - - - - -
-
- - - - - ToC - - - - - - - - - - ToC - - - - - - - - -
-
- -
diff --git a/xsl/slides/html/w3c.xsl b/xsl/slides/html/w3c.xsl deleted file mode 100644 index 5a5b42025..000000000 --- a/xsl/slides/html/w3c.xsl +++ /dev/null @@ -1,376 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {$logo.title} - - - - - - - - - - position: absolute; visibility: visible; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
- - - - - - - - - - - - - - - - - - -
diff --git a/xsl/slides/htmlhelp/.gitignore b/xsl/slides/htmlhelp/.gitignore deleted file mode 100644 index 56631abf1..000000000 --- a/xsl/slides/htmlhelp/.gitignore +++ /dev/null @@ -1 +0,0 @@ -ChangeLog diff --git a/xsl/slides/htmlhelp/htmlhelp.xsl b/xsl/slides/htmlhelp/htmlhelp.xsl deleted file mode 100644 index ad988b332..000000000 --- a/xsl/slides/htmlhelp/htmlhelp.xsl +++ /dev/null @@ -1,89 +0,0 @@ - - '> -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • &lf; - &lf; - - - - - -
  • &lf; -
    - -
      &lf; - -
    &lf; -
    -
    - - - - - - - - - - - - - - - -
  • &lf; - &lf; - - - - - -
  • &lf; -
    -
    - -
    diff --git a/xsl/slides/keynote/.gitignore b/xsl/slides/keynote/.gitignore deleted file mode 100644 index 56631abf1..000000000 --- a/xsl/slides/keynote/.gitignore +++ /dev/null @@ -1 +0,0 @@ -ChangeLog diff --git a/xsl/slides/keynote/default.xsl b/xsl/slides/keynote/default.xsl deleted file mode 100644 index 004a13abe..000000000 --- a/xsl/slides/keynote/default.xsl +++ /dev/null @@ -1,600 +0,0 @@ - - - - - - - - - Keynote Slides - - - Steve - Ball - - Zveno -
    - - zveno.com - -
    -
    -
    - - $Id$ - - - 2004 - 2003 - Steve Ball, Zveno Pty Ltd - - - - Zveno Pty Ltd makes this software and associated documentation available free of charge for any purpose. You may make copies of the software but you must include all of this notice on any copy. - Zveno Pty Ltd does not warrant that this software is error free or fit for any purpose. Zveno Pty Ltd disclaims any liability for all claims, expenses, losses, damages and costs any user may incur as a result of using, copying or modifying the software. - -
    -
    - - - - - - - - - - - - - - - - You must specify your slides document using the "slides" parameter - - - - - - - - - - - - - - - - - - - </drawables> - <transition-style type='inherited'/> - <thumbnails> - <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/> - </thumbnails> - <bullets> - <bullet marker-type='inherited' level='0'> - <content tab-stops='L 96' font-size='84' font-color='g1' font-name='GillSans' paragraph-alignment='center'> - <xsl:apply-templates select='slidesinfo/title/node()'/> - </content> - </bullet> - <xsl:choose> - <xsl:when test='slidesinfo/subtitle'> - <bullet marker-type='inherited' level='1'> - <content tab-stops='L 96' font-size='36' font-color='g1' font-name='GillSans' paragraph-alignment='center'> - <xsl:apply-templates select='slidesinfo/subtitle/node()' mode='slides'/> - </content> - </bullet> - </xsl:when> - <xsl:when test='slidesinfo/corpauthor'> - <bullet marker-type='inherited' level='1'> - <content tab-stops='L 96' font-size='36' font-color='g1' font-name='GillSans' paragraph-alignment='center'> - <xsl:apply-templates select='slidesinfo/corpauthor/node()' mode='slides'/> - </content> - </bullet> - </xsl:when> - <xsl:when test='slidesinfo/author'> - <bullet marker-type='inherited' level='1'> - <content tab-stops='L 96' font-size='36' font-color='g1' font-name='GillSans' paragraph-alignment='center'> - <xsl:apply-templates select='slidesinfo/author' mode='slides'/> - </content> - </bullet> - </xsl:when> - </xsl:choose> - </bullets> - <notes font-size='18' font-name='LucidaGrande'> - <xsl:apply-templates select='slidesinfo/*[not(self::title|self::subtitle|self::corpauthor|self::author)]' mode='slides'/> - </notes> - </slide> - - <xsl:if test='foilgroup'> - <xsl:call-template name='overview'/> - </xsl:if> - - <xsl:apply-templates select='foilgroup|foil' mode='slides'/> - </xsl:template> - - <xsl:template name='overview'> - <xsl:param name='current' select='/'/> - - <slide id='overview-{generate-id()}' master-slide-id="{$masters/apxl:master-slide[@name=$overview-master]/@id}"> - <drawables> - <body visibility='tracks-master' vertical-alignment='tracks-master'/> - <title visibility='tracks-master' vertical-alignment='tracks-master'/> - - <xsl:for-each select='ancestor-or-self::slides/foilgroup'> - <textbox id='textbox-{position()}' grow-horizontally='true' transformation='1 0 0 1 {100 + floor((position() - 1) div 10) * 400} {200 + floor((position() - 1) mod 10) * 50}' size='200 50'> - <content tab-stops='L 84' font-size='36' paragraph-alignment='left'> - <xsl:attribute name='font-color'> - <xsl:choose> - <xsl:when test='generate-id() = generate-id($current)'> - <xsl:text>1 0.5 0</xsl:text> - </xsl:when> - <xsl:otherwise>g1</xsl:otherwise> - </xsl:choose> - </xsl:attribute> - <xsl:apply-templates select='title' mode='slides'/> - </content> - </textbox> - </xsl:for-each> - - </drawables> - <transition-style type='inherited'/> - <thumbnails> - <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/> - </thumbnails> - <bullets> - <bullet marker-type='inherited' level='0'> - <content tab-stops='L 96' font-size='84' font-color='g1' font-name='GillSans' paragraph-alignment='center'>Overview</content> - </bullet> - </bullets> - </slide> - </xsl:template> - - <xsl:template match='author' mode='slides'> - <xsl:apply-templates select='firstname/node()' mode='slides'/> - <xsl:text> </xsl:text> - <xsl:apply-templates select='surname/node()' mode='slides'/> - </xsl:template> - <xsl:template match='copyright' mode='slides'> - <xsl:text>Copyright (c) </xsl:text> - <xsl:value-of select='year'/> - <xsl:text> </xsl:text> - <xsl:apply-templates select='holder' mode='slides'/> - <xsl:text>. </xsl:text> - </xsl:template> - - <xsl:template match='foilgroup' mode='slides'> - <xsl:variable name='number' select='count(preceding-sibling::foilgroup) + count(preceding::foil) + 1'/> - - <xsl:call-template name='overview'> - <xsl:with-param name='current' select='.'/> - </xsl:call-template> - - <slide id='foilgroup-{generate-id()}'> - <xsl:attribute name='master-slide-id'> - <xsl:choose> - <xsl:when test='*[not(self::foil|self::foilgroupinfo|self::speakernotes)]'> - <xsl:value-of select='$masters/apxl:master-slide[@name=$title-only-master]/@id'/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select='$masters/apxl:master-slide[@name=$foilgroup-master]/@id'/> - </xsl:otherwise> - </xsl:choose> - </xsl:attribute> - - <drawables> - <title visibility='tracks-master' vertical-alignment='tracks-master'/> - <body visibility='hidden' vertical-alignment='tracks-master'/> - <xsl:call-template name='drawables'/> - </drawables> - <transition-style type='inherited'/> - <thumbnails> - <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/> - </thumbnails> - <bullets> - <bullet marker-type='inherited' level='0'> - <content tab-stops='L 96' font-size='84' font-color='g1' font-name='GillSans' paragraph-alignment='center'> - <xsl:apply-templates select='title' mode='slides'/> - </content> - </bullet> - - <xsl:apply-templates select='itemizedlist/listitem' mode='slides'/> - </bullets> - <xsl:if test='speakernotes'> - <notes font-size='18' font-name='LucidaGrande'> - <xsl:apply-templates select='speakernotes/para[1]/node()' mode='slides'/> - <xsl:for-each select='speakernotes/para[position() != 1]'> - <xsl:text>; </xsl:text> - <xsl:apply-templates select='node()' mode='slides'/> - </xsl:for-each> - </notes> - </xsl:if> - </slide> - - <xsl:apply-templates select='foil' mode='slides'/> - - </xsl:template> - - <xsl:template match='foil' mode='slides'> - <xsl:variable name='number' select='count(preceding::foilgroup) + count(preceding::foil) + count(preceding-sibling::foil) + 1'/> - - <slide id='foil-{generate-id()}'> - <xsl:attribute name='master-slide-id'> - <xsl:choose> - <xsl:when test='imageobject'> - <xsl:value-of select='$masters/apxl:master-slide[@name=$title-only-master]/@id'/> - </xsl:when> - <xsl:when test='itemizedlist[.//imageobject]'> - <xsl:value-of select='$masters/apxl:master-slide[@name=$bullet-and-image-master]/@id'/> - </xsl:when> - <xsl:when test='itemizedlist'> - <xsl:value-of select='$masters/apxl:master-slide[@name=$bullet-master]/@id'/> - </xsl:when> - <xsl:when test='example|informalexample'> - <xsl:value-of select='$masters/apxl:master-slide[@name=$title-only-master]/@id'/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select='$masters/apxl:master-slide[@name=$bullet-master]/@id'/> - </xsl:otherwise> - </xsl:choose> - </xsl:attribute> - <drawables> - <body visibility='tracks-master' vertical-alignment='tracks-master'/> - <title visibility='tracks-master' vertical-alignment='tracks-master'/> - <xsl:call-template name='drawables'/> - </drawables> - <transition-style type='inherited'/> - <thumbnails> - <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/> - </thumbnails> - <bullets> - <bullet marker-type='inherited' level='0'> - <content tab-stops='L 96' font-size='64' font-color='g1' font-name='GillSans' paragraph-alignment='inherited'> - <!-- - <xsl:apply-templates select='../title' mode='slides'/> - <xsl:text>: </xsl:text> ---> - <xsl:apply-templates select='title' mode='slides'/> - </content> - </bullet> - <xsl:apply-templates select='itemizedlist/listitem' mode='slides'/> - </bullets> - <xsl:if test='speakernotes'> - <notes font-size='18' font-name='LucidaGrande'> - <xsl:apply-templates select='speakernotes/para[1]/node()' mode='slides'/> - <xsl:for-each select='speakernotes/para[position() != 1]'> - <xsl:text>; </xsl:text> - <xsl:apply-templates select='node()' mode='slides'/> - </xsl:for-each> - </notes> - </xsl:if> - </slide> - </xsl:template> - - <doc:template xmlns=''> - <title>drawables Template - - This template adds objects to the drawables section of a foil. These include images, as well as unadorned (non-bullet) text. - - A single image is placed centered on the foil. An image on a foil that contains other text is placed on the right-hand-side. - - - - - - - - - 1.0 - video/quicktime - - - - - - - - - - - - - - - - - - {800, 400} - - - - - - - - - - - - - - - - - - - - {0, 300} - - - - - {150, 300} - - - - - {0, 200} - - - - - {150, 200} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]]> - - - - ]]> - - - - - - - - - - - - - - - - - - - - <![CDATA[ - - - - - - - - - - - - - - - GillSans-Italic - GillSans - - - - - - - - - - - - - " - “ - - - - - - ]]> - ]] > - - - - - - - - - - - - - - - - < - < - - - - - - - ]]> - ]] > - - - - - - - - - - - - - - - - - - - 20 - 0 - - - - - - - - - - - - - - - - - - - - - - - - AmericanTypewriter-CondensedBoldItalic - - - GillSans-BoldItalic - - - AmericanTypewriter-CondensedItalic - - - GillSans-Italic - - - AmericanTypewriter-CondensedBold - - - GillSans-Bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    diff --git a/xsl/slides/keynote/xsltsl/.gitignore b/xsl/slides/keynote/xsltsl/.gitignore deleted file mode 100644 index 56631abf1..000000000 --- a/xsl/slides/keynote/xsltsl/.gitignore +++ /dev/null @@ -1 +0,0 @@ -ChangeLog diff --git a/xsl/slides/keynote/xsltsl/cmp.xsl b/xsl/slides/keynote/xsltsl/cmp.xsl deleted file mode 100644 index 490ddbf68..000000000 --- a/xsl/slides/keynote/xsltsl/cmp.xsl +++ /dev/null @@ -1,348 +0,0 @@ - - - - - - - - $Id$ - - - Hummel - Mark - - - 2003 - Mark Hummel - - - - XML Compare - - -
    - Introduction - - This module provides a template for comparing two xml documents. - -
    -
    - -
    - - - - Find differences - - - Compare two xml documents and display differences. Two xml documents are defined to be the same if: They have the matching elements and attributes, and that the data in the elements also match. The comparison is order sensitive. - - The element names from the documents at the current depth are compared, followed by their values, then any attribute names and values are compared. The process is applied then to the subtrees of the documents. - - Notes: If there are leaf nodes in one nodeset which don't exist in the other, the value of those 'extra' elements won't appear as a difference. - - - - - - - ns1 - ns2 - - The two nodesets which are to be compared. - - - - - - - Returns the difference between the documents. - - The format of the output is an xml document. A node is added to the result tree for every difference. The node contains the type of difference (e.g element name difference, attribute value difference, etc), the value in the first nodeset and the value in the second nodeset, and the parent node. The indentation level is the depth at which the difference was found relative to the first document. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - node[]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Compare - - - Recursively compare two xml nodesets, stop when a difference is found and return false. Otherwise return true if the document is identical. - - The element names from the documents at the current depth are compared, followed by their values, then any attribute names and values are compared. The process is applied then to the subtrees of the documents. - - Notes: If there are leaf nodes in one nodeset which don't exist in the other, the value of those 'extra' elements won't appear as a difference. - - - - - - - ns1 - ns2 - - The two nodesets which are to be compared. - - - - - - - False when the nodesets are not identical, empty otherwise. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - diff --git a/xsl/slides/keynote/xsltsl/date-time.xsl b/xsl/slides/keynote/xsltsl/date-time.xsl deleted file mode 100644 index d22192808..000000000 --- a/xsl/slides/keynote/xsltsl/date-time.xsl +++ /dev/null @@ -1,1524 +0,0 @@ - - - - - - - $Id$ - - - Diamond - Jason - - - 2004 - Steve Ball - - - 2001 - Jason Diamond - - - - Date/Time Processing - - -
    - Introduction - - This module provides templates for formatting and parsing date/time strings. - - See http://www.tondering.dk/claus/calendar.html for more information on calendars and the calculations this library performs. - -
    -
    - -
    - - - Returns a string with a formatted date/time. - - - The formatted date/time is determined by the format parameter. The default format is %Y-%m-%dT%H:%M:%S%z, the W3C format. - - - - - - - xsd-date-time - - The date-time value in XML Schemas (WXS) format. - If this value is specified, it takes priority over other parameters. - - - - - year - - Year, in either 2 or 4+ digit format.. - If the year is given as a two digit value, it will be converted to a four digit value using the fixed window method. Values between 00 and 49 will be prepended by "20". Values between 50 and 99 will be prepended by "19". - - - - - month - - Month (1 - 12; January = 1) - - - - - day - - Day of month (1 - 31) - - - - - hour - - Hours since midnight (0 - 23) - - - - - minute - - Minutes after hour (0 - 59) - - - - - second - - Seconds after minute (0 - 59) - - - - - time-zone - - Time zone string (e.g., 'Z' or '-08:00') - - - - - format - - The format specification. - - - - %a - - Abbreviated weekday name - - - - - %A - - Full weekday name - - - - - %b - - Abbreviated month name - - - - - %B - - Full month name - - - - - %c - - Date and time representation appropriate for locale - - - - - %d - - Day of month as decimal number (01 - 31) - - - - - %e - - Day of month as decimal number (1 - 31) - - - - - %H - - Hour in 24-hour format (00 - 23) - - - - - %I - - Hour in 12-hour format (01 - 12) - - - - - %i - - Hour in 12-hour format (1 - 12) - - - - - %j - - Day of year as decimal number (001 - 366) - - - - - %m - - Month as decimal number (01 - 12) - - - - - %n - - Month as decimal number (1 - 12) - - - - - %M - - Minute as decimal number (00 - 59) - - - - - %P - - Current locale's A.M./P.M. indicator for 12-hour clock, uppercase - - - - - %Q - - Current locale's A.M./P.M. indicator for 12-hour clock, uppercase with periods - - - - - %p - - Current locale's A.M./P.M. indicator for 12-hour clock, lowercase - - - - - %q - - Current locale's A.M./P.M. indicator for 12-hour clock, lowercase with periods - - - - - %S - - Second as decimal number (00 - 59) - - - - - %U - - Week of year as decimal number, with Sunday as first day of week (00 - 53) - - - - - %w - - Weekday as decimal number (0 - 6; Sunday is 0) - - - - - %W - - Week of year as decimal number, with Monday as first day of week (00 - 53) - - - - - %x - - Date representation for current locale - - - - - %X - - Time representation for current locale - - - - - %y - - Year without century, as decimal number (00 - 99) - - - - - %Y - - Year with century, as decimal number - - - - - %z - - Time-zone name or abbreviation; no characters if time zone is unknown - - - - - %% - - Percent sign - - - - - - - - - - - - Returns a formatted date/time string. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [not implemented] - - - - - 0 - - - - - - - - - - 0 - - - - - - - 12 - 0 - - 0 - - - - - - - 12 - - - - - - - - - - [not implemented] - - - - - 0 - - - - - - - - - - 0 - - - - - - - am - pm - - - - - - am - p.m. - - - - - - AM - PM - - - - - - AM - P.M. - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [not implemented] - - - - - [not implemented] - - - - - - invalid year value - - - 00 - - - - - - - - - - - invalid year value - - - - - - - - - invalid year value - - - - - - - - - - - % - - - - - - - - - - - - - - - - - - - - - - - Calculates the day of the week. - - - Given any Gregorian date, this calculates the day of the week. - - - - - - year - - Year - - - - month - - Month (1 - 12; January = 1) - - - - day - - Day of month (1 - 31) - - - - - - - Returns the day of the week (0 - 6; Sunday = 0). - - - - - - - - - - - - - - - - - - - Calculates the number of days for a specified month. - - - Given any Gregorian month, this calculates the last day of the month. - - - - - - year - - Year - - - - month - - Month (1 - 12; January = 1) - - - - - - - Returns the number of days in given month as a decimal number. - - - - - - - - - - - 29 - 28 - - - - - 30 - 31 - - - - - 30 - 31 - - - - - - - Gets the day of the week's full name. - - - Converts a numeric day of the week value into a string representing the day's full name. - - - - - - day-of-the-week - - Day of the week (0 - 6; Sunday = 0) - - - - - - - Returns a string. - - - - - - - - - Sunday - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday - error: - - - - - - Gets the day of the week's abbreviation. - - - Converts a numeric day of the week value into a string representing the day's abbreviation. - - - - - - day-of-the-week - - Day of the week (0 - 6; Sunday = 0) - - - - - - - Returns a string. - - - - - - - - - Sun - Mon - Tue - Wed - Thu - Fri - Sat - error: - - - - - - Gets the month's full name. - - - Converts a numeric month value into a string representing the month's full name. - - - - - - month - - Month (1 - 12; Januaray = 1) - - - - - - - Returns a string. - - - - - - - - - January - February - March - April - May - June - July - August - September - October - November - December - error: - - - - - - Gets the month's abbreviation. - - - Converts a numeric month value into a string representing the month's abbreviation. - - - - - - month - - Month (1 - 12; Januaray = 1) - - - - - - - Returns a string. - - - - - - - - - Jan - Feb - Mar - Apr - May - Jun - Jul - Aug - Sep - Oct - Nov - Dec - error: - - - - - - Calculates the Julian Day for a specified date. - - - Given any Gregorian date, this calculates the Julian Day. - - - - - - year - - Year - - - - month - - Month (1 - 12; January = 1) - - - - day - - Day of month (1 - 31) - - - - - - - Returns the Julian Day as a decimal number. - - - - - - - - - - - - - - - - - - - Returns a string with a formatted date for a specified Julian Day. - - - Given any Julian Day, this returns a string according to the format specification. - - - - - - julian-day - - A Julian Day - - - - format - - The format specification. See dt:format-date-time for more details. - - - - - - - A string. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Calculates the week number for a specified date. - - - Assumes Monday is the first day of the week. - - - - - - year - - Year - - - - month - - Month (1 - 12; January = 1) - - - - day - - Day of month (1 - 31) - - - - - - - Returns the week number as a decimal number. - - - - - - - - - - - - - - - - - - - - - - - - - - - Take a month by name and return a number which can be used as input to the templates. - - - Input - - - - - - month - - Month as described either by full name or abbreviation. - - - - - - - Return a month as a decimal number. (Jan = 1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Return year component of XSD DateTime value. - - - Extract component of XML Schemas DateTime value. - - - - - - xsd-date-time - - A value in XSD DateTime format. - - - - - - - Returns year component. - - - - - - - - - - - - - - - - - - - - - - - - - Return month component of XSD DateTime value. - - - Extract component of XML Schemas DateTime value. - - - - - - xsd-date-time - - A value in XSD DateTime format. - - - - - - - Returns month component. - - - - - - - - - - - - - - - - - - - - - - - - - Return day component of XSD DateTime value. - - - Extract component of XML Schemas DateTime value. - - - - - - xsd-date-time - - A value in XSD DateTime format. - - - - - - - Returns day component. - - - - - - - - - - - - - - - - - - - - - - - - - Return hour component of XSD DateTime value. - - - Extract component of XML Schemas DateTime value. - - - - - - xsd-date-time - - A value in XSD DateTime format. - - - - - - - Returns hour component. - - - - - - - - - - - - - - - - - - - - - - - - - - Return minute component of XSD DateTime value. - - - Extract component of XML Schemas DateTime value. - - - - - - xsd-date-time - - A value in XSD DateTime format. - - - - - - - Returns minute component. - - - - - - - - - - - - - - - - - - - - - - - - - - Return second component of XSD DateTime value. - - - Extract component of XML Schemas DateTime value. - - - - - - xsd-date-time - - A value in XSD DateTime format. - - - - - - - Returns second component. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Return timezone component of XSD DateTime value. - - - Extract component of XML Schemas DateTime value. - - - - - - xsd-date-time - - A value in XSD DateTime format. - - - - - - - Returns timezone component. - - - - - - - - Z - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - Return two digit year as four digit year value. - - - Prepend century to two digit year value. - Century value is calculated according to suggested solutions in RFC2626 (section 5). - Fixed window solution: 20 is prepended to year if the year is less than 50, otherwise 19 is prepended to year. - Sliding window solution: The year is considered in the future if the year is less than the current 2 digit year plus 'n' years (where 'n' is a param), otherwise it is considered in the past. - - - - - - year - - A year value in 2 digit format. - - - - method - - RFC2626 suggested solution ('fixed' or 'sliding'). Default is 'fixed'. - - - - n - - No. of years. Used in sliding windows solution. - - - - - - - Returns four digit year value. - - - - - - - - - invalid year value - - - 20 - 19 - - - - not yet implemented - invalid method - - - -
    diff --git a/xsl/slides/keynote/xsltsl/example.xsl b/xsl/slides/keynote/xsltsl/example.xsl deleted file mode 100644 index 4c7b4ac8e..000000000 --- a/xsl/slides/keynote/xsltsl/example.xsl +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - $Id$ - - - Ball - Steve - - - 2001 - Steve Ball - - - - Example Stylesheet - - -
    - Introduction - - This module provides a template for adding stylesheet modules to the XSLT Standard Library. - To add a new module to the library, follow these easy steps: - - - Copy this file and replace its contents with the new module templates and documentation. - - - Copy the corresponding test file in the test directory. Replace its contents with tests for the new module. - - - Add an include element in the stdlib.xsl stylesheet. - - - Add an entry in the test/test.xml file. - - - Add entries in the test/test.xsl stylesheet. - - - Add an entry in the doc/build.xml file. - - - - The example.xsl stylesheet provides a more extensive example. - -
    -
    - -
    - - - Template Example - - - Provides a template for writing templates. Replace this paragraph with a description of your template - - - - - - text - - The example string - - - - - - - Returns nothing. - - - - - - - -
    - diff --git a/xsl/slides/keynote/xsltsl/markup.xsl b/xsl/slides/keynote/xsltsl/markup.xsl deleted file mode 100644 index 453e7f474..000000000 --- a/xsl/slides/keynote/xsltsl/markup.xsl +++ /dev/null @@ -1,789 +0,0 @@ - - - - - - $Id$ - - - Ball - Steve - - - 2003 - 2001 - Steve Ball - - - - XML Markup Templates - - -
    - Introduction - - This stylesheet module provides functions for generating literal XML markup. - -
    -
    - -
    - - - Create an XML Declaration - - - This template returns an XML Declaration. Although the XSLT standard provides control over the generation of the XML Declaration, this template may be useful in circumstances where the values must be computed at runtime. - - - - - - version - - Version number. - - - - standalone - - Standalone indication. Must be value "yes" or "no". - - - - encoding - - Character encoding. - - - - - - - Returns an XML Declaration as a string. - - - - - - - - - <?xml version=" - - " - - - - - standalone=" - - " - - - invalid value "" for standalone attribute - - - - - encoding=" - - " - - - ?> - - - - - Create a Document Type Declaration - - - This template returns a Document Type Declaration. Although the XSLT standard provides control over the generation of a Document Type Declaration, this template may be useful in circumstances where the values for the identifiers or the internal subset must be computed at runtime. - - - - - - docel - - The name of the document element. - - - - publicid - - The public identifier for the external DTD subset. - - - - systemid - - The system identifier for the external DTD subset. - - - - internaldtd - - The internal DTD subset. - - - - - - - Returns a Document Type Declaration as a string. - - - - - - - - - - - No document element specified - - - <!DOCTYPE - - - - - - - - - - [ - - ] - - - > - - - - - Create an Element Declaration - - - This template returns an element declaration.. - - - - - - type - - The element type. - - - - content-spec - - The content specification. - - - - - - - Returns an element declaration as a string. - - - - - - - - - element type must be specified - - - content specification must be specified - - - <!ELEMENT - - - - > - - - - Create an Attribute List Declaration - - - This template returns an attribute list declaration. - - - - - - type - - The element type. - - - - attr-defns - - Attribute definitions. - - - - - - - Returns an attribute list declaration as a string. - - - - - - - - - element type must be specified - - - <!ATTLIST - - - - > - - - - Create an Attribute Definition - - - This template returns an attribute definition. - - - - - - name - - The attribute name. - - - - type - - The attribute type. - - - - default - - The attribute default. - - - - - - - Returns an attribute definition as a string. - - - - - - - - - - attribute name must be specified - - - attribute type must be specified - - - attribute default must be specified - - - - - - - - - - - - Create an Entity Declaration - - - This template returns an entity declaration. - If the 'text' parameter is given a value, then an internal entity is created. If either the 'publicid' or 'systemid' parameters are given a value then an external entity is created. It is an error for the 'text' parameter to have value as well as the 'publicid', 'systemid' or 'notation' parameters. - - - - - - name - - The entity name. - - - - parameter - - Boolean value to determine whether a parameter entity is created. Default is 'false()'. - - - - text - - The replacement text. Must be a string. - - - - nodes - - The replacement text as a nodeset. The nodeset is formatted as XML using the as-xml template. If both text and nodes are specified then nodes takes precedence. - - - - publicid - - The public identifier for an external entity. - - - - systemid - - The system identifier for an external entity. - - - - notation - - The notation for an external entity. - - - - - - - Returns an entity declaration as a string. - - - - - - - - - - - - - - entity name must be specified - - - both replacement text and external identifier specified - - - <!ENTITY - - - - % - - - - - - - - - - - - - - - - - - - - - - - - - - - NDATA " - - " - - - > - - - - Quote an Attribute Value - - - This template returns a quoted value. - - - - - - value - - The value to quote. - - - - - - - Returns a quote value as a string. - - - - - - - - - - - - - - - - - < - - &lt; - - - - - - - - - - - - - - " - ' - - - - " - - - " - - &quot; - - - " - - - ' - - ' - - - " - - " - - - - - - Create an External Identifier - - - This template returns an external identifier. - - - - - - publicid - - The public identifier. - - - - systemid - - The system identifier. - - - - - - - Returns an external identifier as a string. - - - - - - - - - - - - - - PUBLIC " - - " - - " - - " - - - - - - - SYSTEM " - - " - - - - - - Create an Entity Reference - - - This template returns an entity reference. - - - - - - name - - The name of the entity. - - - - - - - Returns an entity reference as a string. - - - - - - - & - - ; - - - - - Create a Notation Declaration - - - This template returns a notation declaration. - - - - - - name - - The notation name. - - - - publicid - - The public identifier for the notation. - - - - systemid - - The system identifier for the notation. - - - - - - - Returns a notation declaration as a string. - - - - - - - - - - notation name must be specified - - - external identifier must be specified - - - <!NOTATION - - - - - - - - - > - - - - Create a CDATA Section - - - This template returns a CDATA Section. The XSLT specification provides a mechanism for instructing the XSL processor to output character data in a CDATA section for certain elements, but this template may be useful in those circumstances where not all instances of an element are to have their content placed in a CDATA section. - - - - - - text - - The content of the CDATA section. - - - - - - - Returns a CDATA section as a string. - - - - - - - - CDATA section contains "]]>" - - - <![CDATA[ - - ]]> - - - - Format Nodeset As XML Markup - - - This template returns XML markup. Each node in the given nodeset is converted to its equivalent XML markup. - - BUG: This version may not adequately handle XML Namespaces. - - - - - - nodes - - Nodeset to format as XML. - - - - - - - Returns XML markup. - - - - - - - - - - < - - - - - = - - - - - - - - > - - - - </ - - > - - - /> - - - - - - - - <!-- - - --> - - - <? - - - - ?> - - - - - - - - - - - - - -
    diff --git a/xsl/slides/keynote/xsltsl/math.xsl b/xsl/slides/keynote/xsltsl/math.xsl deleted file mode 100644 index c7327a5b0..000000000 --- a/xsl/slides/keynote/xsltsl/math.xsl +++ /dev/null @@ -1,704 +0,0 @@ - - - - - - - $Id$ - - - Ball - Steve - - - 2004 - 2002 - Steve Ball - - - - Math Module - - -
    - Introduction - - This module provides mathematical functions. -
    -
    - -
    - - - Power - - - Raises a number to a power. - - - - - - base - - The base number. Must be a number. - - - - power - - The power to raise the number to. Must be an integer. - - - - - - - Returns base multiplied by itself power times. If the base or power are not numbers or if the power is fractional then an empty string is returned. - - - - - - - - - - 1 - - - 1 - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Absolute Value - - - Absolute value of a number. - - - - - - number - - The number. Must be a number. - - - - - - - Returns the absolute value of the number. - - - - - - - - - - - - - - - - - - Conversion - - - Converts a hexidecimal value to a decimal value. - - - - - - value - - The hexidecimal number. Must be a number in hexidecimal format. - - - - - - - Returns the value as a decimal string. If the value is not a number then a NaN value is returned. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - 11 - 12 - 13 - 14 - 15 - - - - - Conversion - - - Converts a decimal value to a hexidecimal value. - - - - - - value - - The decimal number. - - - - - - - Returns the value as a hexidecimal string (lowercase). If the value is not a number then a NaN value is returned. - - - - - - - - 0 - NaN - - - - - - - - - - a - b - c - d - e - f - - - - - - - - Ordinal number - - - Gives the ordinal number of a given counting number. For example, 1 becomes "1st". - - - - - - number - - An integer number. - - - - - - - Returns the number with an ordinal suffix. - - - - - - - - - - - - th - st - nd - rd - th - - - - - - - - Returns an ordinal number - - - This template returns the ordinal number for a given counting number as a word. For example "first" for 1. - Only handles numbers less than 10000000 (ten million). - - - - - - number - - The counting number. - - - - conjunctive - - Whether to add the word "and" to the result, for example "one hundred and first" rather than "one hundred first". Default is "yes". - - - - - - - Returns the ordinal number as a string. - - - - - - - - - - - zeroth - - - - - and - first - - - and - second - - - and - third - - - and - fourth - - - and - fifth - - - and - sixth - - - and - seventh - - - and - eighth - - - and - ninth - - - and - tenth - - - and - eleventh - - - and - twelveth - - - and - thirteenth - - - and - fourteenth - - - and - fifteenth - - - and - sixteenth - - - and - seventeenth - - - and - eighteenth - - - and - nineteenth - - - and - twentieth - - - and - thirtieth - - - and - fortieth - - - and - fiftieth - - - and - sixtieth - - - and - seventieth - - - and - eightieth - - - and - ninetieth - - - - - - - millionth - - - and - - - - thousandth - - - and - - - - hundredth - - - - - - and - - - - - - - - - - - - - - - - - - - - - - - - - - and - - - - - - - - - - - - - - - - - - - - - - - - - - - and - - - - - - - - - - - - - - - and - - - - - - - - - - - - - - - - - Returns a number as a word - - - This template returns the word for a given integer number, for example "one" for 1. - Only handles numbers less than 10000000 (ten million). - - - - - - number - - The counting number. - - - - conjunctive - - Adds the word "and" where appropriate, for example. - - - - - - - Returns the number as a string. - - - - - - - - - - zero - - - minus - - - - - - - - - - - - million - - - - - - million - - - - - - - - - thousand - - - - - - thousand - and - - - - - - - - - hundred - - - - - - hundred - and - - - - - - one - two - three - four - five - six - seven - eight - nine - ten - eleven - twelve - thirteen - fourteen - fifteen - sixteen - seventeen - eighteen - nineteen - twenty - thirty - forty - fifty - sixty - seventy - eighty - ninety - - - - - - - - - - - - -
    - diff --git a/xsl/slides/keynote/xsltsl/node.xsl b/xsl/slides/keynote/xsltsl/node.xsl deleted file mode 100644 index a15d274d7..000000000 --- a/xsl/slides/keynote/xsltsl/node.xsl +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - - - $Id$ - - - Ball - Steve - - - 2001 - Steve Ball - - - - Node Templates - - -
    - Introduction - - This stylesheet module provides functions for reporting on or manipulating nodes and nodesets. - -
    -
    - -
    - - - Returns an XPath location path - - - This template returns an XPath location path that uniquely identifies the given node within the document. - - - - - - node - - The node to create an XPath for. If this parameter is given as a nodeset, then the first node in the nodeset is used. - - - - - - - Returns an XPath location path as a string. - - - - - - - - - - - - / - [] - - - - - - /comment() - [] - - - - /processing-instruction() - [] - - - - /text() - [] - - - - / - - - - /namespace:: - - - - /@ - - - - - - - /.. - - - - - - - - Return node type - - - Returns the type of a node as a string. - - - - - - node - - The node to get the type for. If this parameter is given as a nodeset, then the first node in the nodeset is used. - - - - - - - Returns node type as a string. Values returned are: - - - Element - - element - - - - Text Node - - text - - - - Comment - - comment - - - - Processing Instruction - - processing instruction - - - - - - - - - - - - - element - - - text - - - comment - - - processing instruction - - - root - - - namespace - - - attribute - - - - - - Copy Nodes - - - Makes a copy of the given nodes, including attributes and descendants. - - - - - - nodes - - The nodes to copy. - - - - - - - Returns the copied nodes as a result tree fragment. - - - - - - - - - - - - - - - - - - -
    - diff --git a/xsl/slides/keynote/xsltsl/stdlib.xsl b/xsl/slides/keynote/xsltsl/stdlib.xsl deleted file mode 100644 index e934f108e..000000000 --- a/xsl/slides/keynote/xsltsl/stdlib.xsl +++ /dev/null @@ -1,340 +0,0 @@ - - -]> - - - - - - - - - - - - - - - - - - - - XSLT Standard Library - Version &version; - - - - Ball - Steve - - - 2004 - 2002 - Steve Ball - - - - - The XSLT Standard Library, xsltsl, provides the XSLT developer with a set of XSLT templates for commonly used functions. These are implemented purely in XSLT, that is they do not use any extensions. - xsltsl is a SourceForge project. - - - - - - SourceForge Logo - - - Goals of the xsltsl project include: - - - Provision of a high-quality library of XSLT templates, suitable for inclusion by vendors in XSLT processor software products. - - - Demonstration of best practice in XSLT stylesheet development and documentation. - - - Provide examples of various techniques used to develop XSLT stylesheets (ie. a working FAQ). - - - - - - Using The Library - - There are two ways of using the library: - - - Use a local copy of the library. - - - Download the distribution (see below). - - - Unpack the distribution, using either gunzip/tar or unzip. - - - In your stylesheet import or include either the main stylesheet, stdlib.xsl, or the stylesheet module you wish to use, such as string.xsl. This example assumes that the distribution has been extracted into the same directory as your own stylesheet: - - -]]> - - - - - - Import or include either the main stylesheet, or the stylesheet module you wish to use, directly from the library website; http://xsltsl.sourceforge.net/modules/. The modules directory always contains the latest stable release. For example: - - -]]> - - Older versions of the library are available in subdirectories. For example, to access version 1.1 of the library use: - - -]]> - - - - Next, add XML Namespace declarations for the modules you wish to use. For example, to use templates from the string module, your stylesheet should have the following declaration: - - - - -]]> - - Finally, use a template with the call-template element. Most templates require parameters, which are passed using the with-param element. For example: - - - - - a word - another word - - -]]> - - - - - Obtaining The Library - - The XSLT Standard Library is available for download as either: - - - Gzip'd tarball: http://prdownloads.sourceforge.net/xsltsl/xsltsl-&version;.tar.gz - - - Zip file: http://prdownloads.sourceforge.net/xsltsl/xsltsl-&version;.zip - - - - - - Getting Involved - - Contributions to the project are most welcome, and may be in the form of stylesheet modules, patches, bug reports or sample code. Any contributed code must use the LGPL license to be accepted into the library. - - See the SourceForge Project Page http://sourceforge.net/projects/xsltsl/ for information on the development of the project. Bug reports may be submitted here. - - See the project Web Page http://xsltsl.sourceforge.net/ for documentation. - - There are three mailing lists for the project: - - - xsltsl-users@lists.sourceforge.net - - Discussion of the use of xsltsl. - - - - xsltsl-devel@lists.sourceforge.net - - Discussion of the development of xsltsl. - - - - xsltsl-announce@lists.sourceforge.net - - Project announcements. - - - - - - - XML Namespaces - - Apart from the XSLT XML Namespace (http://www.w3.org/1999/XSL/Transform), xsltsl employs a number of XML Namespaces to allow inclusion of the library in developer stylesheets. In addition, documentation is defined in a separate namespace. - Each module is allocated a namespace URI by appending the module name to the URI for the project, http://xsltsl.org/. For example, the string module has the namespace URI http://xsltsl.org/string. - All documentation is written using an extension of DocBook designed for embedding DocBook into XSLT stylesheets. The namespace URI for DocBook embedded in stylesheets is http://xsltsl.org/xsl/documentation/1.0 - - - - Engineering Standards - - In order to maintain a high engineering standard, all modules and contributions to the xsltsl project must adhere to the following coding and documentation standards. Submissions which do not meet (or exceed) this standard will not be accepted. - - - All stylesheets must be indented, with each level indented by two spaces. NB. a simple stylesheet could be used to enforce/fix this. - - - Templates are named using a qualified name (QName). The namespace URI for the template's containing stylesheet is assigned as above. - - - Parameters for templates should use sensible names. Where possible (or if in doubt), follow these conventions: - - - A parameter containing a single node is named node. Where more than one parameter contains a single node, the suffix Node is appended to the parameter name, eg. referenceNode - - - A parameter which potentially contains multiple nodes is named nodes. Where more than one parameter potentially contains multiple nodes, the suffix Nodes is appended to the parameter name, eg. copyNodes - - - A parameter which contains a string value is named text. - - - - - All templates in each stylesheet must be documented. A template is documented as a DocBook RefEntry. - - - Every stylesheet must include a test suite. The test system is in the test subdirectory. See test/test.html for further details. - - - - An example stylesheet has been provided, which acts as a template for new stylesheet modules. - - - - - Related Work - - The EXSLT project is creating a library to standardise extension functions. The XSLT Standard Library is complementary to the EXSLT project. - - - - - Reference Documentation - - Reference documentation is available for each module. - -
    - String Processing - - - - string.xsl - - -
    - -
    - Nodes - - - - node.xsl - - -
    - -
    - Date/Time Processing - - - - date-time.xsl - - -
    - -
    - Mathematics - - - - math.xsl - - -
    - -
    - URI (Uniform Resource Identifier) Processing - - - - uri.xsl - - -
    - -
    - Comparing Nodesets - - - - cmp.xsl - - -
    - -
    - Generating XML Markup - - - - markup.xsl - - -
    - -
    - Presentation Media Support - - - - Scalable Vector Graphics: svg.xsl - - - -
    - -
    - Example - - - - - - example.xsl - - -
    -
    - -
    - -
    diff --git a/xsl/slides/keynote/xsltsl/string.xsl b/xsl/slides/keynote/xsltsl/string.xsl deleted file mode 100644 index c721e1e7c..000000000 --- a/xsl/slides/keynote/xsltsl/string.xsl +++ /dev/null @@ -1,1233 +0,0 @@ - - - - - - - - $Id$ - - - Ball - Steve - - - 2002 - 2001 - Steve Ball - - - - String Processing - - -
    - Introduction - - This module provides templates for manipulating strings. - -
    -
    - -
    - - - - - - - - - - - - - Make string uppercase - - - Converts all lowercase letters to uppercase. - - - - - - text - - The string to be converted - - - - - - - Returns string with all uppercase letters. - - - - - - - - - - - - - - ß - - - S - S - - - - - - - - - Make string lowercase - - - Converts all uppercase letters to lowercase. - - - - - - text - - The string to be converted - - - - - - - Returns string with all lowercase letters. - - - - - - - - - - - Capitalise string - - - Converts first character of string to an uppercase letter. All remaining characters are converted to lowercase. - - - - - - text - - The string to be capitalised - - - - all - - Boolean controlling whether all words in the string are capitalised. - Default is true. - - - - - - - Returns string with first character uppcase and all remaining characters lowercase. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Convert a string to one camelcase word - - - Converts a string to one lowerCamelCase or UpperCamelCase - word, depending on the setting of the "upper" - parameter. UpperCamelCase is also called MixedCase while - lowerCamelCase is also called just camelCase. The template - removes any spaces, tabs and slashes, but doesn't deal with - other punctuation. It's purpose is to convert strings like - "hollow timber flush door" to a term suitable as identifier or - XML tag like "HollowTimberFlushDoor". - - - - - - - text - - The string to be capitalised - - - - upper - - Boolean controlling whether the string becomes an - UpperCamelCase word or a lowerCamelCase word. - Default is true. - - - - - - - Returns string with first character uppcase and all remaining characters lowercase. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - String extraction - - - Extracts the portion of string 'text' which occurs before any of the characters in string 'chars'. - - - - - - text - - The string from which to extract a substring. - - - - chars - - The string containing characters to find. - - - - - - - Returns string. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - String extraction - - - Extracts the portion of string 'text' which occurs after the last of the character in string 'chars'. - - - - - - text - - The string from which to extract a substring. - - - - chars - - The string containing characters to find. - - - - - - - Returns string. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - String extraction - - - Extracts the portion of string 'text' which occurs before the first character of the last occurance of string 'chars'. - - - - - - text - - The string from which to extract a substring. - - - - chars - - The string containing characters to find. - - - - - - - Returns string. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - String substitution - - - Substitute 'replace' for 'with' in string 'text'. - - - - - - text - - The string upon which to perform substitution. - - - - replace - - The string to substitute. - - - - with - - The string to be substituted. - - - - disable-output-escaping - - A value of yes indicates that the result should have output escaping disabled. Any other value allows normal escaping of text values. The default is to enable output escaping. - - - - - - - Returns string. - - - - - - - - no - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Count Substrings - - - Counts the number of times a substring occurs in a string. This can also counts the number of times a character occurs in a string, since a character is simply a string of length 1. - - - - Counting Lines - - - - -]]> - - - - - - text - - The source string. - - - - chars - - The substring to count. - - - - - - - Returns a non-negative integer value. - - - - - - - - - - 0 - - - - - - - - - - - - 0 - - - - - - String extraction - - Extracts the portion of a 'char' delimited 'text' string "array" at a given 'position'. - - - - - text - - The string from which to extract a substring. - - - - chars - - delimiters - - - - position - - position of the elements - - - - all - - If true all of the remaining string is returned, otherwise only the element at the given position is returned. Default: false(). - - - - - - Returns string. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - String extraction - - Extracts the portion of a 'char' delimited 'text' string "array" at a given 'position' - - - - - text - - The string from which to extract a substring. - - - - chars - - delimiters - - - - position - - position of the elements - - - - - - Returns string. - - - - - - - - - - - - - - - - - - - - - - - - - - - String insertion - - Insert 'chars' into "text' at any given "position' - - - - - text - - The string upon which to perform insertion - - - - position - - the position where insertion will be performed - - - - with - - The string to be inserted - - - - - - Returns string. - - - - - - - - - - - - - - - - - String reversal - - - Reverse the content of a given string - - - - - - text - - The string to be reversed - - - - - - - Returns string. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Format a string - - - Inserts newlines and spaces into a string to format it as a block of text. - - - - - - text - - String to be formatted. - - - - max - - Maximum line length. - - - - indent - - Number of spaces to insert at the beginning of each line. - - - - justify - - Justify left, right or both. Not currently implemented (fixed at "left"). - - - - - - - Formatted block of text. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Find first occurring character in a string - - - Finds which of the given characters occurs first in a string. - - - - - - text - - The source string. - - - - chars - - The characters to search for. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Match A String To A Pattern - - - Performs globbing-style pattern matching on a string. - - - - Match Pattern - - - - -]]> - - - - - - text - - The source string. - - - - pattern - - The pattern to match against. Certain characters have special meaning: - - - * - - Matches zero or more characters. - - - - ? - - Matches a single character. - - - - \ - - Character escape. The next character is taken as a literal character. - - - - - - - - - - Returns "1" if the string matches the pattern, "0" otherwise. - - - - - - - - - - - 1 - - - 1 - - - 0 - - - - - - - - - - - - - - - - - - - - - - 0 - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - 1 - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - Create A Repeating Sequence of Characters - - - Repeats a string a given number of times. - - - - - - text - - The string to repeat. - - - - count - - The number of times to repeat the string. - - - - - - - - - - - - - - - - - - - - - - -
    - diff --git a/xsl/slides/keynote/xsltsl/svg.xsl b/xsl/slides/keynote/xsltsl/svg.xsl deleted file mode 100644 index c64bd1d53..000000000 --- a/xsl/slides/keynote/xsltsl/svg.xsl +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - - $Id$ - - - Ball - Steve - - - 2002 - Steve Ball - - - - SVG Stylesheet - - -
    - Introduction - - This module provides templates for creating SVG images. -
    -
    -
    - - - Aqua-style Button - - - Part of the mechanism to create an Aqua-style button. Include a call to this template in your SVG document's defs element. This template only needs to be included once. Use this in conjunction with svg:aqua-button. - - The default values for color1, color2 and color3 result in a grey button. - - - - - - prefix - - A prefix to append to the identifiers used, so that they don't clash with other identifiers. Default: "aqua-". - - - - color1 - - The base colour of the button. Default: "#d9d9d9". - - - - color2 - - A "background" colour for the button. Should be a darker colour than color1. Default: "#a9a9a9". - - - - color3 - - A highlight colour for the button. Should be a lighter colour than color1. Default: "#f9f9f9". - - - - - - - Returns SVG result-tree-fragment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Aqua-style Button - - - Part of the mechanism to create an Aqua-style button. Include a call to this template in your SVG document where you want a button to appear. This template can be used many times in a single SVG document. Use this in conjunction with svg:aqua-button-defs. - - - - - - prefix - - A prefix to append to the identifiers used, so that they don't clash with other identifiers. Default: "aqua-". - - - - - - - Returns SVG result-tree-fragment. - - - - - - - - - - - - - - - - - -
    diff --git a/xsl/slides/keynote/xsltsl/uri.xsl b/xsl/slides/keynote/xsltsl/uri.xsl deleted file mode 100644 index a969f06a0..000000000 --- a/xsl/slides/keynote/xsltsl/uri.xsl +++ /dev/null @@ -1,580 +0,0 @@ - - - - - - - - $Id$ - - - Diamond - Jason - - - 2001 - Jason Diamond - - - - URI (Uniform Resource Identifier) Processing - - -
    - Introduction - This module provides templates for processing URIs (Uniform Resource Identifers). -
    -
    - -
    - - - Determines if a URI is absolute or relative. - - - Absolute URIs start with a scheme (like "http:" or "mailto:"). - - - - - - uri - - An absolute or relative URI. - - - - - - - Returns 'true' if the URI is absolute or '' if it's not. - - - - - - - - - - - - - - Gets the scheme part of a URI. - - - The ':' is not part of the scheme. - - - - - - uri - - An absolute or relative URI. - - - - - - - Returns the scheme (without the ':') or '' if the URI is relative. - - - - - - - - - - - - Gets the authority part of a URI. - - - The authority usually specifies the host machine for a resource. It always follows '//' in a typical URI. - - - - - - uri - - An absolute or relative URI. - - - - - - - Returns the authority (without the '//') or '' if the URI has no authority. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets the path part of a URI. - - - The path usually comes after the '/' in a URI. - - - - - - uri - - An absolute or relative URI. - - - - - - - Returns the path (with any leading '/') or '' if the URI has no path. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets the query part of a URI. - - - The query comes after the '?' in a URI. - - - - - - uri - - An absolute or relative URI. - - - - - - - Returns the query (without the '?') or '' if the URI has no query. - - - - - - - - - - - - - - - - - - - Gets the fragment part of a URI. - - - The fragment comes after the '#' in a URI. - - - - - - uri - - An absolute or relative URI. - - - - - - - Returns the fragment (without the '#') or '' if the URI has no fragment. - - - - - - - - - - - - Resolves a URI reference against a base URI. - - - This template follows the guidelines specified by RFC 2396. - - - - - - reference - - A (potentially relative) URI reference. - - - - base - - The base URI. - - - - document - - The URI of the current document. This defaults to the value of the base URI if not specified. - - - - - - - The "combined" URI. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    diff --git a/xsl/slides/svg/.gitignore b/xsl/slides/svg/.gitignore deleted file mode 100644 index 56631abf1..000000000 --- a/xsl/slides/svg/.gitignore +++ /dev/null @@ -1 +0,0 @@ -ChangeLog diff --git a/xsl/slides/svg/default.xsl b/xsl/slides/svg/default.xsl deleted file mode 100644 index 3ca02a37a..000000000 --- a/xsl/slides/svg/default.xsl +++ /dev/null @@ -1,686 +0,0 @@ - - - - - - - SVG Slides - - - Steve - Ball - - Zveno -
    - - zveno.com - -
    -
    -
    - - $Id$ - - - 2002 - Steve Ball, Zveno Pty Ltd - - - - Zveno Pty Ltd makes this software and associated documentation available free of charge for any purpose. You may make copies of the software but you must include all of this notice on any copy. - Zveno Pty Ltd does not warrant that this software is error free or fit for any purpose. Zveno Pty Ltd disclaims any liability for all claims, expenses, losses, damages and costs any user may incur as a result of using, copying or modifying the software. - -
    -
    - - - - - - - - - slides.css - graphics - - white - - Arial - white - black - - - - - - - - preserve - 100% - - font-family: ; font-size: 18pt; fill: ; stroke: ; background-color: - - - - font-size: 24pt; font-weight: bold - - - font-size: 18pt - - - font-size: 18pt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - href=" - - " type="text/css" - - - - - - - - - - - - - - - - title - - - - - - - - - - - - - title.click - - - foil1-previous-button.click; - - - - - - - - - - - - - - toc - - - - - - - - - - title.click - - - - - - toc.click; toc-content.click - - - - - - - - - - - - - - 50 - - 75 - - - - - - title.click - - - - - - toc.click; toc-content.click - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - index-foilgroup- - - - - - - #ff8000 - #ff8000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - toc - - - - - - - - - - - - index-foilgroup-1.click; toc.click; toc-content.click - - - index-foilgroup- - - .click; foil - - .click - - - - - - - - - - - - - - - 50 - - 75 - - - - - - - - index-foilgroup-1.click; toc.click; toc-content.click - - - index-foilgroup- - - .click; foil - - .click - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TOC - - - - - - - - - - - - - Previous - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - title.click - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - font-weight: bold - - - font-style: italic - - - font-style: italic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xsl/slides/xhtml/.gitignore b/xsl/slides/xhtml/.gitignore index 3d53a43c4..e69de29bb 100644 --- a/xsl/slides/xhtml/.gitignore +++ b/xsl/slides/xhtml/.gitignore @@ -1,14 +0,0 @@ -default.xsl -frames.xsl -graphics.xsl -jscript.xsl -param.xsl -plain.xsl -slides-common.xsl -tables.xsl -vslides.xsl -w3c.xsl -css.xsl -flat.xsl -html2xhtml.xsl -ChangeLog diff --git a/xsl/slides/xhtml/Makefile b/xsl/slides/xhtml/Makefile index 9b5d80144..0ee85f289 100644 --- a/xsl/slides/xhtml/Makefile +++ b/xsl/slides/xhtml/Makefile @@ -1,24 +1,17 @@ include $(DOCBOOK_SVN)/buildtools/Makefile.incl -XSLTPROC=xsltproc -XSLTPROC_OPTS= +PARAMBASE=param +XSLFILES=param.xsl +ALLTARGETS=$(XSLFILES) plain-titlepage.xsl +PROFILECONDITION=slides-xhtml +TTLTEMPLATEXSL=../../template/titlepage.xsl +CLEANTARGETS=titlepage-clean +NESTLEVEL=../ -HTML2XHTML=../../xhtml/html2xhtml.xsl +include ../../Makefile.incl -all: xsl-files +%.xsl: %.xml + $(XSLT) $< $(TTLTEMPLATEXSL) $@ -remove-old: - for f in ../html/*.xsl; do if [ -f `basename $$f` ]; then $(RM) `basename $$f`; fi; done - -add-new: - for f in ../html/*.xsl; do if [ ! -f `basename $$f` ]; then \ - echo $$f; \ - cp $$f .; \ - touch -t 197001010000 `basename $$f`; fi; done - -# Oh, come on! It must be possible to do this in Make, but I can't figure out how (ndw) - -xsl-files: remove-old add-new - for f in *.xsl; do if [ ../html/$$f -nt $$f ]; then $(XSLTPROC) $(XSLTPROC_OPTS) $(HTML2XHTML) ../html/$$f > $$f; fi; done - -clean: remove-old +titlepage-clean: + $(RM) plain-titlepage.xsl diff --git a/xsl/slides/xhtml/Makefile.param b/xsl/slides/xhtml/Makefile.param new file mode 100644 index 000000000..127c0d532 --- /dev/null +++ b/xsl/slides/xhtml/Makefile.param @@ -0,0 +1,26 @@ +PARAMS=../../params/disable.collapsible.xml \ + ../../params/disable.incremental.xml \ + ../../params/generate.copyright.xml \ + ../../params/generate.foilgroup.numbered.toc.xml \ + ../../params/generate.foilgroup.toc.xml \ + ../../params/generate.handoutnotes.xml \ + ../../params/generate.pubdate.xml \ + ../../params/generate.speakernotes.xml \ + ../../params/generate.titlepage.xml \ + ../../params/mml.embedding.mode.xml \ + ../../params/svg.embedding.mode.xml \ + ../../params/user.css.xml \ + ../../params/wrap.slidecontent.xml \ + ../../params/s5.controls.xml \ + ../../params/s5.defaultview.xml \ + ../../params/s5.opera.css.xml \ + ../../params/s5.outline.css.xml \ + ../../params/s5.path.prefix.xml \ + ../../params/s5.print.css.xml \ + ../../params/s5.slides.css.xml \ + ../../params/s5.slides.js.xml \ + ../../params/slidy.duration.xml \ + ../../params/slidy.path.prefix.xml \ + ../../params/slidy.slidy.css.xml \ + ../../params/slidy.slidy.js.xml \ + ../../params/slidy.user.css.xml diff --git a/xsl/slides/xhtml/param.ent b/xsl/slides/xhtml/param.ent new file mode 100644 index 000000000..ef08dea6a --- /dev/null +++ b/xsl/slides/xhtml/param.ent @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/slides/xhtml/param.xweb b/xsl/slides/xhtml/param.xweb new file mode 100644 index 000000000..e2162ae7b --- /dev/null +++ b/xsl/slides/xhtml/param.xweb @@ -0,0 +1,155 @@ + +%param.ent; +]> + + +Slides XHTML Parameter Reference + +$Id$ + + + + Kovesdan + Gabor + + + + 2012 + Gabor Kovesdan + + + This is reference documentation for all user-configurable + parameters in the DocBook XSL Slides XHTML stylesheet. + Note that the Slides stylesheet for XHTML output is a + customization layer of the DocBook XSL XHTML stylesheet. + Therefore, in addition to the slides-specific parameters + listed in this section, you can also use a number of + XHTML stylesheet + parameters to control Slides XHTML output. + + + + XHTML: General Params + +&disable.collapsible; +&disable.incremental; +&generate.copyright; +&generate.foilgroup.numbered.toc; +&generate.foilgroup.toc; +&generate.handoutnotes; +&generate.pubdate; +&generate.speakernotes; +&generate.titlepage; +&mml.embedding.mode; +&svg.embedding.mode; +&user.css; +&wrap.slidecontent; + + + + XHTML: S5 Params + +&s5.controls; +&s5.defaultview; +&s5.opera.css; +&s5.outline.css; +&s5.path.prefix; +&s5.print.css; +&s5.slides.css; +&s5.slides.js; + + + + XHTML: Slidy Params + +&slidy.duration; +&slidy.path.prefix; +&slidy.slidy.css; +&slidy.slidy.js; +&slidy.user.css; + + + +The Stylesheet + +The param.xsl stylesheet is just a wrapper +around all these parameters. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/slides/xhtml/plain-titlepage.xml b/xsl/slides/xhtml/plain-titlepage.xml new file mode 100644 index 000000000..fb6569d7b --- /dev/null +++ b/xsl/slides/xhtml/plain-titlepage.xml @@ -0,0 +1,26 @@ + + + + + + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> +</t:templates> diff --git a/xsl/slides/xhtml/s5.xsl b/xsl/slides/xhtml/s5.xsl new file mode 100644 index 000000000..9447db3ec --- /dev/null +++ b/xsl/slides/xhtml/s5.xsl @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="ASCII"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:db="http://docbook.org/ns/docbook" + xmlns:dbs="http://docbook.org/ns/docbook-slides" + exclude-result-prefixes="dbs db" + version="1.0"> + +<xsl:import href="plain.xsl"/> + +<!-- XXX: recommended by S5 but DocBook XSL produces XHTML Transitional + +<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> +--> + +<xsl:template name="xhtml.head"> + <xsl:variable name="s5.controls.visible"> + <xsl:choose> + <xsl:when test="$s5.controls != 0">visible</xsl:when> + + <xsl:otherwise>hidden</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/> + <meta name="version" content="S5 1.1"/> + <meta name="defaultView" content="{$s5.defaultview}"/> + <meta name="controlVis" content="{$s5.controls.visible}"/> + + <link rel="stylesheet" href="{concat($s5.path.prefix, $s5.slides.css)}" type="text/css" media="projection" id="slideProj" /> + <link rel="stylesheet" href="{concat($s5.path.prefix, $s5.outline.css)}" type="text/css" media="screen" id="outlineStyle" /> + <link rel="stylesheet" href="{concat($s5.path.prefix, $s5.print.css)}" type="text/css" media="print" id="slidePrint" /> + <link rel="stylesheet" href="{concat($s5.path.prefix, $s5.opera.css)}" type="text/css" media="projection" id="operaFix" /> + <link rel="stylesheet" href="{$user.css}" type="text/css"/> + + <script src="{concat($s5.path.prefix, $s5.slides.js)}" type="text/javascript"></script> +</xsl:template> + +<xsl:template name="slideshow.head"> + <div class="layout"> + <div id="controls"/> + <div id="currentSlide"/> + <div id="header"> + <xsl:apply-templates select="/" mode="slide.header.mode"/> + </div> + <div id="footer"> + <xsl:apply-templates select="/" mode="slide.footer.mode"/> + </div> + </div> +</xsl:template> + +<xsl:template match="db:xref"> + <xsl:variable name="target" select="id(./@linkend)"/> + + <xsl:choose> + <xsl:when test="($target[self::dbs:foil] or $target[self::dbs:foilgroup])"> + <xsl:variable name="target.no" select="count(preceding::dbs:foil|preceding::dbs:foilgroup) + 1"/> + + <xsl:apply-templates select="$target" mode="xref-to"/> + </xsl:when> + + <xsl:otherwise> + <xsl:call-template name="xref"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="db:biblioentry" mode="xref-to"> + <xsl:variable name="id" select="@xml:id"/> + + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="db:bibliography" count="db:biblioentry|db:bibliomixed" level="any" format="1"/> + </xsl:when> + + <xsl:otherwise> + <xsl:value-of select="$id"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="db:mediaobject"> + <p> + <xsl:if test="@dbs:style"> + <xsl:attribute name="class"> + <xsl:value-of select="@dbs:style"/> + </xsl:attribute> + </xsl:if> + + <xsl:apply-templates/> + </p> +</xsl:template> + +</xsl:stylesheet> diff --git a/xsl/slides/xhtml/slidy.xsl b/xsl/slides/xhtml/slidy.xsl new file mode 100644 index 000000000..d286c553d --- /dev/null +++ b/xsl/slides/xhtml/slidy.xsl @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="ASCII"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:db="http://docbook.org/ns/docbook" + xmlns:dbs="http://docbook.org/ns/docbook-slides" + exclude-result-prefixes="dbs db" + version="1.0"> + +<xsl:import href="plain.xsl"/> + +<xsl:param name="wrap.slidecontent">0</xsl:param> + +<xsl:template name="xhtml.head"> + <meta name="copyright"> + <xsl:attribute name="content"> + <xsl:if test="/dbs:slides/db:info/db:copyright"> + <xsl:call-template name="slide.copyright"/> + </xsl:if> + </xsl:attribute> + </meta> + + <xsl:if test="$slidy.duration != 0"> + <meta name="duration" content="{$slidy.duration}"/> + </xsl:if> + + <link rel="stylesheet" href="{concat($slidy.path.prefix, $slidy.slidy.css)}" type="text/css"/> + <xsl:if test="$slidy.user.css"> + <link rel="stylesheet" href="{concat($slidy.path.prefix, $slidy.user.css)}" type="text/css"/> + </xsl:if> + <link rel="stylesheet" href="{$user.css}" type="text/css"/> + <script src="{concat($slidy.path.prefix, $slidy.slidy.js)}" charset="utf-8" type="text/javascript"/> +</xsl:template> + +<xsl:template name="slideshow.head"> + <div class="background"/> +</xsl:template> + +<xsl:template name="slideshow.content"> + <xsl:if test="$generate.titlepage != 0"> + <xsl:apply-templates select="/dbs:slides" mode="titlepage"/> + </xsl:if> + + <xsl:apply-templates select="/dbs:slides/dbs:foil|dbs:slides/dbs:foilgroup"/> +</xsl:template> + +<xsl:template match="db:xref"> + <xsl:variable name="target" select="id(./@linkend)"/> + + <xsl:choose> + <xsl:when test="($target[self::dbs:foil] or $target[self::dbs:foilgroup])"> + <!-- foil no: preceding foil(group)s + titlepage + 1 --> + <xsl:variable name="target.no" select="count($target/preceding::dbs:foil|$target/preceding::dbs:foilgroup) + 1 + $generate.titlepage"/> + + <a href="{concat('#(', $target.no, ')')}"> + <xsl:apply-templates select="$target" mode="xref-to"/> + </a> + </xsl:when> + + <xsl:otherwise> + <xsl:call-template name="xref"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="db:biblioentry" mode="xref-to"> + <xsl:variable name="id" select="@xml:id"/> + <xsl:variable name="entry" select="//db:bibliography/*[@xml:id=$id][1]"/> + + <a> + <xsl:attribute name="href"> + <xsl:value-of select="concat('#(', count($entry/preceding::dbs:foil|$entry/preceding::dbs:foilgroup) + 1 + $generate.titlepage, ')')"/> + </xsl:attribute> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="db:bibliography" count="db:biblioentry|db:bibliomixed" level="any" format="1"/> + </xsl:when> + + <xsl:otherwise> + <xsl:value-of select="$id"/> + </xsl:otherwise> + </xsl:choose> + </a> +</xsl:template> + +</xsl:stylesheet> -- 2.40.0