diff options
author | Glenn Adams <gadams@apache.org> | 2016-03-06 06:14:41 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2016-03-06 06:14:41 +0000 |
commit | 57949ba0cfffa2dd5933a103c6ad867de9f1e7a0 (patch) | |
tree | cd1d8100a9135449635251820f39f272151005ac /fop/examples/plan/docs/plan.fo | |
parent | c8cde713f54ca731f4a7f3bfaef8af9e8a1b9262 (diff) | |
download | xmlgraphics-fop-57949ba0cfffa2dd5933a103c6ad867de9f1e7a0.tar.gz xmlgraphics-fop-57949ba0cfffa2dd5933a103c6ad867de9f1e7a0.zip |
Configure maven build.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/maven@1733788 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop/examples/plan/docs/plan.fo')
-rw-r--r-- | fop/examples/plan/docs/plan.fo | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/fop/examples/plan/docs/plan.fo b/fop/examples/plan/docs/plan.fo new file mode 100644 index 000000000..d47755b31 --- /dev/null +++ b/fop/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-body margin-top="1cm"/> + <fo:region-before extent="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://xmlgraphics.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> + |