aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2000-07-27 05:39:58 +0000
committerKeiron Liddle <keiron@apache.org>2000-07-27 05:39:58 +0000
commit05c0661bf7e1e749571a72899c2638883523a1ff (patch)
treee3186b73242e88a10036cd466b9e8f3885d8be8f /docs/examples
parent46a4fa87d224e484e6b0fe5179b6599a76c3b46b (diff)
downloadxmlgraphics-fop-05c0661bf7e1e749571a72899c2638883523a1ff.tar.gz
xmlgraphics-fop-05c0661bf7e1e749571a72899c2638883523a1ff.zip
added a todo list with bugs, todo, implemented etc.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193561 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/svg/Design.xml1
-rw-r--r--docs/examples/svg/Document.dtd3
-rw-r--r--docs/examples/svg/Document.xsl19
-rw-r--r--docs/examples/svg/Todo.xml337
4 files changed, 360 insertions, 0 deletions
diff --git a/docs/examples/svg/Design.xml b/docs/examples/svg/Design.xml
index 0cd1b1700..fd7f3a4c4 100644
--- a/docs/examples/svg/Design.xml
+++ b/docs/examples/svg/Design.xml
@@ -3,6 +3,7 @@
<Document>
<Title>SVG in FOP Design</Title>
<Description>The design for implementing SVG rendering inside FOP. This is out of date.</Description>
+ <ExternalChapter file="Todo.xml"/>
<Chapter>
<Title>SVG Elements</Title>
<Section>
diff --git a/docs/examples/svg/Document.dtd b/docs/examples/svg/Document.dtd
index 3cda7aa64..82087a7ba 100644
--- a/docs/examples/svg/Document.dtd
+++ b/docs/examples/svg/Document.dtd
@@ -30,6 +30,9 @@
<!ELEMENT image (#PCDATA)>
<!ELEMENT a (#PCDATA)>
<!ELEMENT b (#PCDATA)>
+<!ELEMENT ol (li*)>
+<!ELEMENT ul (li*)>
+<!ELEMENT li (#PCDATA)>
<!ELEMENT blockquote (#PCDATA)>
<!ELEMENT code (#PCDATA)>
<!ELEMENT Version (#PCDATA)>
diff --git a/docs/examples/svg/Document.xsl b/docs/examples/svg/Document.xsl
index 8ac2ab0d6..148946bef 100644
--- a/docs/examples/svg/Document.xsl
+++ b/docs/examples/svg/Document.xsl
@@ -262,6 +262,25 @@
</fo:list-item>
</xsl:template>
+ <xsl:template match="ol">
+ <fo:list-block>
+ <xsl:apply-templates/>
+ </fo:list-block>
+ </xsl:template>
+
+ <xsl:template match="ol/li">
+ <fo:list-item>
+ <fo:list-item-label>
+ <fo:block><xsl:number level="multiple" count="li" format="1. "/></fo:block>
+ </fo:list-item-label>
+ <fo:list-item-body>
+ <fo:block space-after.optimum="4pt">
+ <xsl:apply-templates/>
+ </fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+ </xsl:template>
+
<xsl:template match="Appendix//Title" priority="1">
<xsl:number level="multiple" count="Appendix|Section|SubSection" format="A.1 "/>
<xsl:apply-templates/>
diff --git a/docs/examples/svg/Todo.xml b/docs/examples/svg/Todo.xml
new file mode 100644
index 000000000..db8c01ef4
--- /dev/null
+++ b/docs/examples/svg/Todo.xml
@@ -0,0 +1,337 @@
+<?xml version="1.0"?>
+<!DOCTYPE Document SYSTEM "Document.dtd">
+<Document>
+ <Title>SVG To do List</Title>
+ <Description>
+ List of things To do for SVG rendering in FOP.
+ </Description>
+ <Chapter>
+ <Title>To do</Title>
+ <Body>
+ <p>
+ SVG in FOP is currently in the early stages. As FOP is aiming to
+ be the reference implementation for an FO parser, this is aiming to
+ be the reference implmenetation for an "instream-foreign-object"
+ in the fo document. Namely an implementation of SVG as a foreign
+ xml document embedded in the fo document.
+ </p>
+ <p>
+ The aim for SVG itself is to implement as much of the svg as is
+ meaningful for the output of the FOP.
+ </p>
+ <p>
+ This generally means that things such as animation are out of
+ scope.
+ </p>
+ </Body>
+ <Section>
+ <Title>Bugs</Title>
+ <Body>
+ <p>
+ This list is for things that have been done but do not
+ work properly.
+ </p>
+ <p>
+ <ol>
+ <li>
+ gradients - the coordinates need to be altered
+ to the bounds of the object being drawn
+ </li>
+ <li>
+ text - dy is not fully functional, alignments are
+ not correct.
+ </li>
+ <li>
+ the transform angles are wrong (degree - radians) when
+ using the java functions
+ </li>
+ </ol>
+ </p>
+ </Body>
+ </Section>
+ <Section>
+ <Title>Not yet Implemented</Title>
+ <Body>
+ <p>
+ These are all the features that are currently not handled
+ in any useful way.
+ </p>
+ <p>
+ <ol>
+ <li>
+
+ </li>
+ </ol>
+ </p>
+ </Body>
+ </Section>
+ </Chapter>
+ <Chapter>
+ <Title>Implemented</Title>
+ <Body>
+ <p>
+ The currently implemented things.
+ </p>
+ </Body>
+ <Section>
+ <Title>SVG</Title>
+ <Body>
+ <p>
+ This list is for things that have been done but do not
+ work properly.
+ </p>
+ <p>
+ <b>Elements</b>
+ <ol>
+ <li>
+ rect
+ </li>
+ <li>
+ circle
+ </li>
+ <li>
+ line
+ </li>
+ <li>
+ text - tref, tspan
+ </li>
+ <li>
+ path
+ </li>
+ <li>
+ polygon
+ </li>
+ <li>
+ polyline
+ </li>
+ <li>
+ ellipse
+ </li>
+ <li>
+ g
+ </li>
+ <li>
+ svg (inside)
+ </li>
+ <li>
+ image
+ </li>
+ <li>
+ use
+ </li>
+ <li>
+ defs (including referenced items not in defs element)
+ </li>
+ <li>
+ linearGradient
+ </li>
+ <li>
+ radialGradient
+ </li>
+ <li>
+ stop
+ </li>
+ </ol>
+ </p>
+ <p>
+ <b>Properties</b>
+ <ol>
+ <li>
+ x
+ </li>
+ <li>
+ y
+ </li>
+ <li>
+ x1
+ </li>
+ <li>
+ y1
+ </li>
+ <li>
+ x2
+ </li>
+ <li>
+ y2
+ </li>
+ <li>
+ r
+ </li>
+ <li>
+ cx
+ </li>
+ <li>
+ cy
+ </li>
+ <li>
+ x (list)
+ </li>
+ <li>
+ y (list)
+ </li>
+ <li>
+ dx
+ </li>
+ <li>
+ dy
+ </li>
+ <li>
+ d
+ </li>
+ <li>
+ id
+ </li>
+ <li>
+ width
+ </li>
+ <li>
+ height
+ </li>
+ <li>
+ xlink:href (what about the XMLLink namespace)
+ </li>
+ <li>
+ refX
+ </li>
+ <li>
+ refY
+ </li>
+ <li>
+ offset
+ </li>
+ <li>
+ points
+ </li>
+ <li>
+ fx
+ </li>
+ <li>
+ fy
+ </li>
+ </ol>
+ </p>
+ </Body>
+ <SubSection>
+ <Title>Style</Title>
+ <Body>
+ <p>
+ <ol>
+ <li>
+ fill
+ </li>
+ <li>
+ stroke
+ </li>
+ <li>
+ stroke-width
+ </li>
+ <li>
+ stroke-dasharray
+ </li>
+ <li>
+ stroke-offset
+ </li>
+ <li>
+ stroke-linecap
+ </li>
+ <li>
+ stroke-linejoin
+ </li>
+ <li>
+ stroke-miterlimit
+ </li>
+ <li>
+ stop-color
+ </li>
+ <li>
+ color
+ </li>
+ <li>
+ font
+ </li>
+ <li>
+ font-size
+ </li>
+ <li>
+ font-family
+ </li>
+ <li>
+ font-weight
+ </li>
+ <li>
+ font-style
+ </li>
+ </ol>
+ </p>
+ <p>
+ These are currently only supported in the style attribute.
+ </p>
+ </Body>
+ </SubSection>
+ <SubSection>
+ <Title>Transform</Title>
+ <Body>
+ <p>
+ <ol>
+ <li>
+ translate
+ </li>
+ <li>
+ rotate
+ </li>
+ <li>
+ scale
+ </li>
+ <li>
+ skew X
+ </li>
+ <li>
+ skew Y
+ </li>
+ <li>
+ matrix
+ </li>
+ </ol>
+ </p>
+ <p>
+ </p>
+ </Body>
+ </SubSection>
+ </Section>
+ <Section>
+ <Title>FO interaction</Title>
+ <Body>
+ <p>
+ <ol>
+ <li>
+ Implement the fo:instream-foreign-object formatting object
+ </li>
+ <li>
+ Separate the property lists by namespace.
+ </li>
+ </ol>
+ </p>
+ <p>
+ </p>
+ </Body>
+ </Section>
+ <Section>
+ <Title>Miscellaneous</Title>
+ <Body>
+ <p>
+ <ol>
+ <li>
+ Fix the dtd (or use xml schema) for the docs so there are no
+ validation errors
+ </li>
+ <li>
+ Update the docs.
+ </li>
+ </ol>
+ </p>
+ <p>
+ </p>
+ </Body>
+ </Section>
+ </Chapter>
+</Document>