Browse Source

Merge pull request #55 in CORE/base-third from ~KERRY/base-third:feature/10.0 to feature/10.0

* commit '1840daa739e3c40f2470a4948e785af13019f5fc':
  REPORT-8403 10.0html解析之list标签打印导出空白
10.0
superman 6 years ago
parent
commit
9262e93119
  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