You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by av...@apache.org on 2003/05/03 20:58:45 UTC

cvs commit: jakarta-poi/src/contrib/src/org/apache/poi/hssf/usermodel/contrib HSSFCellUtil.java

avik        2003/05/03 11:58:45

  Modified:    src/contrib/src/org/apache/poi/hssf/usermodel/contrib
                        HSSFCellUtil.java
  Log:
  bug 19528, new greek unicode mappings by eric pugh, simple enuf
  
  Revision  Changes    Path
  1.6       +13 -3     jakarta-poi/src/contrib/src/org/apache/poi/hssf/usermodel/contrib/HSSFCellUtil.java
  
  Index: HSSFCellUtil.java
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/contrib/src/org/apache/poi/hssf/usermodel/contrib/HSSFCellUtil.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- HSSFCellUtil.java	30 Apr 2003 04:39:13 -0000	1.5
  +++ HSSFCellUtil.java	3 May 2003 18:58:44 -0000	1.6
  @@ -278,13 +278,23 @@
           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" );
       }
   
   }