DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7813>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7813

[PATCH] HSSF Serializer support new Gnumeric 1.04+ "contentless cells"

           Summary: [PATCH] HSSF Serializer support new Gnumeric 1.04+
                    "contentless cells"
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: general components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


===================================================================
RCS file:
/home/cvspublic/xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/EPCell.java,v
retrieving revision 1.1
diff -u -r1.1 EPCell.java
--- 
src/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/EPCell.java
   6 Mar 2002 16:58:02 -0000       1.1
+++ 
+src/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/EPCell.java
+   7 Apr 2002 14:29:02 -0000
@@ -311,6 +311,31 @@
        
     }
 
+    public String getContent()
+    {
+
String content=null;    
+        
+
  content = getData();
+
+        return content;
+    }
+
+    /**
+     * end processing -- pass their content up to their cell
+     *
+     * @exception IOException
+     */
+
+    public void endProcessing()
+        throws IOException
+    {
+
String content = getContent();
+
+
if (content != null && !content.trim().equals(""))
+               getCell().setContent(getContent());
+    }
+
+
     /**
      * override of getCell()
      *

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

Reply via email to