Changeset 1088
- Timestamp:
- 02/26/10 15:25:01 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/src/pptx4j/java/org/pptx4j/convert/out/svginhtml/SvgExporter.java
r1087 r1088 170 170 171 171 172 StringBuffer inlineStyle = new StringBuffer(); 172 173 // Do we have CTTextParagraphProperties 173 174 // <a:lvl?pPr> … … 184 185 PPr pPr = TextStyles.getWmlPPr(lvlPPr); 185 186 if (pPr!=null) { 186 StringBuffer inlineStyle = new StringBuffer();187 187 HtmlExporterNG.createCss(pPr, inlineStyle); 188 if (!inlineStyle.toString().equals("") ) {189 ((Element)xhtmlP).setAttribute("style", inlineStyle.toString() );190 }191 188 } 192 189 // TODO RPR 190 } 191 // Without this, top-margin is too large in Webkit (Midor). 192 // Not tested elsewhere... 193 inlineStyle.append("margin-left:3px; margin-top:3px;"); 194 195 if (!inlineStyle.toString().equals("") ) { 196 ((Element)xhtmlP).setAttribute("style", inlineStyle.toString() ); 193 197 } 194 198
Note: See TracChangeset
for help on using the changeset viewer.
