From 18a2d8334415c170cf1ee38d4d771c95ea4ecd88 Mon Sep 17 00:00:00 2001 From: Avik Sengupta Date: Sat, 3 May 2003 18:58:44 +0000 Subject: [PATCH] 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 --- .../poi/hssf/usermodel/contrib/HSSFCellUtil.java | 16 +++++++++++++--- 1 file 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 bc4bcf723..2cf0e8ad9 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( "α", "\u03B1" ); + unicodeMappings.put( "β", "\u03B2" ); unicodeMappings.put( "γ", "\u03B3" ); + unicodeMappings.put( "δ", "\u03B4" ); unicodeMappings.put( "ε", "\u03B5" ); + unicodeMappings.put( "ζ", "\u03B6" ); + unicodeMappings.put( "η", "\u03B7" ); unicodeMappings.put( "θ", "\u03B8" ); + unicodeMappings.put( "ι", "\u03B9" ); + unicodeMappings.put( "κ", "\u03BA" ); + unicodeMappings.put( "λ", "\u03BB" ); + unicodeMappings.put( "μ", "\u03BC" ); + unicodeMappings.put( "ν", "\u03BD" ); + unicodeMappings.put( "ξ", "\u03BE" ); + unicodeMappings.put( "ο", "\u03BF" ); } }