Browse Source

REPORT-8403 10.0html解析之list标签打印导出空白

10.0
kerry 7 years ago
parent
commit
1840daa739
  1. 3
      fine-itext/src/com/fr/third/v2/lowagie/text/html/ParseIndentAttrUtils.java
  2. 4
      fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/FactoryProperties.java

3
fine-itext/src/com/fr/third/v2/lowagie/text/html/ParseIndentAttrUtils.java

@ -30,6 +30,9 @@ public class ParseIndentAttrUtils {
}
public static IndentAttribute parsePaddingAttribute(Map map){
if (map == null){
return new IndentAttribute();
}
IndentAttribute indentAttribute = new IndentAttribute();
Iterator iter = map.entrySet().iterator();
while (iter.hasNext()) {

4
fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/FactoryProperties.java

@ -158,10 +158,6 @@ public class FactoryProperties {
String ss = props.getPropertyFromChain("div", "width");
p.setAttribute("width", ss);
}
if(props.hasPropertyInChain("div", "height")){
String ss = props.getPropertyFromChain("div", "height");
p.setAttribute("height", ss);
}
p.setHyphenation(getHyphenation(props));
setParagraphLeading(p, props.getProperty("leading"));

Loading…
Cancel
Save