cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7813] New: - [PATCH] HSSF Serializer support new Gnumeric 1.04+ "contentless cells"
Date Sun, 07 Apr 2002 14:33:35 GMT
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: cocoon-dev@xml.apache.org
        ReportedBy: acoliver@apache.org
                CC: nicolaken@apache.org


===================================================================
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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message