|
|
|
@ -215,12 +215,15 @@ public class HTMLWorker implements SimpleXMLDocHandler, DocListener {
|
|
|
|
|
h.put(Markup.CSS_KEY_MARGINTOP, "16px"); |
|
|
|
|
h.put(Markup.CSS_KEY_MARGINBOTTOM, "16px"); |
|
|
|
|
} |
|
|
|
|
if (tag.equals("th")) { |
|
|
|
|
h.put("b", null); |
|
|
|
|
} |
|
|
|
|
String follow = (String) FactoryProperties.followTags.get(tag); |
|
|
|
|
if (follow != null) { |
|
|
|
|
HashMap prop = new HashMap(); |
|
|
|
|
prop.put(follow, null); |
|
|
|
|
FactoryProperties.insertStyle(h, this.cprops); |
|
|
|
|
prop.putAll(h); |
|
|
|
|
FactoryProperties.insertStyle(prop, this.cprops); |
|
|
|
|
cprops.addToChain(follow, prop); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
@ -491,9 +494,6 @@ public class HTMLWorker implements SimpleXMLDocHandler, DocListener {
|
|
|
|
|
endElement(tag); |
|
|
|
|
skipText = false; |
|
|
|
|
pendingTD = true; |
|
|
|
|
if (tag.equals("th")) { |
|
|
|
|
h.put("b", null); |
|
|
|
|
} |
|
|
|
|
cprops.addToChain("td", h); |
|
|
|
|
stack.push(new IncCell(tag, cprops)); |
|
|
|
|
return; |
|
|
|
|