mirror of https://github.com/apache/poi.git
fix missing css in Word-to-HTML converter if getDocument() not called
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149026 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1e6c2d5271
commit
edfd7a2b42
|
@ -164,7 +164,6 @@ public class WordToHtmlConverter extends AbstractWordConverter
|
||||||
|
|
||||||
public Document getDocument()
|
public Document getDocument()
|
||||||
{
|
{
|
||||||
htmlDocumentFacade.updateStylesheet();
|
|
||||||
return htmlDocumentFacade.getDocument();
|
return htmlDocumentFacade.getDocument();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -232,6 +231,8 @@ public class WordToHtmlConverter extends AbstractWordConverter
|
||||||
|
|
||||||
if ( notes != null )
|
if ( notes != null )
|
||||||
htmlDocumentFacade.getBody().appendChild( notes );
|
htmlDocumentFacade.getBody().appendChild( notes );
|
||||||
|
|
||||||
|
htmlDocumentFacade.updateStylesheet();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue