You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@locus.apache.org on 2000/08/03 08:58:57 UTC

cvs commit: xml-fop/docs/examples/fo extensive.fo

keiron      00/08/02 23:58:56

  Modified:    docs/examples/fo extensive.fo
  Log:
  put svg in instream-foreign-object
  
  Revision  Changes    Path
  1.7       +8 -6      xml-fop/docs/examples/fo/extensive.fo
  
  Index: extensive.fo
  ===================================================================
  RCS file: /home/cvs/xml-fop/docs/examples/fo/extensive.fo,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- extensive.fo	2000/08/02 22:48:04	1.6
  +++ extensive.fo	2000/08/03 06:58:56	1.7
  @@ -131,12 +131,14 @@
   ]]>
   </fo:block>
         <fo:block break-before="page" font-size="24pt" line-height="28pt" space-before.optimum="12pt" space-after.optimum="12pt">Embedded SVG</fo:block>
  -      <svg:svg width="400pt" height="200pt">
  -        <svg:rect x="20pt" y="20pt" width="100pt" height="100pt"/>
  -        <svg:line x1="20pt" y1="20pt" x2="120pt" y2="120pt"/>
  -        <svg:line x1="120pt" y1="20pt" x2="20pt" y2="120pt"/>
  -        <svg:text x="20pt" y="150pt">Hello SVG!</svg:text>
  -      </svg:svg>
  +      <fo:instream-foreign-object>
  +        <svg:svg width="400pt" height="200pt">
  +          <svg:rect x="20pt" y="20pt" width="100pt" height="100pt"/>
  +          <svg:line x1="20pt" y1="20pt" x2="120pt" y2="120pt"/>
  +          <svg:line x1="120pt" y1="20pt" x2="20pt" y2="120pt"/>
  +          <svg:text x="20pt" y="150pt">Hello SVG!</svg:text>
  +        </svg:svg>
  +      </fo:instream-foreign-object>
         <fo:block>The above is an example of an SVG graphic</fo:block>
       </fo:flow>
     </fo:page-sequence>