summaryrefslogtreecommitdiffstats
path: root/src/contrib
diff options
context:
space:
mode:
authorAvik Sengupta <avik@apache.org>2003-05-03 18:58:44 +0000
committerAvik Sengupta <avik@apache.org>2003-05-03 18:58:44 +0000
commit5419ef95e7dde04822e7d368b4534b4db8d85d1f (patch)
treed2813c5a2d834ad009a4f3e995e25a001ebd14b8 /src/contrib
parent61ea7361da4dd8ca4f27754d2a10ae0beff0dcb6 (diff)
downloadpoi-5419ef95e7dde04822e7d368b4534b4db8d85d1f.tar.gz
poi-5419ef95e7dde04822e7d368b4534b4db8d85d1f.zip
bug 19528, new greek unicode mappings by eric pugh, simple enuf
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353079 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/contrib')
-rw-r--r--src/contrib/src/org/apache/poi/hssf/usermodel/contrib/HSSFCellUtil.java16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/contrib/src/org/apache/poi/hssf/usermodel/contrib/HSSFCellUtil.java b/src/contrib/src/org/apache/poi/hssf/usermodel/contrib/HSSFCellUtil.java
index bc4bcf7231..2cf0e8ad90 100644
--- a/src/contrib/src/org/apache/poi/hssf/usermodel/contrib/HSSFCellUtil.java
+++ b/src/contrib/src/org/apache/poi/hssf/usermodel/contrib/HSSFCellUtil.java
@@ -278,13 +278,23 @@ public class HSSFCellUtil
return cell;
}
-
- static
- {
+
+ static {
unicodeMappings.put( "&alpha;", "\u03B1" );
+ unicodeMappings.put( "&beta;", "\u03B2" );
unicodeMappings.put( "&gamma;", "\u03B3" );
+ unicodeMappings.put( "&delta;", "\u03B4" );
unicodeMappings.put( "&epsilon;", "\u03B5" );
+ unicodeMappings.put( "&zeta;", "\u03B6" );
+ unicodeMappings.put( "&eta;", "\u03B7" );
unicodeMappings.put( "&theta;", "\u03B8" );
+ unicodeMappings.put( "&iota;", "\u03B9" );
+ unicodeMappings.put( "&kappa;", "\u03BA" );
+ unicodeMappings.put( "&lambda;", "\u03BB" );
+ unicodeMappings.put( "&mu;", "\u03BC" );
+ unicodeMappings.put( "&nu;", "\u03BD" );
+ unicodeMappings.put( "&xi;", "\u03BE" );
+ unicodeMappings.put( "&omicron;", "\u03BF" );
}
}