Ignore:
Timestamp:
02/27/10 06:52:46 (2 years ago)
Author:
jharrop
Message:

Moved jcPML to org.pptx4j.jaxb.Context

Don't assume default paragraph,character styles are Normal,Default.. respectively.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/convert/out/html/HtmlExporterNG2.java

    r1015 r1096  
    397397 
    398398                if ( pStyleVal ==null || pStyleVal.equals("") ) { 
    399                         pStyleVal = "Normal"; 
     399//                      pStyleVal = "Normal"; 
     400                        pStyleVal = wmlPackage.getMainDocumentPart().getStyleDefinitionsPart().getDefaultParagraphStyle().getStyleId(); 
    400401                } 
    401402        log.debug("style '" + pStyleVal );               
     
    447448                                        StyleTree.getHtmlClassAttributeValue(pTree, asn)                         
    448449                        ); 
    449                          
    450                          
     450                                                 
    451451                        // Does our pPr contain anything else? 
    452452                        if (pPr!=null) { 
     
    578578                                 
    579579                                if (pStyleVal==null || pStyleVal.equals("")) { 
    580                                         pStyleVal = "Normal"; 
     580//                                      pStyleVal = "Normal"; 
     581                                        pStyleVal = wmlPackage.getMainDocumentPart().getStyleDefinitionsPart().getDefaultParagraphStyle().getStyleId(); 
    581582                                } 
    582583 
Note: See TracChangeset for help on using the changeset viewer.