jeremias    2003/11/08 06:01:06

  Modified:    src/java/org/apache/fop/fo/flow ExternalGraphic.java
  Log:
  RTF: added support for fo:external-graphic
  Submitted By: Peter Herweg <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.11      +12 -0     xml-fop/src/java/org/apache/fop/fo/flow/ExternalGraphic.java
  
  Index: ExternalGraphic.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/ExternalGraphic.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ExternalGraphic.java      16 Sep 2003 05:21:05 -0000      1.10
  +++ ExternalGraphic.java      8 Nov 2003 14:01:06 -0000       1.11
  @@ -50,7 +50,11 @@
    */
   package org.apache.fop.fo.flow;
   
  +// XML
  +import org.xml.sax.Attributes;
  +
   // FOP
  +import org.apache.fop.apps.FOPException;
   import org.apache.fop.fo.FONode;
   import org.apache.fop.fo.FObj;
   import org.apache.fop.fo.FOTreeVisitor;
  @@ -267,4 +271,12 @@
           return placement;
       }
   
  +    /**
  +     * @see org.apache.fop.fo.FObj#handleAttrs
  +     */
  +    public void handleAttrs(Attributes attlist) throws FOPException {
  +        super.handleAttrs(attlist);
  +
  +        getFOTreeControl().getFOInputHandler().image(this);
  +    }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to