aboutsummaryrefslogtreecommitdiffstats
path: root/examples/plan/docs
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2003-01-29 16:35:07 +0000
committerJeremias Maerki <jeremias@apache.org>2003-01-29 16:35:07 +0000
commitc115738f9109affa0675fad62dd6ee321eee14ec (patch)
treea59ad3f14bb630d73bf5275e30612af6949260f2 /examples/plan/docs
parente780db3a4e80ce4b8f445cd2748c8f3d32d419ce (diff)
downloadxmlgraphics-fop-c115738f9109affa0675fad62dd6ee321eee14ec.tar.gz
xmlgraphics-fop-c115738f9109affa0675fad62dd6ee321eee14ec.zip
Move over from contrib/plan
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195910 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples/plan/docs')
-rw-r--r--examples/plan/docs/june.xml84
-rw-r--r--examples/plan/docs/plan.fo114
2 files changed, 198 insertions, 0 deletions
diff --git a/examples/plan/docs/june.xml b/examples/plan/docs/june.xml
new file mode 100644
index 000000000..7f8092da3
--- /dev/null
+++ b/examples/plan/docs/june.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan xmlns="http://xml.apache.org/fop/plan" width="500" height="300" start="38320523" end="38320706">
+<title>Plan for June</title>
+<events>
+
+<group name="Bio-Park">
+<action type="grouping" id="construction">
+<label>Panel Installation</label>
+<owner>Constuctor Team</owner>
+<startdate>38320518</startdate>
+<enddate>38320607</enddate>
+</action>
+<action type="task" belongs="construction">
+<label>Integrety Test</label>
+<owner>Constuctor Team</owner>
+<startdate>38320527</startdate>
+<enddate>38320608</enddate>
+</action>
+<action type="milestone" depends="construction">
+<label>Shell Complete</label>
+<owner>Constuctor Team</owner>
+<startdate>38320608</startdate>
+</action>
+<action type="grouping">
+<label>Environment Installation</label>
+<owner>Enviros</owner>
+<startdate>38320608</startdate>
+<enddate>38320623</enddate>
+</action>
+<action type="task">
+<label>Gas</label>
+<owner>Enviros</owner>
+<startdate>38320608</startdate>
+<enddate>38320612</enddate>
+</action>
+</group>
+
+<group name="Education Centre">
+<action type="grouping">
+<label>Plan Optimisation</label>
+<owner>Simulators</owner>
+<startdate>38320602</startdate>
+<enddate>38320820</enddate>
+</action>
+<action type="task">
+<label>Simulation Params</label>
+<owner>Simulators</owner>
+<startdate>38320602</startdate>
+<enddate>38320610</enddate>
+</action>
+<action type="milestone">
+<label>Preparation Complete</label>
+<owner>Simulators</owner>
+<startdate>38320610</startdate>
+</action>
+<action type="grouping" id="simulation">
+<label>Paths</label>
+<owner>Simulators</owner>
+<startdate>38320610</startdate>
+<enddate>38320630</enddate>
+</action>
+<action type="task" id="opt" belongs="simulation">
+<label>Optimal Path</label>
+<owner>Simulators</owner>
+<startdate>38320610</startdate>
+<enddate>38320617</enddate>
+</action>
+<action type="task" belongs="simulation">
+<label>Alternatives</label>
+<owner>Simulators</owner>
+<startdate>38320617</startdate>
+<enddate>38320621</enddate>
+</action>
+<action type="task" depends="opt" belongs="simulation">
+<label>Risk Determination</label>
+<owner>Simulators</owner>
+<startdate>38320621</startdate>
+<enddate>38320630</enddate>
+</action>
+</group>
+
+</events>
+</plan>
+
diff --git a/examples/plan/docs/plan.fo b/examples/plan/docs/plan.fo
new file mode 100644
index 000000000..7a8cd1c50
--- /dev/null
+++ b/examples/plan/docs/plan.fo
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
+ <fo:layout-master-set>
+ <fo:simple-page-master
+ margin-right="1.5cm"
+ margin-left="1.5cm"
+ margin-bottom="2cm"
+ margin-top="1cm"
+ page-width="21cm"
+ page-height="29.7cm"
+ master-name="first">
+ <fo:region-before extent="1cm"/>
+ <fo:region-body margin-top="1cm"/>
+ <fo:region-after extent="1.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+
+ <fo:page-sequence master-reference="first">
+ <fo:static-content flow-name="xsl-region-before">
+ <fo:block line-height="14pt" font-size="10pt"
+ text-align="end">Plan Extension</fo:block>
+ </fo:static-content>
+ <fo:static-content flow-name="xsl-region-after">
+ <fo:block line-height="14pt" font-size="10pt"
+ text-align="end">Page <fo:page-number/></fo:block>
+ </fo:static-content>
+
+ <fo:flow flow-name="xsl-region-body">
+
+ <fo:block space-before.optimum="3pt" space-after.optimum="15pt">
+ The Plan Extension
+ </fo:block>
+
+ <fo:block space-before.optimum="3pt" space-after.optimum="15pt">
+The plan extension is an addition to FOP that can be used to produce a
+simple plan diagram with tasks etc.
+ </fo:block>
+
+ <fo:block space-before.optimum="3pt" space-after.optimum="15pt">
+ Options
+ </fo:block>
+
+ <fo:block space-before.optimum="3pt" space-after.optimum="15pt">
+There a few basic options to specify the width, height and type of graph.
+The start and end date to display is optional.
+The locale specific information can also be specified.
+All other options are set in the style attribute.
+ </fo:block>
+
+ <fo:block space-before.optimum="3pt" space-after.optimum="15pt">
+ Types of Graphs
+ </fo:block>
+
+ <fo:block space-before.optimum="3pt" space-after.optimum="15pt">
+ Sample Action Plan
+ </fo:block>
+
+ <fo:block space-before.optimum="3pt" space-after.optimum="15pt">
+<fo:block space-after.optimum="5pt">
+<fo:instream-foreign-object>
+<plan xmlns="http://xml.apache.org/fop/plan" width="500" height="200" start="20020612" end="20020702">
+<title>Example Plan</title>
+<events>
+
+<group name="Task Group">
+<action type="grouping" id="gr1">
+<label>First Task</label>
+<owner>Team</owner>
+<startdate>20020618</startdate>
+<enddate>20020630</enddate>
+</action>
+<action type="task" belongs="gr1">
+<label>Another Task</label>
+<owner>Team</owner>
+<startdate>20020620</startdate>
+<enddate>20020627</enddate>
+</action>
+<action type="milestone" depends="gr1">
+<label>Milestone</label>
+<owner>Team</owner>
+<startdate>20020628</startdate>
+</action>
+<action type="grouping">
+<label>Task</label>
+<owner>Team</owner>
+<startdate>20020620</startdate>
+<enddate>20020630</enddate>
+</action>
+<action type="task">
+<label>Difficult Task</label>
+<owner>individual</owner>
+<startdate>20020620</startdate>
+<enddate>20020630</enddate>
+</action>
+</group>
+
+</events>
+</plan>
+</fo:instream-foreign-object>
+</fo:block>
+
+ </fo:block>
+
+ <fo:block>
+A plan as an external graphic.
+ </fo:block>
+
+ <fo:block>
+<fo:external-graphic src="june.xml"/>
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
+