Thanks for ur reply.
Have u done this completely?. Because MainDocumentPart.getStylesInUse() did not return any of the table styles at all. Where u r forming the styles for the table in the code?. Still i am not clear completely what u have done for the table.
Between i am trying some other way of getting the table styles. i.e., i am reading both the document.xml and styles.xml and get the style information and Merge the same and set to the table as a style attribute.
But i am not clear about how to set the td styles. And where i can the td style information. Is the insideV and the insideH values decide the td style? But insideV and insideH seems the property of table not the td.
Correct me if i am wrong.
i am trying to achieve the below html code with style for table.
<table cellpadding="0" cellspacing="0" style="border-right: solid #000000 1px; border-left: solid #000000 1px; border-top: solid #000000 1px; border-bottom: solid #000000 1px">
<td width="58" valign="top" style="border-style: none solid solid none; border-width: medium 3pt 3pt medium; padding: 0in 5.4pt; width: 43.45pt;">
from the above html i can get the table border information, as described above. but where from i can get the td border info.