161162163164165166167168169170171
} xhtml.endElement("tr"); } xhtml.endElement("tbody"); xhtml.endElement("table"); return (t.numParagraphs()-1); } TagAndStyle tas; if (document.getStyleSheet().numStyles()>p.getStyleIndex()) {
142143144145146147148149150151152
} xhtml.endElement("tr"); } xhtml.endElement("tbody"); xhtml.endElement("table"); return (t.numParagraphs()-1); } StyleDescription style = document.getStyleSheet().getStyleDescription(p.getStyleIndex()); TagAndStyle tas = buildParagraphTagAndStyle(
199200201202203204205206207208209
} xhtml.endElement("tr"); } xhtml.endElement("tbody"); xhtml.endElement("table"); return (t.numParagraphs()-1); } String text = p.text(); if (text.replaceAll("[\\r\\n\\s]+", "").isEmpty()) { // Skip empty paragraphs