Ignore:
Timestamp:
12/11/10 02:27:38 (18 months ago)
Author:
jharrop
Message:

azeloro's fix for Germany, where they use a comma as decimal separator instead of a point.

Solves FOP *ERROR* FOUserAgent: Invalid property value encountered in border-bottom-width="0,18mm": org.apache.fop.fo.expr.PropertyException?: null:35:356: No conversion defined 0,18mm; property:'border-bottom-width' (Siehe Position 41:532)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/UnitsOfMeasurement.java

    r963 r1344  
    2222 
    2323import java.text.DecimalFormat; 
     24import java.text.DecimalFormatSymbols; 
     25import java.util.Locale; 
    2426 
    2527import org.apache.log4j.Logger; 
     
    3032        public final static DecimalFormat format2DP; 
    3133        static { 
    32                 format2DP = new DecimalFormat("##.##"); 
     34                format2DP =  new DecimalFormat("##.##",  
     35                                                        new DecimalFormatSymbols(Locale.ENGLISH));  
    3336        } 
    3437         
Note: See TracChangeset for help on using the changeset viewer.