From: Keiron Liddle Date: Wed, 6 Jun 2001 14:54:17 +0000 (+0000) Subject: these svg files are no longer relevant. X-Git-Tag: PRE_CODEFORMATTING~105 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f5d8c9877e6a19a3c6be7a27516afe3039a30cd6;p=xmlgraphics-fop.git these svg files are no longer relevant. Testing of svg rendering is done via PDFTranscoder for batik information and examples are supplied elsewhere git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194274 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/examples/svg/All.xml b/docs/examples/svg/All.xml deleted file mode 100644 index 0335b0fcc..000000000 --- a/docs/examples/svg/All.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - SVG Tests - - Some test SVG documents embedded into fo. - - - - - - diff --git a/docs/examples/svg/BasicExamples.xml b/docs/examples/svg/BasicExamples.xml deleted file mode 100644 index 883af57db..000000000 --- a/docs/examples/svg/BasicExamples.xml +++ /dev/null @@ -1,193 +0,0 @@ - - - - Basic SVG Examples - - Shows some of the basic svg elements when placed in FO. - - - Examples -
- Introduction - -

- These examples show the areas of SVG currently implemented. -

-

- This is provided so that others can see how to write the svg elements - and the result to expect. -

- -
-
- Graphic Elements - - SVG Examples - examples - -

- The SVG xml data is capable of any type of drawing, - from simple lines and shapes to complex shading, colouring - and transformations. -

-

- Currently only a small set of the possibilities are implemented. -

- -
- - Basic Shapes - -

- Lines can be draw, they map directly to PDF data. - ex-lines - The example above shows some lines. -

-

- The rectangle is a simple shape, which maps directly - to PDF data. - ex-rect - The example above is a simple rectangle, circle and ellipse. -

-

- The circle and ellipse are drawn by creating four curves - that make up the shape. -

-

- All shapes can have style applied to them. Style can also - be inherited from a surrounding <svg:g> element. -

- -
- - Curves and Paths - -

- ex-paths - Paths have no effect by themselves unless there - is some style applied. The default styling is set - by the svg area. -

-

- There are many possible parts to a path. There are simple - moveto, lineto and closepath commands. There are also - a number of curve commands that create Bezier curves etc. -

- -
- - Poly Elements - -

- ex-poly - Polylines and Polygons are multi-point lines - made up of straight lines. A polygon has a close path - at the end. Note how the numbers in the points - property can be over a number of lines to make it - easier to read. -

-

- The only difference between the polyline and the polygon - is that a polygon has a close path at the end. -

- -
- - Styling - -

- ex-style - Most elements can have style. The style information - is a list of properties separated by a ';'. The - property name and value are separated by a ':'. - Notice how the style of the sub-element overrides that - of all the ones in the heirarchy, the element also inherits - all the other style data. -

- -
- - G Element - -

- ex-g - The G element can contain any other graphic - element, including other G elements. The purpose - of this is to enable style and transform to apply - to a group of graphic elements. The elements have no - other relationship except they are drawn together. -

- -
- - Transform - -

- The transform of an element can do all the usual - mathematical transforms. These can be represented by - a matrix for use in the pdf. The options include - translate, scale, rotate, shear etc. -

-

- The transform of an element is accumulative from - its ancestors. That is, if a transform is applied to - a <svg:g> element then any graphic element also - has that transform applied to it. If the child - element has a transform then its transform is also - applied after the transform of the parent. -

-

- ex-transform -

- -
- - Text Elements - -

- ex-text - Text can be placed in any position and with style. -

- -
- - Clipping, Masking - -

- Not yet implemented. - The SVG area is clipped to start with. -

- -
- - Text Paths - -

- ex-textpath - The above example shows the <svg:use> and textPath - elements in action. -

- -
- - Images - -

- ex-image - The above example shows the <svg:image> with position - and sizing elements in action. -

- -
- - SVG Element - -

- ex-misc - Doing some silly stuff with svg elements. -

- -
-
-
-
diff --git a/docs/examples/svg/Design.xml b/docs/examples/svg/Design.xml deleted file mode 100644 index 18d33c26d..000000000 --- a/docs/examples/svg/Design.xml +++ /dev/null @@ -1,366 +0,0 @@ - - - - SVG in FOP Design - The design for implementing SVG rendering inside FOP. This is out of date. - - - SVG Elements -
- Purpose - - Background - -

- FOP is a formatting object parser written in Java. -

-

- Apache is heading the effort to create the parser to create - PDF documents from XML files including formatting objects. -

-

- SVG is another XML structure type that contains scaleable - vector graphics. This document is about embedding SVG data - inside a FOP XML structure so that the SVG will be rendered - to the resulting PDF document. -

- -
- - Aim - -

- The primary aim is to enable the parsing of all SVG elements - as described in the document "CR-SVG-20000802.pdf". This applies - to the stylable elements. -

-

- The java interface is available from - - "http://www.w3.org/TR/2000/CR-SVG-20000802/java-binding.zip" -

-

- As the SVG elements include information for animation and - other things then not all elements or properties will be - rendered. -

-

- The implementation should be considered as separate from - the implementation and rendering of the FOP and PDF data. - This will allow it to be more general and to be used for - direct drawing or printing. -

- -
-
-
- - Design -
- FOP Rendering - fop - - Rendering Process - fop-flow - -

- The process of converting an FOP XML file into the - PDF document is handled by the FOP parser. -

-

- The document is first turned into an in memory hierarchy - of objects that represent the fo document. The objects are - then layed out into pages. The objects are then rendered - into PDF data. -

-

- These three steps are separate. -

- -
-
-
- - Design -
- Overall Design of SVG elements - overall - - SVG Nodes - -

- The FObj.layout is called whenever the parser encounters an - XML node. The class that is called depends on the element - mapping. -

-

- The <svg:g> element is used to contain other elements - including other <svg:g>'s. This element is purely to - set style and transform data on other elements. - The GraphicsCreator interface is used to create Graphic - element that can be placed into the <svg:g> graphic. -

-

- The <svg:text> element can contain elements that modify - the position and style of text. The TextElement interface is - used to create the element which is placed in a list along - with any strings in the text node. -

- -
- - SVG Graphic Elements - -

- All drawing elements in an SVG area must extend the Graphic - class. This provides information about the style and transform. - Transform is accumulative, therefore the transform for a - particular element is obtained by combining all the transforms - of the current element and all super elements. A list is - created by adding each succesive transform into a list. -

-

- The graphic elements also contain style data, this behaves - in a different manner. The style for an element is obtained - by starting with the top ancestor of the element and overriding - any style elements set in each of the elements in the hierachy. - This is done by using an style infromation map. -

- -
- - Rendering - -

- The main purpose of the SVG elements in this context - is to be able to render the data to a PDF document. - This should not limit the approach or the usefullness - of the SVG in memory data. -

-

- The data should contain all the available information - without changing the meaning of elements or properties. -

-

- The are some examples of data that should be interpreted - when rendering, or otherwise presenting the data to the user, - which can be altered and still be eqivalent. - This includes paths that contain multiple moveto's and - the closepath part. Since the information is necessary - for the proper display and editing then the information - should always be retained with the original meaning. - The path end points etc differ depending on the path - instructions. -

- -
-
-
- - Integration -
- Integration of SVG with FOP - integration - - Areas of Interaction - -

- The PDF renderer converts all the FOP data into the - PDF markup. This is also where the SVG elements are - output into the PDF stream. -

-

- The FOP parsing incorporates the idea of areas that - contain FONode data. These nodes contain the data - that is rendered into the area. The SVG element - (<svg:svg> element) forms an area. Then as each - SVG subnode is parsed it is placed within the SVG area. - The SVG area then contains a list of Graphic elements - that constitute the SVG graphic. Almost all Graphic - elements can have style and transform properties. - These properties are place into the graphic element. -

-

- As the <svg:g> element can contain many other - Graphic elements then it must be able to create and add - the Graphic to itself as each subnode is parsed. -

- -
- - XML Specifics - -

- An SVG area can be placed within a <fo:block> ??. - This is provided that the appropriate svg namespace is - defined. - All the svg elements must be within the <svg:svg> - element. -

-

- When the SVG area is being parsed then it must be able - to create a representative data set in memory for use - later. -

-

- The data must fully represent the information in a way - that is efficient to create and use. -

-

- There are a few elements that can contain other elements, - these include <svg:g>, <svg:text>, <svg:use> etc. - The FOP parser technique uses layout() to create - a component and layout it within the area. This is not suitable - for elements that are not directly sub nodes of the SVG - area. The technique used is for the SVG elements is to implement - an interface suitable for the element. For example the Rect - implements GraphicsCreator so that the parent G can create - the Graphics object when the parser calls addChild. -

- -
- - Rendering - -

- The SVG area contains a list of all the svg elements that can - be drawn. This list is simply iterated and each element drawn - in order. - Each subsequent element always draws over the previous element. -

-

- The drawing is clipped to the SVG area bounds. -

-

- As each element may contain its own style and transform - then before each element is rendered the style and - coordinate matrix ?? are set if it has changed. -

- -
-
-
- - Design of Components -
- Graphic Elements - graphic - - Class Hierachy - -

- All usual graphic elements that can be drawn in the SVG - area or a <svg:g> element must extend the Graphic - class. This serves as a common object type and to hold - information about the style and transform of the element. - Since the style and transform inherit information (in a way - that cannnot be done with simple XML inheritance) then - each graphic element also stores the parent element (if - applicable). -

-

- The text element may contain TSpan elements which are not - themselves Graphic elements. -

-

- The SVG area contains the title, description, definitions - and all the Graphic objects. -

- -
- - Grouping - -

- The SVG area contains a list of Graphic elements that - can be rendered. -

-

- The SVG area also contains definitions of Graphic - elements that can be used by other graphic elements - for clipping, paths etc. The definitions must contain - a unique id (XML id) which can be used to refer to them. -

- -
-
-
- XML Data - nodes - - Nodes - -

- There are two important type of information, these - are the XML nodes and the properties of these nodes. - The parsing process used with FOP uses element mapping - and property mapping to enable the creation of objects - that correspond to each node or property. -

- -
- - Properties - -

- There are a number of important element properties that - differ and extend the FOP properties. -

-

- The style and transform properties have particular - behaviours that are handled through the Graphic object. -

- -
- - Parsing Process - -

- There are three steps going from the SVG data (contained - in the FOP) to the resulting PDF document (or other - rendering result). -

-

- When the fop parsing encounters an <svg:svg> element - then it creates and SVG area object. The layout is called - for this object which parses all sub nodes. Each sub node - can then parse its information and add itself to the area. -

-

- The layout of each node is done before any of the sub nodes - of the particular node, this means that the information - for the node is incomplete when it is added to the area. -

-

- The parsing of the node is converted into a Graphic element - with its style and transform set. The G element can add the - Graphic to itself or the element can add itself to the SVG - area. -

-

- Once the parsing is complete we have a representation of - the SVG data in memory. This information can then be used - to render/manipulate etc. -

-

- The pdf rendering is done by rendering each element in the - SVG area. The style is set for the element before it is - rendered. If the element is a G or text object then each - sub-element is rendered. -

- -
- - Graphic - -

- graphic-structure - The graphic elements (almost) all contain style and transform - data. This is stored in a way that allows the information - to be combined when determining the style/transform for an element - with style/transform set in one or more ancestors. -

- -
-
-
-
diff --git a/docs/examples/svg/Document.dtd b/docs/examples/svg/Document.dtd deleted file mode 100644 index 82087a7ba..000000000 --- a/docs/examples/svg/Document.dtd +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/examples/svg/Document.xsl b/docs/examples/svg/Document.xsl deleted file mode 100644 index 9e565be69..000000000 --- a/docs/examples/svg/Document.xsl +++ /dev/null @@ -1,304 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVG in FOP - - - - - - - - - - - - - - - - - - - - - - - - - SVG in FOP - - - - - - - - - - - - - - - - - - - - - - - - Apache XML - - - - - Page - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<![CDATA[ - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/examples/svg/Examples.xml b/docs/examples/svg/Examples.xml deleted file mode 100644 index 612823156..000000000 --- a/docs/examples/svg/Examples.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - SVG Tests - - Some test SVG documents embedded into fo. - - - - diff --git a/docs/examples/svg/LargeExamples.xml b/docs/examples/svg/LargeExamples.xml deleted file mode 100644 index 3d80ccf37..000000000 --- a/docs/examples/svg/LargeExamples.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - Large SVG Examples - - Some large svg examples which have many shapes. - - - Examples -
- Introduction - -

- These examples show the areas of SVG currently implemented. -

-

- This is provided so that others can see how to write the svg elements - and the result to expect. -

- -
-
- Graphic Elements - - Miscellaneous - -

- misc-lion - A lion -

-

- misc-molecule - A molecule -

-

- misc-newlion - Another lion -

-

- misc-picasso - A Picasso picture -

-

- misc-svglogo - The SVG View logo -

-

- misc-tiger - A tiger -

-

- apache-foplogo - FOP logo in SVG. -

-

- apache-xml - Apache logo in SVG. -

-

- mozilla-xml - Mozilla logo in SVG. -

- -
-
-
-
diff --git a/docs/examples/svg/Misc.xml b/docs/examples/svg/Misc.xml deleted file mode 100644 index a63dded69..000000000 --- a/docs/examples/svg/Misc.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - Miscellaneous SVG Examples - - Some general svg examples. - - - Examples -
- Introduction - -

- These examples show the areas of SVG currently implemented. -

-

- This is provided so that others can see how to write the svg elements - and the result to expect. -

- -
-
- Graphic Elements - - Miscellaneous - -

- Various styles and other drawing things. -

- -
-
-
-
diff --git a/docs/examples/svg/MoreTests.xml b/docs/examples/svg/MoreTests.xml deleted file mode 100644 index fa5f7a025..000000000 --- a/docs/examples/svg/MoreTests.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - More SVG Tests - - Some more SVG tests. - - - Examples -
- Introduction - -

- These examples show the areas of SVG currently implemented. -

-

- This is provided so that others can see how to write the svg elements - and the result to expect. -

- -
-
- Graphic Elements - - Miscellaneous - -

- Various styles and other drawing things. -

-

- misc-arc - Arcs -

-

- misc-gradients - Gradients -

-

- misc-paths - Paths -

-

- misc-radial - Radial -

-

- misc-rotate - Rotations -

-

- misc-rototext - Rotated text -

-

- misc-shapes - Shapes -

-

- misc-stroke - Strokes -

-

- misc-test - Tests -

-

- misc-transform - Transforms -

-

- misc-opac - Opacity -

- -
-
-
-
diff --git a/docs/examples/svg/Tests.xml b/docs/examples/svg/Tests.xml deleted file mode 100644 index c04245d0c..000000000 --- a/docs/examples/svg/Tests.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - SVG Tests - - Some test SVG documents embedded into fo. - - - - diff --git a/docs/examples/svg/Todo.xml b/docs/examples/svg/Todo.xml deleted file mode 100644 index db8c01ef4..000000000 --- a/docs/examples/svg/Todo.xml +++ /dev/null @@ -1,337 +0,0 @@ - - - - SVG To do List - - List of things To do for SVG rendering in FOP. - - - To do - -

- 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. -

-

- The aim for SVG itself is to implement as much of the svg as is - meaningful for the output of the FOP. -

-

- This generally means that things such as animation are out of - scope. -

- -
- Bugs - -

- This list is for things that have been done but do not - work properly. -

-

-

    -
  1. - gradients - the coordinates need to be altered - to the bounds of the object being drawn -
  2. -
  3. - text - dy is not fully functional, alignments are - not correct. -
  4. -
  5. - the transform angles are wrong (degree - radians) when - using the java functions -
  6. -
-

- -
-
- Not yet Implemented - -

- These are all the features that are currently not handled - in any useful way. -

-

-

    -
  1. - -
  2. -
-

- -
-
- - Implemented - -

- The currently implemented things. -

- -
- SVG - -

- This list is for things that have been done but do not - work properly. -

-

- Elements -

    -
  1. - rect -
  2. -
  3. - circle -
  4. -
  5. - line -
  6. -
  7. - text - tref, tspan -
  8. -
  9. - path -
  10. -
  11. - polygon -
  12. -
  13. - polyline -
  14. -
  15. - ellipse -
  16. -
  17. - g -
  18. -
  19. - svg (inside) -
  20. -
  21. - image -
  22. -
  23. - use -
  24. -
  25. - defs (including referenced items not in defs element) -
  26. -
  27. - linearGradient -
  28. -
  29. - radialGradient -
  30. -
  31. - stop -
  32. -
-

-

- Properties -

    -
  1. - x -
  2. -
  3. - y -
  4. -
  5. - x1 -
  6. -
  7. - y1 -
  8. -
  9. - x2 -
  10. -
  11. - y2 -
  12. -
  13. - r -
  14. -
  15. - cx -
  16. -
  17. - cy -
  18. -
  19. - x (list) -
  20. -
  21. - y (list) -
  22. -
  23. - dx -
  24. -
  25. - dy -
  26. -
  27. - d -
  28. -
  29. - id -
  30. -
  31. - width -
  32. -
  33. - height -
  34. -
  35. - xlink:href (what about the XMLLink namespace) -
  36. -
  37. - refX -
  38. -
  39. - refY -
  40. -
  41. - offset -
  42. -
  43. - points -
  44. -
  45. - fx -
  46. -
  47. - fy -
  48. -
-

- - - Style - -

-

    -
  1. - fill -
  2. -
  3. - stroke -
  4. -
  5. - stroke-width -
  6. -
  7. - stroke-dasharray -
  8. -
  9. - stroke-offset -
  10. -
  11. - stroke-linecap -
  12. -
  13. - stroke-linejoin -
  14. -
  15. - stroke-miterlimit -
  16. -
  17. - stop-color -
  18. -
  19. - color -
  20. -
  21. - font -
  22. -
  23. - font-size -
  24. -
  25. - font-family -
  26. -
  27. - font-weight -
  28. -
  29. - font-style -
  30. -
-

-

- These are currently only supported in the style attribute. -

- -
- - Transform - -

-

    -
  1. - translate -
  2. -
  3. - rotate -
  4. -
  5. - scale -
  6. -
  7. - skew X -
  8. -
  9. - skew Y -
  10. -
  11. - matrix -
  12. -
-

-

-

- -
-
-
- FO interaction - -

-

    -
  1. - Implement the fo:instream-foreign-object formatting object -
  2. -
  3. - Separate the property lists by namespace. -
  4. -
-

-

-

- -
-
- Miscellaneous - -

-

    -
  1. - Fix the dtd (or use xml schema) for the docs so there are no - validation errors -
  2. -
  3. - Update the docs. -
  4. -
-

-

-

- -
-
-
diff --git a/docs/examples/svg/UnitTests.xml b/docs/examples/svg/UnitTests.xml deleted file mode 100644 index 392518060..000000000 --- a/docs/examples/svg/UnitTests.xml +++ /dev/null @@ -1,111 +0,0 @@ - - - - Unit Tests for SVG in FO - - Some unit tests to check out the rendering of svg. - - - Examples -
- Introduction - -

- These examples show the areas of SVG currently implemented. -

-

- This is provided so that others can see how to write the svg elements - and the result to expect. -

- -
-
- Graphic Elements - - Miscellaneous - -

- - unit test -

-

- - unit test -

-

- - unit test -

- -

- - unit test -

-

- - unit test -

-

- - unit test -

-

- - unit test -

-

- - unit test -

-

- - unit test -

-

- - unit test -

- -

- - unit test -

-

- - unit test -

-

- - unit test -

-

- - unit test -

-

- - unit test -

-

- - unit test -

-

- - unit test -

-

- - Arcs using the arc command in the path data. -

- -
-
-
-
diff --git a/docs/examples/svg/apache-diagrams.xml b/docs/examples/svg/apache-diagrams.xml deleted file mode 100644 index 19ba03d4d..000000000 --- a/docs/examples/svg/apache-diagrams.xml +++ /dev/null @@ -1,540 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The XML Publishing Framework - - - The XML Publishing Framework - - - - AP - A - CHE XML - - - THE - - - PROJECT - - - - - diff --git a/docs/examples/svg/arch-diagrams.xml b/docs/examples/svg/arch-diagrams.xml deleted file mode 100644 index a6f40c1ac..000000000 --- a/docs/examples/svg/arch-diagrams.xml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - Overall design diagram of SVG elements in FOP - SVG Elements Overall Design - - - FOP - - - - SVG - - - G - - - layout - - - - - - - The FOP parsing flow. - SVG Elements Overall Design - - - FOP - - - - SVG - - - G - - - layout - - - - - - - Overall design diagram of SVG elements in FOP - SVG Elements Overall Design - - - FOP - - - - SVG - - - G - - - layout - - - - diff --git a/docs/examples/svg/build.xml b/docs/examples/svg/build.xml deleted file mode 100644 index 9578538be..000000000 --- a/docs/examples/svg/build.xml +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/examples/svg/diagrams.dtd b/docs/examples/svg/diagrams.dtd deleted file mode 100644 index c3486d9b8..000000000 --- a/docs/examples/svg/diagrams.dtd +++ /dev/null @@ -1,9 +0,0 @@ - - - - - diff --git a/docs/examples/svg/ex-diagrams.xml b/docs/examples/svg/ex-diagrams.xml deleted file mode 100644 index 5a5051fac..000000000 --- a/docs/examples/svg/ex-diagrams.xml +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - Examples for demonstrating SVG elements in FOP - SVG Examples - - - - - - - - - - - - - - - - - - - - - SVG - is - - very - - - flexible! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SVG - - - - - - - - Referenced character data - - - Text with area style - SVG - SVG - - text - and tspan - does - - lots of - - - things - - - - text - can be spaced - - and positioned - - - - - Inline character data - - - - - - - - - - - - - - - - - - - - - - - - - - - - Example, simple text on a path - - - - We go up, then we go down, then up again - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/examples/svg/image.jpg b/docs/examples/svg/image.jpg deleted file mode 100644 index 5d2c4c2d0..000000000 Binary files a/docs/examples/svg/image.jpg and /dev/null differ diff --git a/docs/examples/svg/makedoc.bat b/docs/examples/svg/makedoc.bat deleted file mode 100755 index b39bbd45d..000000000 --- a/docs/examples/svg/makedoc.bat +++ /dev/null @@ -1,26 +0,0 @@ -@echo off - -echo Building Fop documentation (pdf) -echo ---------------- - -if "%JAVA_HOME%" == "" goto error -set LIBDIR=..\..\..\lib -set LIBDIR=lib -set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;%LIBDIR%\ant.jar;%LIBDIR%\batik.jar;%LIBDIR%\buildtools.jar;%LIBDIR%\xerces-1.2.3.jar;%LIBDIR%\xalan-2.0.0.jar;%LIBDIR%\xalanj1compat.jar;%LIBDIR%\bsf.jar;%LIBDIR%\jimi-1.0.jar;%LIBDIR%\..\build\fop.jar -set ANT_HOME=%LIBDIR% - - -%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5 - -goto end - -:error - -echo ERROR: JAVA_HOME not found in your environment. -echo Please, set the JAVA_HOME variable in your environment to match the -echo location of the Java Virtual Machine you want to use. - -:end - -rem set LOCALCLASSPATH= - diff --git a/docs/examples/svg/makedoc.sh b/docs/examples/svg/makedoc.sh deleted file mode 100755 index 344f61af4..000000000 --- a/docs/examples/svg/makedoc.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -#this file should be executable -echo -echo "Converting Fop's xml documentation into a pdf file" -echo "----------------" -echo - -if [ "$JAVA_HOME" = "" ] ; then - echo "ERROR: JAVA_HOME not found in your environment." - echo - echo "Please, set the JAVA_HOME variable in your environment to match the" - echo "location of the Java Virtual Machine you want to use." - exit 1 -fi - -LIBDIR=../../../lib/ -LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/batik.jar:$LIBDIR/buildtools.jar:$LIBDIR/xerces-1.2.3.jar:$LIBDIR/xalan-2.0.0.jar:$LIBDIR/xalanj1compat.jar:$LIBDIR/bsf.jar:$LIBDIR/jimi-1.0.jar:$LIBDIR/../build/fop.jar -ANT_HOME=$LIBDIR - -echo Building with classpath $CLASSPATH:$LOCALCLASSPATH -echo - -echo Starting Ant... -echo - -$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH:$CLASSPATH" org.apache.tools.ant.Main $* diff --git a/docs/examples/svg/misc-diagrams.xml b/docs/examples/svg/misc-diagrams.xml deleted file mode 100644 index 669faf541..000000000 --- a/docs/examples/svg/misc-diagrams.xml +++ /dev/null @@ -1,4637 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - Gradient painting - - - - - - - - - - Gradient Fills - - - - - - - - - - - -A cute lion - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NSC -Number: 3283 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - N - Cl - N - Cl - Cl - Cl - - - - - -The Cute Lion Cub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Some paths - - - - - - - - - - - - - - - - - - - - - - - - - - -Picasso.pdx exported by Mayura Draw 3.6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Girl Before a Mirror - - -Picasso, 1932, oil on canvas; 64 x 51 1/2 in. -The Museum of Modern Art, New York. - - - - - - - - - - - - - - - - - - - - Gradient painting - - - - - - - - - - Simple shapes - - - - - - - - - - - - - - - - - - - - - - - - - MyText - - Rotated Text Example - - - - - - - - Roto - Roto - Roto - Roto - - - - Roto - Roto - Roto - Roto - - - - - - - - - - - Simple shapes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Viewer Logo - - - - - - SVG - - - - Viewer - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gradient Text - - - two groups, each of two rectangles - - - Bella's test SVG file - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A less cute tiger - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/examples/svg/mozilla-diagrams.xml b/docs/examples/svg/mozilla-diagrams.xml deleted file mode 100644 index 9a359aa7b..000000000 --- a/docs/examples/svg/mozilla-diagrams.xml +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/examples/svg/test/arcs.svg b/docs/examples/svg/test/arcs.svg deleted file mode 100644 index d807d6e22..000000000 --- a/docs/examples/svg/test/arcs.svg +++ /dev/null @@ -1,18 +0,0 @@ - - -Example arcs01 - arc commands in path data -Picture of a pie chart with two pie wedges and -a picture of a line with arc blips - - - - - diff --git a/docs/examples/svg/test/initialCoords.svg b/docs/examples/svg/test/initialCoords.svg deleted file mode 100644 index 39a1d1bd0..000000000 --- a/docs/examples/svg/test/initialCoords.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - Initial Coords - Example InitialCoords - SVG's initial coordinate system - - - - - - - - - - - (0,0) - (300,0) - (0,100) - - diff --git a/docs/examples/svg/test/junk.svg b/docs/examples/svg/test/junk.svg deleted file mode 100644 index 91bd55249..000000000 --- a/docs/examples/svg/test/junk.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - Hello SVG! - - diff --git a/docs/examples/svg/test/molecule.svg b/docs/examples/svg/test/molecule.svg deleted file mode 100644 index fc375979a..000000000 --- a/docs/examples/svg/test/molecule.svg +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C - C - C - C - C - C - C - C - C - C - C - C - C - C - C - C - C - C - C - C - C - C - C - C - - diff --git a/docs/examples/svg/test/nested.svg b/docs/examples/svg/test/nested.svg deleted file mode 100644 index 61182d2e6..000000000 --- a/docs/examples/svg/test/nested.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - Nested - Example Nested - Nested transformations - - - - - - - - - - - - - - - ....Translate(1) - - - - - - - - - - ....Rotate(2) - - - - - - - - - - ....Translate(3) - - - - - diff --git a/docs/examples/svg/test/newCSSUnits.svg b/docs/examples/svg/test/newCSSUnits.svg deleted file mode 100644 index bfb4d074f..000000000 --- a/docs/examples/svg/test/newCSSUnits.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - Redefining CSS Units - Transformation with establishment of a new viewport - - - - This prints 12 pixels high. - This prints 12 pixels high. - - - - - This prints 24 pixels high. - - This prints 12 pixels high. - - - - - - - - This prints 36 pixels high. - This prints 36 pixels high. - - - diff --git a/docs/examples/svg/test/newCoordSys.svg b/docs/examples/svg/test/newCoordSys.svg deleted file mode 100644 index dd8e82f60..000000000 --- a/docs/examples/svg/test/newCoordSys.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - NewCoordSys - Example NewCoordSys - New user coordinate system - - - - - - - - - ABC (orig coord system) - - - - - - - - - - - - ABC (translated coord system) - - - diff --git a/docs/examples/svg/test/newViewport.svg b/docs/examples/svg/test/newViewport.svg deleted file mode 100644 index f53b5e105..000000000 --- a/docs/examples/svg/test/newViewport.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - New Viewport - This SVG drawing embeds another one, - thus establishing a new viewport - - - - - - - - - diff --git a/docs/examples/svg/test/origCoordSys.svg b/docs/examples/svg/test/origCoordSys.svg deleted file mode 100644 index 1881b2840..000000000 --- a/docs/examples/svg/test/origCoordSys.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - OrigCoordSys - Example OrigCoordSys - Simple transformations: original picture - - - - - - - - ABC (orig coord system) - - - diff --git a/docs/examples/svg/test/preserveAspectRatio.svg b/docs/examples/svg/test/preserveAspectRatio.svg deleted file mode 100644 index c0b38e4dc..000000000 --- a/docs/examples/svg/test/preserveAspectRatio.svg +++ /dev/null @@ -1,156 +0,0 @@ - - - - PreserveAspectRatio - Example PreserveAspectRatio - demonstrate available options - - SVG to fit - - - - :) - - - Viewport 1 - - - - Viewport 2 - - - - - --------------- meet --------------- - - xMin* - - - - - :) - - - - - xMid* - - - - - :) - - - - - xMax* - - - - :) - - - - - ---------- meet ---------- - - *YMin - - - - :) - - - - - *YMid - - - - - :) - - - - - *YMax - - - - - :) - - - - - ---------- slice ---------- - - xMin* - - - - - :) - - - - - xMid* - - - - - :) - - - - - xMax* - - - - - :) - - - - - --------------- slice --------------- - - *YMin - - - - - :) - - - - *YMid - - - - :) - - - - *YMax - - - - :) - - - - diff --git a/docs/examples/svg/test/rotateScale.svg b/docs/examples/svg/test/rotateScale.svg deleted file mode 100644 index fe1b98548..000000000 --- a/docs/examples/svg/test/rotateScale.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - RotateScale - Example RotateScale - Rotate and scale transforms - - - - - - - - - - - - - - - - ABC (rotate) - - - - - - - - - - - - - ABC (scale) - - - - diff --git a/docs/examples/svg/test/shapes.svg b/docs/examples/svg/test/shapes.svg deleted file mode 100644 index fa6ffb9c8..000000000 --- a/docs/examples/svg/test/shapes.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - Simple shapes - - - - - - - - - - - - - - diff --git a/docs/examples/svg/test/skew.svg b/docs/examples/svg/test/skew.svg deleted file mode 100644 index 639265cea..000000000 --- a/docs/examples/svg/test/skew.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - Skew - Example Skew - Show effects of skewX and skewY - - - - - - - - - - - - - - ABC (skewX) - - - - - - - - - - - - ABC (skewY) - - - - diff --git a/docs/examples/svg/test/transformTest.svg b/docs/examples/svg/test/transformTest.svg deleted file mode 100644 index ec1b3834b..000000000 --- a/docs/examples/svg/test/transformTest.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - Nested verses Transform list test - This is to test that the transformations are being applied in - the correct order. Both squares should be first filled and - then outlined in the same position. If the outlines are in - the wrong position then something is wrong. - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/examples/svg/test/units.svg b/docs/examples/svg/test/units.svg deleted file mode 100644 index bb85ce172..000000000 --- a/docs/examples/svg/test/units.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - Units - Demonstration of coordinate transforms - - - - This prints 12 pixels high. - This prints 12 pixels high. - - - - This prints 24 pixels high. - - This prints 12 pixels high. - - diff --git a/docs/examples/svg/test/use01.svg b/docs/examples/svg/test/use01.svg deleted file mode 100644 index 0394ea8a8..000000000 --- a/docs/examples/svg/test/use01.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - Use01 - Example Use01 - Simple case of 'use' on a 'rect' - - - - - diff --git a/docs/examples/svg/test/use02.svg b/docs/examples/svg/test/use02.svg deleted file mode 100644 index 7041e7af0..000000000 --- a/docs/examples/svg/test/use02.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - Use02 - Example Use02 - 'use' on a 'symbol' - - - MySymbol - four rectangles in a grid - - - - - - - - diff --git a/docs/examples/svg/test/use03.svg b/docs/examples/svg/test/use03.svg deleted file mode 100644 index 9caed2858..000000000 --- a/docs/examples/svg/test/use03.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - Example Use03 - 'use' with a 'transform' attribute - - - - - diff --git a/docs/examples/svg/test/viewBox1.svg b/docs/examples/svg/test/viewBox1.svg deleted file mode 100644 index 6ee5ddd5e..000000000 --- a/docs/examples/svg/test/viewBox1.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - ViewBox1 - Example ViewBox1 - uses the viewBox - attribute to automatically create an initial user coordinate - system which causes the graphic to scale to fit into the - viewport no matter what size the viewport is. - - - - - - - Stretch to fit - - diff --git a/docs/examples/svg/test/viewBox2.svg b/docs/examples/svg/test/viewBox2.svg deleted file mode 100644 index 29d833da6..000000000 --- a/docs/examples/svg/test/viewBox2.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - ViewBox2 - Example ViewBox2 - uses the viewBox - attribute to automatically create an initial user coordinate - system which causes the graphic to scale to fit into the - viewport no matter what size the viewport is. - - - - - - - - - - Stretch to fit - -