vmote       2003/07/02 12:26:36

  Modified:    src/java/org/apache/fop/rtf/rtflib/rtfdoc
                        RtfExternalGraphic.java
  Log:
  style changes only, mostly javadoc comments
  
  Revision  Changes    Path
  1.9       +11 -7     
xml-fop/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfExternalGraphic.java
  
  Index: RtfExternalGraphic.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/java/org/apache/fop/rtf/rtflib/rtfdoc/RtfExternalGraphic.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- RtfExternalGraphic.java   2 Jul 2003 19:20:45 -0000       1.8
  +++ RtfExternalGraphic.java   2 Jul 2003 19:26:35 -0000       1.9
  @@ -178,6 +178,7 @@
        *
        * @param container a <code>RtfContainer</code> value
        * @param writer a <code>Writer</code> value
  +     * @throws IOException for I/O problems
        */
       public RtfExternalGraphic(RtfContainer container, Writer writer) throws 
IOException {
           super (container, writer);
  @@ -189,6 +190,7 @@
        * @param container a <code>RtfContainer</code> value
        * @param writer a <code>Writer</code> value
        * @param attributes a <code>RtfAttributes</code> value
  +     * @throws IOException for I/O problems
        */
       public RtfExternalGraphic(RtfContainer container, Writer writer,
       RtfAttributes attributes) throws IOException {
  @@ -200,8 +202,10 @@
       // @@ RtfElement implementation
       //////////////////////////////////////////////////
   
  -        /** RtfElement override - catches ExternalGraphicException and writes a 
warning
  -         *  message to the document if image cannot be read
  +        /**
  +         * RtfElement override - catches ExternalGraphicException and writes a 
warning
  +         * message to the document if image cannot be read
  +         * @throws IOException for I/O problems
            */
       protected void writeRtfContent() throws IOException {
               try {
  @@ -494,9 +498,7 @@
        * Sets the compression rate for the image in percent.
        *
        * @param percent Compression rate
  -     * @return
  -     *  true:   The compression rate is valid (0..100)\n
  -     *  false:  The compression rate is invalid
  +     * @return true if the compression rate is valid (0..100), false if invalid
        */
       public boolean setCompressionRate (int percent) {
           if (percent < 1 || percent > 100) {
  @@ -622,7 +624,9 @@
           return type;
       }
   
  -    /** true if this element would generate no "useful" RTF content */
  +    /**
  +     * @return true if this element would generate no "useful" RTF content
  +     */
       public boolean isEmpty() {
           return url == null;
       }
  
  
  

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

Reply via email to