Changeset 1743


Ignore:
Timestamp:
01/05/12 08:25:00 (5 months ago)
Author:
jharrop
Message:

Bug fix - make underline work in CSS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/model/properties/run/Underline.java

    r1740 r1743  
    6868                        return composeCss(CSS_NAME, "underline"); 
    6969                } else if (!((U)this.getObject()).getVal().equals( UnderlineEnumeration.NONE ) ) { 
    70                         return composeCss(CSS_NAME, "none");  // Hmm, what if it was also Strike (a la line-through) 
     70                        return composeCss(CSS_NAME, "underline");   
    7171                } else { 
    72                         return CSS_NULL; 
     72                        return CSS_NULL;  // text-decoration is also used for Strike (a la line-through) 
    7373                } 
    7474                // How to handle <w:u w:color="FF0000"> ie coloured underline? 
Note: See TracChangeset for help on using the changeset viewer.