summaryrefslogtreecommitdiff
path: root/bin/reportlab/tools/pythonpoint/demos
diff options
context:
space:
mode:
authorpinky <>2006-12-07 13:41:40 +0000
committerpinky <>2006-12-07 13:41:40 +0000
commit004a0b996ff8f269451e07346f71a129a1f3fbaf (patch)
tree48f43c1fc2ca4c1f4d5648e7e73553d3f4ccae06 /bin/reportlab/tools/pythonpoint/demos
New trunk
bzr revid: pinky-3f10ee12cea3c4c75cef44ab04ad33ef47432907
Diffstat (limited to 'bin/reportlab/tools/pythonpoint/demos')
-rw-r--r--bin/reportlab/tools/pythonpoint/demos/htu.xml96
-rw-r--r--bin/reportlab/tools/pythonpoint/demos/leftlogo.a8553
-rw-r--r--bin/reportlab/tools/pythonpoint/demos/leftlogo.gifbin0 -> 2198 bytes
-rw-r--r--bin/reportlab/tools/pythonpoint/demos/lj8100.jpgbin0 -> 12463 bytes
-rw-r--r--bin/reportlab/tools/pythonpoint/demos/monterey.xml306
-rw-r--r--bin/reportlab/tools/pythonpoint/demos/outline.gifbin0 -> 12918 bytes
-rw-r--r--bin/reportlab/tools/pythonpoint/demos/pplogo.gifbin0 -> 3429 bytes
-rw-r--r--bin/reportlab/tools/pythonpoint/demos/python.gifbin0 -> 125666 bytes
-rw-r--r--bin/reportlab/tools/pythonpoint/demos/pythonpoint.xml1051
-rw-r--r--bin/reportlab/tools/pythonpoint/demos/spectrum.pngbin0 -> 1855 bytes
-rw-r--r--bin/reportlab/tools/pythonpoint/demos/vertpython.gifbin0 -> 20910 bytes
11 files changed, 1506 insertions, 0 deletions
diff --git a/bin/reportlab/tools/pythonpoint/demos/htu.xml b/bin/reportlab/tools/pythonpoint/demos/htu.xml
new file mode 100644
index 00000000000..56cb92457dc
--- /dev/null
+++ b/bin/reportlab/tools/pythonpoint/demos/htu.xml
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE presentation SYSTEM "../pythonpoint.dtd">
+<presentation filename="htu.pdf">
+ <stylesheet module="htu" function="getParagraphStyles"/>
+ <section name="Main">
+ <rectangle x="20" width="96" y="20" height="555" fill="ReportLabBlue"/>
+ <infostring size="14" align="right" x="800" y="36">
+ &#169; 2002, H. Turgut UYAR
+ </infostring>
+ <slide title="New Features" id="Slide000">
+ <frame x="120" y="72" width="700" height="418" leftmargin="36" rightmargin="36">
+ <image filename="pplogo.gif" width="200" height="150"/>
+ <spacer height="30"/>
+ <para style="Title">New features in PythonPoint</para>
+ <para style="Author">H. Turgut Uyar</para>
+ <para style="EMail">uyar@cs.itu.edu.tr</para>
+ </frame>
+ </slide>
+ <slide title="TrueType Support" id="Slide002">
+ <frame x="120" y="515" width="700" height="60" leftmargin="36" rightmargin="36">
+ <para style="Heading1">TrueType Support</para>
+ </frame>
+ <frame x="120" y="72" width="700" height="418" leftmargin="36" rightmargin="36">
+ <para>PythonPoint can read UTF-8 encoded input files and produce
+ correct output (provided your font has all necessary
+ characters). That enables you, for example, to have native (in my
+ case, Turkish) characters in your document:</para>
+ <para style="Indent">
+ <!-- if you have any trouble with these, execute the lines below
+ to find out what we really intended
+ >>> turkishChars = u"\u011e \u011f \u0130 \u0131 \u015e \u015f"
+ >>> print turkishChars
+ >>> print turkishChars.encode("utf-8")
+ þ ø İ ı ľ ĸ
+ >>>
+ -->
+ <font name="Serif" size="32"> 0 ^  1 _</font>
+ </para>
+ </frame>
+ </slide>
+ <slide title="Effects" id="Slide003">
+ <frame x="120" y="515" width="700" height="60" leftmargin="36" rightmargin="36">
+ <para style="Heading1">Effects</para>
+ </frame>
+ <frame x="120" y="72" width="700" height="418" leftmargin="36" rightmargin="36">
+ <para>Paragraphs, images, tables and geometric shapes can now have
+ effectname, effectdirection, effectdimension, effectmotion and
+ effectduration attributes:</para>
+ <para style="Indent" effectname="Dissolve">A paragraph</para>
+ <image filename="pplogo.gif" width="80" height="60" effectname="Box"/>
+ <table style="table1" effectname="Split">
+ Col1,Col2,Col3
+ Row1Col1,Row1Col2,Row1Col3
+ Row2Col1,Row2Col2,Row2Col3
+ </table>
+ </frame>
+ <roundrect x="180" y="150" width="110" height="50" radius="15" fill="(0,1,0)" effectname="Glitter"/>
+ <string font="Helvetica" size="32" x="200" y="165" align="left" color="(1,0,0)" effectname="Blinds">String</string>
+ <line x1="248" y1="84" x2="520" y2="84" stroke="(1,0,1)" effectname="Wipe"/>
+ </slide>
+ <slide title="Printing" id="Slide004" outlinelevel="1">
+ <frame x="120" y="515" width="700" height="60" leftmargin="36" rightmargin="36">
+ <para style="Heading1">Printing</para>
+ </frame>
+ <frame x="120" y="72" width="700" height="418" leftmargin="36" rightmargin="36">
+ <para>Be careful when using effects: A new slide is created for
+ each effect, so DON'T print the resulting PDF file.</para>
+ <para effectname="Box">new command-line option: --printout</para>
+ <para style="Indent">produces printable PDF</para>
+ </frame>
+ </slide>
+ <slide title="New Paragraph Styles" id="Slide005">
+ <frame x="120" y="515" width="700" height="60" leftmargin="36" rightmargin="36">
+ <para style="Heading1">New Paragraph Styles</para>
+ </frame>
+ <frame x="120" y="72" width="700" height="418" leftmargin="36" rightmargin="36">
+ <para style="Bullet">Bullet2 - Second level bullets</para>
+ <para style="Bullet2">Here's an example</para>
+ <para style="Bullet2">Or an example with a longer text to see
+ how it wraps at the end of each line</para>
+ <para style="Bullet">Author and EMail</para>
+ <para style="Bullet2">See the cover page for examples</para>
+ <para style="Bullet">They have to be in the style file, so either use
+ the htu style file or edit your style file</para>
+ </frame>
+ </slide>
+ <slide title="ToDo" id="Slide006">
+ <frame x="120" y="515" width="700" height="60" leftmargin="36" rightmargin="36">
+ <para style="Heading1">ToDo</para>
+ </frame>
+ <frame x="120" y="72" width="700" height="418" leftmargin="36" rightmargin="36">
+ <para style="Bullet">Unicode chars in the outline</para>
+ </frame>
+ </slide>
+ </section>
+</presentation>
diff --git a/bin/reportlab/tools/pythonpoint/demos/leftlogo.a85 b/bin/reportlab/tools/pythonpoint/demos/leftlogo.a85
new file mode 100644
index 00000000000..7d55afcf348
--- /dev/null
+++ b/bin/reportlab/tools/pythonpoint/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>
+EI
diff --git a/bin/reportlab/tools/pythonpoint/demos/leftlogo.gif b/bin/reportlab/tools/pythonpoint/demos/leftlogo.gif
new file mode 100644
index 00000000000..2d9c990ba7a
--- /dev/null
+++ b/bin/reportlab/tools/pythonpoint/demos/leftlogo.gif
Binary files differ
diff --git a/bin/reportlab/tools/pythonpoint/demos/lj8100.jpg b/bin/reportlab/tools/pythonpoint/demos/lj8100.jpg
new file mode 100644
index 00000000000..be3c6183d3b
--- /dev/null
+++ b/bin/reportlab/tools/pythonpoint/demos/lj8100.jpg
Binary files differ
diff --git a/bin/reportlab/tools/pythonpoint/demos/monterey.xml b/bin/reportlab/tools/pythonpoint/demos/monterey.xml
new file mode 100644
index 00000000000..41bd979fa67
--- /dev/null
+++ b/bin/reportlab/tools/pythonpoint/demos/monterey.xml
@@ -0,0 +1,306 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
+<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Andy Robinson (ReportLab Europe Ltd.) -->
+<!DOCTYPE presentation SYSTEM "../pythonpoint.dtd">
+<presentation filename="monterey.pdf">
+ <stylesheet module="modern" function="getParagraphStyles"/>
+ <!--
+ sections define a colection of stuff to be drawn on all pages they contain.
+ They must begin with a graphics list
+ -->
+ <section name="Main">
+ <fixedimage filename="vertpython.gif" height="595" width="144" x="0" y="0"/>
+ <slide title="Cover" id="Slide001" effectname="Wipe">
+ <!--
+ put stuff here to be drawn on the page directly
+ -->
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para/>
+ <para/>
+ <para/>
+ <para style="Title">
+ Printing with Python
+ </para>
+ <image filename="lj8100.jpg"/>
+ <para style="BigCentered">
+ Andy Robinson, Robinson Analytics Ltd.
+ </para>
+ <para style="BigCentered">
+ O'Reilly Python Conference, Monterey, 24th August 1999
+ </para>
+ </frame>
+ </slide>
+ <slide title="Background" id="Slide002" effectname="Wipe">
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para style="Heading2">
+ Background to the project:
+ </para>
+ <para style="Bullet">
+ London-based consultant and corporate developer
+ </para>
+ <para style="Bullet">
+ want to do neat Python stuff in the daytime
+ </para>
+ <para style="Bullet">
+ working for many years on financial modelling
+ </para>
+ <para style="Bullet">
+ this is one of 6 modules in that system
+ </para>
+ <para style="Bullet">
+ quickest to deliver, offers very wide benefits
+ </para>
+ <para style="Bullet">
+ 25% of architecture done, but already very useful
+ </para>
+ <para style="Bullet">
+ Release early, release often!
+ </para>
+ </frame>
+ </slide>
+ <slide title="Goal" id="Slide003" effectname="Wipe">
+ <fixedimage filename="vertpython.gif" height="595" width="144" x="0" y="0"/>
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para style="Heading2">
+ Goal:
+ </para>
+ <para style="BodyText">
+ A Reporting Package on the Next Curve...
+ </para>
+ <para style="Bullet">
+ Report on objects, not databases
+ </para>
+ <para style="Bullet">
+ Scalable to million page runs
+ </para>
+ <para style="Bullet">
+ Light enough to embed in any application
+ </para>
+ <para style="Bullet">
+ Allow reuse of graphical objects across reports
+ </para>
+ <para style="Bullet">
+ Open and extensible on several levels
+ </para>
+ <para style="Bullet">
+ Publication quality
+ </para>
+ <para style="Bullet">
+ Support all the world's languages - one day
+ </para>
+ </frame>
+ </slide>
+ <slide title="Portable Document Format" id="Slide004" effectname="Wipe">
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para style="Heading2">
+ Portable Document Format
+ </para>
+ <para style="Italic">
+ The New PostScript
+ </para>
+ <para style="Bullet">
+ Free readers on all platforms
+ </para>
+ <para style="Bullet">
+ Better than paper - view it, email it, print it
+ </para>
+ <para style="Bullet">
+ 'Final Form' for documents
+ </para>
+ <para style="Bullet">
+ High end solution - no limits to quality
+ </para>
+ <para style="Italic">
+ ...but you can't learn it in Notepad!
+ </para>
+ </frame>
+ </slide>
+ <slide title="PDFgen and PIDDLE" id="Slide005" effectname="Wipe">
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para/>
+ <para/>
+ <para style="Title">
+ PDFgen and PIDDLE
+ </para>
+ </frame>
+ </slide>
+ <slide title="PDFgen layer" id="Slide006" effectname="Wipe">
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para style="Heading2">
+ Layer One - PDFgen
+ </para>
+ <para style="Bullet">
+ makes PDF documents from pure Python
+ </para>
+ <para style="Bullet">
+ wraps up PDF document structure
+ </para>
+ <para style="Bullet">
+ exposes nice effects - page transitions, outline trees (RSN!)
+ </para>
+ <para style="Bullet">
+ low level graphics promitives (postscript imaging model)
+ </para>
+ <para style="Bullet">
+ Fine control of text placement
+ </para>
+ <para style="Bullet">
+ Supports Asian text
+ </para>
+ <para style="Bullet">
+ Supports coordinate transformations and clipping
+ </para>
+ <para style="Italic">
+ ...a foundation for other apps to build on
+ </para>
+ </frame>
+ </slide>
+ <slide title="PDF Image Suport" id="Slide007" effectname="Wipe">
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para style="Heading2">
+ PDFgen Image Support
+ </para>
+ <para>
+ Python Imaging Library and zlib do all the work - many formats.
+ Images cached (like .pyc files) - very fast builds possible.
+ </para>
+ <image filename="python.gif" width="588" height="200"/>
+ </frame>
+ </slide>
+ <slide title="Layer Two: PIDDLE" id="Slide008" effectname="Wipe">
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para style="Heading2">
+ Layer Two: PIDDLE
+ </para>
+ <para style="Italic">
+ Plug In Drawing, Does Little Else
+ </para>
+ <para style="Bullet">
+ Easy Graphics Library
+ </para>
+ <para style="Bullet">
+ Abstract Canvas Interface
+ </para>
+ <para style="Bullet">
+ Pluggable Back Ends
+ </para>
+ <para style="Bullet">
+ Same code can do viewing and printing
+ </para>
+ <para style="Bullet">
+ Standard set of test patterns
+ </para>
+ <para style="Bullet">
+ Uses Python Imaging Library
+ </para>
+ <para style="BodyText">
+ Back ends includeTkinter, wxPython, Mac, Pythonwin, PDF, PostScript,
+ OpenGL, Adobe Illustrator and PIL. Really easy to add a new one!
+ </para>
+ </frame>
+ </slide>
+ <slide title="Layer Three: PLATYPUS" id="Slide009" effectname="Wipe">
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para style="Heading2">
+ Layer Three: PLATYPUS
+ </para>
+ <para style="Italic">
+ "Page Layout And Typography Using Scripts"
+ </para>
+ <para style="BodyText">
+ Trying to work out the API now. Key Concepts:
+ </para>
+ <para style="Bullet">
+ Drawable objects - can 'wrap to fit'
+ </para>
+ <para style="Bullet">
+ Frames on page
+ </para>
+ <para style="Bullet">
+ Frame consumes from a list of drawables until full
+ </para>
+ <para style="Bullet">
+ Document Models e.g. SimpleFlowDocument
+ </para>
+ <para style="BodyText">
+ XSL Flow Object model may be a good target
+ </para>
+ </frame>
+ </slide>
+ <slide title="Drawable Objects" id="Slide010" effectname="Wipe">
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para style="Heading2">
+ Drawable Objects
+ </para>
+ <para style="BodyText">
+ Next layer of PIDDLE extensibility.
+ Each draws in its own coodinate system
+ </para>
+ <para style="Bullet">
+ paragraph, image, table
+ </para>
+ <para style="Bullet">
+ chart libraries
+ </para>
+ <para style="Bullet">
+ diagrams
+ </para>
+ <para style="BodyText">
+ Open Source - let people contribute new ones.
+ Anything you could have in a view can be a new
+ drawable type.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Style Sheets" id="Slide011" effectname="Wipe">
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para style="Heading2">
+ Style Sheet Driven
+ </para>
+ <para style="BodyText">
+ Styles use instance inheritance
+ </para>
+ <para style="Bullet">
+ Paragraph Styles - Style Sheet Compulsory!
+ </para>
+ <para style="Bullet">
+ Text Styles within a paragraph
+ </para>
+ <para style="Bullet">
+ Table and Table Cell Styles
+ </para>
+ </frame>
+ </slide>
+ <slide title="Vision" id="Slide012" effectname="Wipe">
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para style="Heading2">
+ Vision
+ </para>
+ <para style="Bullet">
+ XML to PDF in one step
+ </para>
+ <para style="Bullet">
+ Publish to web and print from same source
+ </para>
+ <para style="Bullet">
+ Financial and Scientific reporting tool
+ </para>
+ <para style="Bullet">
+ Embedded reporting engine
+ </para>
+ <para style="Bullet">
+ Volume reporting tool for business
+ </para>
+ </frame>
+ </slide>
+ <slide title="PythonPoint" id="Slide013" effectname="Wipe">
+ <frame height="432" x="160" y="72" rightmargin="0" width="600" leftmargin="36">
+ <para style="Heading2">
+ PythonPoint
+ </para>
+ <para style="Italic">
+ How I made this presentation...
+ </para>
+ </frame>
+ </slide>
+ </section>
+</presentation>
diff --git a/bin/reportlab/tools/pythonpoint/demos/outline.gif b/bin/reportlab/tools/pythonpoint/demos/outline.gif
new file mode 100644
index 00000000000..4a294b59277
--- /dev/null
+++ b/bin/reportlab/tools/pythonpoint/demos/outline.gif
Binary files differ
diff --git a/bin/reportlab/tools/pythonpoint/demos/pplogo.gif b/bin/reportlab/tools/pythonpoint/demos/pplogo.gif
new file mode 100644
index 00000000000..d0344497ca5
--- /dev/null
+++ b/bin/reportlab/tools/pythonpoint/demos/pplogo.gif
Binary files differ
diff --git a/bin/reportlab/tools/pythonpoint/demos/python.gif b/bin/reportlab/tools/pythonpoint/demos/python.gif
new file mode 100644
index 00000000000..c68e1e4ec37
--- /dev/null
+++ b/bin/reportlab/tools/pythonpoint/demos/python.gif
Binary files differ
diff --git a/bin/reportlab/tools/pythonpoint/demos/pythonpoint.xml b/bin/reportlab/tools/pythonpoint/demos/pythonpoint.xml
new file mode 100644
index 00000000000..15d1ad709b5
--- /dev/null
+++ b/bin/reportlab/tools/pythonpoint/demos/pythonpoint.xml
@@ -0,0 +1,1051 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
+<!DOCTYPE presentation SYSTEM "../pythonpoint.dtd">
+<presentation filename="pythonpoint.pdf" pageDuration="3">
+ <stylesheet module="standard" function="getParagraphStyles"/>
+ <title>PythonPoint Demonstration</title>
+ <author>Andy Robinson</author>
+ <subject>Reportlab Sample Applications</subject>
+ <section name="Main">
+ <!-- any graphics in the section go on all its pages as a backdrop -->
+ <rectangle height="555" fill="ReportLabBlue" x="20" width="96" y="20"/>
+ <!--fixedimage height="64" filename="leftlogo.gif" x="20" width="96" y="510"/-->
+ <customshape module="customshapes" class="Logo" initargs="(20,510,96,64)"/>
+ <!--infostring size="14" align="right" x="800" y="36">
+ &#187;%(title)s, page %(page)s&#171;
+ </infostring-->
+ <!-- Now for the slides -->
+ <slide title="Introduction" id="Slide001" effectname="Wipe">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading1">
+ Welcome to PythonPoint
+ </para>
+ <para style="BodyText">
+ ...a library for creating presentation slides.
+ </para>
+ <para style="BodyText">
+ <i>
+ PythonPoint
+ </i>
+ lets you create attractive and consistent presentation slides
+ on any platform. It is a demo app built on top of the PDFgen PDF library
+ and the PLATYPUS Page Layout library. Essentially, it converts slides
+ in an XML format to PDF.
+ </para>
+ <para style="BodyText">
+ It can be used right now to create slide shows, but will
+ undoubtedly change and evolve. Read on for a tutorial...
+ </para>
+ </frame>
+ <notes>
+ <para>
+ Smile and look them in the eye!
+ </para>
+ </notes>
+ </slide>
+ <slide title="Part 1" id="Part1" effectname="Blinds" effectdirection="0">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para/>
+ <para/>
+ <para/>
+ <para style="Heading1">
+ Part 1 &#150; Feature Overview
+ </para>
+ </frame>
+ </slide>
+ <slide title="XML Notation" id="Slide002" effectname="Blinds" effectdirection="0" outlinelevel="1">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading1">
+ XML Notation
+ </para>
+ <para style="BodyText">
+ You create slides in a text editor with a basic
+ XML syntax looking like this:
+ </para>
+ <prefmt style="Code"><![CDATA[
+<frame x="160" y="72" width="600" height="468"
+ leftmargin="36" rightmargin="36">
+ <para style='Heading1'>
+ Welcome to PythonPoint
+ </para>
+ <para style='BodyText'>
+ ...a library for creating presentation slides.
+ </para>
+</frame> ]]></prefmt>
+ <para style="BodyText">
+ Pythonpoint then converts these into slides. Just enter
+ "pythonpoint.py myfile.xml" to create a PDF document
+ (usually called "myfile.pdf", but you specify that in the XML).
+ </para>
+ </frame>
+ </slide>
+ <slide title="Page Layout" id="Slide003" effectname="Box" outlinelevel="1">
+ <frame height="468" border="true" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading1">
+ Page Layout Model
+ </para>
+ <para style="BodyText">
+ The Page Layout model comes from PLATYPUS (Page Layout and Typography Using Scripts),
+ a key component of the toolkit. This covers concepts such as:
+ </para>
+ <para style="Bullet">
+ Reusable 'Drawable Objects'
+ </para>
+ <para style="Bullet">
+ Frames into which objects flow (like this one, around which we have drawn a border)
+ </para>
+ <para style="Bullet">
+ Style Sheets for text, table cells, line styles etc.
+ </para>
+ <para style="Bullet">
+ Wrapping, page breaking an document management logic
+ </para>
+ <para style="BodyText">
+ Everything is open and extensible. I hope a library of
+ reusable objects such as charts and diagrams will grow up.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Reuse" id="Slide004" effectname="Wipe" outlinelevel="1">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading1">
+ Reuse and Consistency &#150; Sections
+ </para>
+ <para style="BodyText">
+ You can create a 'section' spanning some or all tags in the presentation
+ and place graphics on this. The blue border and title come from the
+ section. Here's how we did the border:
+ </para>
+ <prefmt style="Code"><![CDATA[
+<presentation filename='pythonpoint.pdf'>
+ <section name = 'Main'>
+ <!-- any graphics in the section go on all its pages as a backdrop -->
+ <rectangle x="20" y="510" width="800" height="65" fill="(0,0,1)"/>
+ <rectangle x="20" y="20" width="65" height="555" fill="(0,0,1)"/>
+ ...all slides go here...
+ </section>
+</presentation>
+]]></prefmt>
+ <para style="BodyText">
+ Thus you can re-brand an entire presentation for
+ a new audience in seconds.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Styles" id="Slide005" effectname="Dissolve" outlinelevel="1">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading1">
+ Style Sheets
+ </para>
+ <para style="BodyText">
+ Paragraph styles are defined externally. You may specify a filename
+ from which to load a stylesheet with the stylesheet tag.
+ </para>
+ <para style="BodyText">
+ Thus you can have different sizes and formats by switching
+ stylesheets, or colour and black-and-white options.
+ </para>
+ <para style="BodyText">
+ When they are added, tables will be driven by line and cell
+ styles in a similar way.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Special Effects" id="Slide006" effectname="Dissolve" outlinelevel="1">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading1">
+ Special Effects
+ </para>
+ <para style="BodyText">
+ Acrobat Reader supports tags to define page transition effects.
+ If you are reading this on screen, you should have seen a selection
+ of these:
+ </para>
+ <para style="Bullet">
+ Split
+ </para>
+ <para style="Bullet">
+ Blinds
+ </para>
+ <para style="Bullet">
+ Box
+ </para>
+ <para style="Bullet">
+ Wipe
+ </para>
+ <para style="Bullet">
+ Dissolve
+ </para>
+ <para style="Bullet">
+ Glitter
+ </para>
+ <para style="BodyText">
+ Each has a range of options to fine-tune.
+ </para>
+ <para style="BodyText">
+ When they are added, tables will be driven by line and cell
+ styles in a similar way.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Outlines and Hyperlinks" id="Slide007" effectname="Wipe" outlinelevel="1">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading1">
+ Outlines and Hyperlinks
+ </para>
+ <para style="BodyText">
+ By default, we generate an outline view in the left pane to
+ help you navigate. Hyperlinks within documents are also
+ possible.
+ </para>
+ <para style="BodyText">
+ As far as we know, this is the first PDF library to expose
+ these features.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Basic Shapes" id="Slide008" effectname="Wipe" outlinelevel="1">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading1">
+ Basic Shapes
+ </para>
+ <para>
+ Here are some of the basic shapes available for decorating pages...
+ </para>
+ </frame>
+ <rectangle height="50" fill="(0,1,1)" x="200" width="100" y="300"/>
+ <roundrect height="50" x="350" y="300" radius="15" fill="(0,1,1)" width="100"/>
+ <line y1="300" y2="350" x1="500" x2="600"/>
+ <ellipse fill="(0,1,1)" y1="300" y2="350" x1="650" x2="750"/>
+ <polygon points="(200,200),(300,200),(350,180),(250,150)" fill="(0,1,1)"/>
+ <string size="14" color="(1,0,0)" align="center" x="500" y="200">
+ This is a\nmulti-line string\nplaced directly on the page.\n\nIt can be left-aligned,\ncentred,\nor right-aligned.
+ </string>
+ <customshape module="customshapes" class="Jigsaw" initargs="(700,200,1)"/>
+ </slide>
+ <slide title="Tables" id="Slide008a" effectname="Glitter" outlinelevel="1">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading1">
+ Tables
+ </para>
+ <para>
+ The Table tag lets you paste in bulk data and format it attractively:
+ </para>
+ <spacer height="24"/>
+ <table heights="(28,28,28,28,28)" style="table1" widths="(144,72,72,72,108)">
+ Division,Jan,Feb,Mar,Q1 Total
+ North,100,115,120,335
+ South,215,145,180,540
+ East,75,90,135,300
+ West,100,120,115,335
+ </table>
+ </frame>
+ </slide>
+ <slide title="Future Features" id="Slide009" effectname="Glitter" outlinelevel="1">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading1">
+ Features Coming Soon
+ </para>
+ <para style="BodyText">
+ This is the first version that runs. A lot can now be added fairly easily:
+ </para>
+ <para style="Bullet">
+ Preprocessor to let you enter paragraphs and
+ bullets as one block of text, with less tag typing!
+ </para>
+ <para style="Bullet">
+ PIDDLE drawings
+ </para>
+ <para style="Bullet">
+ PINGO drawings &#150; 'Object Graphics' tags with grouping and coordinate transformations
+ </para>
+ <para style="Bullet">
+ Speaker notes and a mode to print them
+ </para>
+ <para style="Bullet">
+ Tools to archive slides in a database and build presentations to order
+ </para>
+ <para style="Italic">
+ ...what else can YOU think of?
+ </para>
+ </frame>
+ </slide>
+ <slide title="Part 2" id="Part2" effectname="Blinds" effectdirection="0" outlinelevel="0">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para/>
+ <para/>
+ <para/>
+ <para style="Heading1">
+ Part 2 &#150; Reference
+ </para>
+ <para/>
+ <para style="Centered">
+ This section covers all command line options
+ and tags currently in use.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Command Line Options" id="Slide200" effectname="Blinds" effectdirection="0" outlinelevel="1">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Command Line Options
+ </para>
+ <para>
+ Usage (NT, or executable Unix script):
+ </para>
+ <para>
+ <i>
+ pythonpoint.py [/notes] myslides.xml
+ </i>
+ </para>
+ <para>
+ or (Win9x or non-executable script)
+ </para>
+ <para>
+ <i>
+ python pythonpoint.py [/notes] myslides.xml
+ </i>
+ </para>
+ <para style="BodyText">
+ Notes:
+ </para>
+ <para style="Bullet">
+ The resulting PDF file has the same
+ name as the input file.
+ </para>
+ <para style="Bullet">
+ The Speaker Notes mode prints a shrunken canvas with
+ room for notes around the edge. To create notes, make
+ an extra frame off the page. See the source of
+ Pythonpoint.xml slide 001 for an example.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: Presentation" id="Slide201" effectname="Blinds" effectdirection="0" outlinelevel="1">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "presentation"
+ </para>
+ <para style="BodyText">
+ This is the outermost tag in an XML file and is always required.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ filename (required)
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ section, stylesheet, slides
+ </para>
+ <para/>
+ <para style="Italic">
+ To Do:
+ </para>
+ <para style="Indent">
+ Support for page sizes, opening modes
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: Stylesheet" id="Slide202" effectname="Blinds" effectdirection="0" outlinelevel="1">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "stylesheet"
+ </para>
+ <para style="BodyText">
+ This defines an external style sheet full of paragraph styles.
+ For now, these are Python modules conforming to a common interface,
+ and examples are given. If not declared, a default style sheet is
+ used. You are strongly advised to define your own style sheet,
+ as the built-in one will change a few more times.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ path, module, function
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Presentation, Section
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ nothing
+ </para>
+ <para style="Italic">
+ Example
+ </para>
+ <prefmt style="Code"><![CDATA[
+<stylesheet module="modern" function="getParagraphStyles"/>
+]]></prefmt>
+ </frame>
+ </slide>
+ <slide title="Tag: Section" id="Slide203" effectname="Blinds" effectdirection="0" outlinelevel="1">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "section"
+ </para>
+ <para style="BodyText">
+ A Section spans across a number of slides and can apply an
+ overall background to them. Place graphics directly within
+ the section tag, either before or after slides. This lets
+ you re-brand a presentation very quickly. Documents
+ may contain multiple sections; nesting of sections is
+ not (yet) permitted.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ name (required, but not used yet)
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Presentation
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ all graphic shapes; slides
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: Slide" id="Slide204" effectname="Blinds" effectdirection="0" outlinelevel="1">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "slide"
+ </para>
+ <para style="BodyText">
+ Defines a single slide. The presentation effects are defined
+ in the PDF reference; best to just try the combinations.
+ </para>
+ <para style="Italic">
+ Attributes (with defaults):
+ </para>
+ <para style="Indent">
+ id (required)
+ </para>
+ <para style="Indent">
+ title (required)
+ </para>
+ <para style="Indent">
+ effectname: one of Split, Blinds, Box, Wipe, Dissolve, Glitter
+ </para>
+ <para style="Indent">
+ effectdirection: '0','90','180' or '270'
+ </para>
+ <para style="Indent">
+ effectdimension: 'H' or 'V' (Horiz./Vert.)
+ </para>
+ <para style="Indent">
+ effectmotion: 'I' for inwards or 'O' for outwards
+ </para>
+ <para style="Indent">
+ effectduration: time in seconds
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Presentation
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ all graphic shapes; frames
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: Frame" id="Slide205" effectname="Blinds" effectdirection="0" outlinelevel="1">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "frame"
+ </para>
+ <para style="BodyText">
+ Defines a frame on the page which can hold content. You may have
+ as many frames as you like, to allow multi-column text or flow
+ around pictures.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ x, y, width, height (all required): in points
+ </para>
+ <para style="Indent">
+ leftmargin, rightmargin, topmargin, bottommargin
+ (optional, default to zero) &#150; define the 'inner rectangle' within
+ which content flows
+ </para>
+ <para style="Indent">
+ border (defaults to 'false'): whether to show
+ a frame border &#150; useful when designing pages.
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Slide
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ all 'flowable objects' &#150; paragraphs, images
+ </para>
+ </frame>
+ </slide>
+ <slide title="Flowable Objects" id="Slide206" effectname="Blinds" effectdirection="0" outlinelevel="1">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag family &#150; "Flowable Objects"
+ </para>
+ <para style="BodyText">
+ Flowable Objects currently include Paragraphs, Preformatted text
+ (used for code printing, where the line breaks and spaces matter)
+ and inline Images. More will be added in future.
+ They negotiate with their containing frame about height and
+ width; paragraphs do what you would expect, while images are centred.
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Slide
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ The three instances so far contain nothing.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: para" id="Slide207" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "para" &#150; Paragraphs
+ </para>
+ <para style="BodyText">
+ Paragraphs are used for wrapping text. They are very simple
+ &#150; they have a style attribute,
+ and the stylesheet defines most attributes externally.
+ Currently we use a hack to handle 'bullets', which may be in
+ a different font (such as 'ZapfDingbats, specified in style)
+ and offset to the left. These are used
+ for bullets, numbering and definition lists
+ This will vanish as soon as one can
+ switch fonts in mid-paragraph (due mid April).
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ style (defaults to 'Normal') &#150;
+ reference to stylesheet
+ </para>
+ <para style="Indent">
+ bullettext &#150;
+ text for the optional 'bullet' section. To be deprecated.
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Frame
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ Their text
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: prefmt" id="Slide207" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "prefmt"
+ </para>
+ <para style="BodyText">
+ This is used for printing code, or other text which contains
+ line breaks.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ style (defaults to 'Normal') &#150;
+ reference to stylesheet
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Frame
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ The text to be displayed
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: image" id="Slide208" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "image" &#150; flowing images
+ </para>
+ <para style="BodyText">
+ This is used for an image to be displayed inline within
+ the frame. It will be drawn at a scale of 1 pixel to
+ 1 point, and centred in the frame.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ filename (required)
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Frame
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ Nothing
+ </para>
+ <para style="Italic">
+ To do
+ </para>
+ <para style="Indent">
+ Rename it 'flowing image'? Control
+ over alignment and size if needed. Image caching.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: table" id="Slide208a" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "table" &#150; tables
+ </para>
+ <para style="BodyText">
+ This lets you draw tables with a wide variety of formatting
+ options.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ <b>
+ widths
+ </b>
+ (optional) in points (auto-sizes if not given)
+ </para>
+ <para style="Indent">
+ <b>
+ heights
+ </b>
+ (optional) in points (auto-sizes if not given)
+ </para>
+ <para style="Indent">
+ <b>
+ style
+ </b>
+ (optional) &#150; name of a ReportLab
+ tablestyle defined in the stylesheet.
+ </para>
+ <para style="Indent">
+ <b>
+ colDelim
+ </b>
+ (optional) &#150; the column
+ delimiter string for bulk data; defaults to a comma.
+ </para>
+ <para style="Indent">
+ <b>
+ rowDelim
+ </b>
+ (optional) &#150; the line
+ delimiter string for bulk data; defaults to a carriage
+ return.
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Frame
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ Bulk data, with the row and column delimiters
+ specified
+ </para>
+ </frame>
+ </slide>
+ <slide title="Drawable Objects" id="Slide209" effectname="Blinds" effectdirection="0" outlinelevel="1">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag family &#150; "Drawable Objects"
+ </para>
+ <para style="BodyText">
+ These are objects which know how to draw themselves directly on
+ the page (or section template). Use them for designing the backdrop,
+ and for custom graphics.
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Slide, Section
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ Varies.
+ </para>
+ <para style="Italic">
+ To Do:
+ </para>
+ <para style="Indent">
+ Will include the full PINGO object
+ model &#150; a subset of SVG &#150; allowing any vector graphics
+ at all.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: FixedImage" id="Slide210" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "fixedimage"
+ </para>
+ <para style="BodyText">
+ This is an image draw directly at a fixed position &#150;
+ for example, the logo at top left of the page.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ filename: required
+ </para>
+ <para style="Indent">
+ x, y: required
+ </para>
+ <para style="Indent">
+ width, height: optional, stretches image
+ to fit box if present.
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Slide, Section
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ Nothing
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: Rectangle" id="Slide211" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "rectangle"
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ x, y, width, height: required
+ </para>
+ <para style="Indent">
+ fill, stroke: either 'None', or an
+ (r,g,b) tuple.
+ </para>
+ <para style="Indent">
+ linewidth: defaults to 0 (hairline)
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Slide, Section
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ Nothing
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: RoundRect" id="Slide212" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "roundrect"
+ </para>
+ <para style="BodyText">
+ This is exactly like Rectangle,
+ but with an extra 'radius' attribute defining the corner
+ radius in points &#150; default is 6 points.
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: Ellipse" id="Slide213" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "ellipse"
+ </para>
+ <para style="BodyText">
+ Draws an ellipse, defined by its
+ bounding box. Note that it can
+ create circles if height and width are equal.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ x1, y1, x2, y2: required
+ </para>
+ <para style="Indent">
+ fill, stroke: either 'None', or an
+ (r,g,b) tuple.
+ </para>
+ <para style="Indent">
+ linewidth: defaults to 0 (hairline)
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Slide, Section
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ Nothing
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: Polygon" id="Slide214" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "polygon"
+ </para>
+ <para style="BodyText">
+ Draws a polygon from a list
+ of points you provide.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ points: list such as "(0,0),(50,0),(25,25)"
+ </para>
+ <para style="Indent">
+ fill, stroke: either 'None', or an
+ (r,g,b) tuple.
+ </para>
+ <para style="Indent">
+ linewidth: defaults to 0 (hairline)
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Slide, Section
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ Nothing
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: Line" id="Slide215" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "line"
+ </para>
+ <para style="BodyText">
+ Draws a line.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ x1, y1, x2, y2
+ </para>
+ <para style="Indent">
+ stroke: either 'None', or an
+ (r,g,b) tuple.
+ </para>
+ <para style="Indent">
+ width: defaults to 0 (hairline)
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Slide, Section
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ Nothing
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: String" id="Slide215" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "string"
+ </para>
+ <para style="BodyText">
+ This places strings directly on the page. They may have
+ embedded newlines (use a '\n' in the XML), in which
+ case multi-line strings are printed. Left, right
+ and centre alignment are allowed.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ x, y: required
+ </para>
+ <para style="Indent">
+ color: RGB colour tuple such as '(0,1,0)'
+ </para>
+ <para style="Indent">
+ font: default is 'Times-Roman'
+ </para>
+ <para style="Indent">
+ size: default 12
+ </para>
+ <para style="Indent">
+ align: default 'left', allows
+ also 'right' or 'center'
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Slide, Section
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ The text of the string
+ </para>
+ </frame>
+ </slide>
+ <slide title="Tag: CustomShape" id="Slide216" effectname="Blinds" effectdirection="0" outlinelevel="2">
+ <frame height="510" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading2">
+ Tag "customshape"
+ </para>
+ <para style="BodyText">
+ This looks in a specified Python module for a
+ 'drawable object' you write, and initialises
+ it with arguments you provide before drawing.
+ This must provide a 'self.drawOn(canvas)' method.
+ </para>
+ <para style="Italic">
+ Attributes:
+ </para>
+ <para style="Indent">
+ path: where to look; searches Python path
+ if None
+ </para>
+ <para style="Indent">
+ module: module name
+ </para>
+ <para style="Indent">
+ class: class name to create
+ </para>
+ <para style="Indent">
+ initargs: tuple of arguments with which
+ to initialize the class.
+ </para>
+ <para style="Indent">
+ align: default 'left', allows
+ also 'right' or 'center'
+ </para>
+ <para style="Italic">
+ Contained By:
+ </para>
+ <para style="Indent">
+ Slide, Section
+ </para>
+ <para style="Italic">
+ Can Contain:
+ </para>
+ <para style="Indent">
+ Nothing
+ </para>
+ </frame>
+ </slide>
+ <slide title="To Do" id="Part3" effectname="Blinds" effectdirection="0">
+ <frame height="468" x="120" y="72" rightmargin="36" width="700" leftmargin="36">
+ <para style="Heading1">
+ Part 3 &#150; To Do
+ </para>
+ <para style="Bullet">
+ Lots of testing
+ </para>
+ <para style="Bullet">
+ Text preprocessor to let you input text, styles and images
+ in something easier to type
+ </para>
+ <para style="Bullet">
+ Support for Pingo (http://pingo.sourceforge.net/) drawings using
+ the Scalable Vector Graphics imaging model
+ </para>
+ <para style="Bullet">
+ Proper caching of flowing images
+ </para>
+ <para style="Bullet">
+ Basic Tables and Charts
+ </para>
+ <para style="Bullet">
+ Use new XML parsers as wel as xmllib
+ </para>
+ <para style="Bullet">
+ Slide indexing and database search tools
+ </para>
+ <para style="Bullet">
+ Speaker Notes mode
+ </para>
+ <para>
+ Naturally, help is extremely welcome :-)
+ </para>
+ </frame>
+ </slide>
+ </section>
+</presentation>
diff --git a/bin/reportlab/tools/pythonpoint/demos/spectrum.png b/bin/reportlab/tools/pythonpoint/demos/spectrum.png
new file mode 100644
index 00000000000..06747655056
--- /dev/null
+++ b/bin/reportlab/tools/pythonpoint/demos/spectrum.png
Binary files differ
diff --git a/bin/reportlab/tools/pythonpoint/demos/vertpython.gif b/bin/reportlab/tools/pythonpoint/demos/vertpython.gif
new file mode 100644
index 00000000000..5e5c60c3308
--- /dev/null
+++ b/bin/reportlab/tools/pythonpoint/demos/vertpython.gif
Binary files differ