InsertHtml - Table Border is not displayed


#1

Hi,
I'm trying to insert table into word document using Document.InsertHtml(String) command (HTML String provided below). Everything is displayed correctly, except the table and cell borders are missing.

Word Version: 3.3.2.0

Thanks!



































INDIVIDUAL
Proposed Limits Existing Limits Exposure
Max Tenor (Years) 7.0 7.0 N/A
CE N/A N/A
PE Up to 1 Year 350000 350000 11818.0



#2

Import of table borders from HTML is not yet supported. We are working on this. There is an article in Aspose.Word Wiki with details of what exactly is supported during import/export if you need it.


#3

Thanks for quick reply. Any estimate on when this would become available? We get our data in HTML format at runtime so this is an essential feature for us. Is there a work around?

Thanks.


#4

Could you please give us an estimate on when this would become available? We have to get back to our clients with an estimate.

Thanks!


#5

We hope sometime in January.


#6

Is it possible for you guys to make this a priority? Our GoLive date is January 7th.

Any help/alternative ideas would be appreciated!

Thanks!


#7

We are working on this feature as we speak and deliver when we can. We can’t take responsibility for making or breaking your deadline. Thanks for understanding.


#8

Hi,
Could you please give me an update on this?

Thanks!


#9

With Aspose.word v 3.3.5.0, HTML table borders display correctly when the border is set to "1". Any other value does not display the border. Any idea?


#10

Hi,

Does this apply to the HTML snippet you posted above? If no, please post the problematic HTML where table borders behave incorrectly.


#11

It applies to both snippets (above as well as provided in this post).














































































































  INDIVIDUAL  
  Proposed Limits Existing Limits Exposure  
Max Tenor (Years) 7.0 7.0 N/A  
CE N/A N/A  
PE Up to 1 Year 350000 350000 35198.0  
PE 1 to 5 Years 75000 75000 2630.0  
PE 5 to 10 Years 30000 30000 3943.0  
PE 10 to 20 Years 0 0  
PE Over 20 Years 0  
Inventory 500000 0.0  
CP Outstanding  
Fed Funds/Placements 6 months  
Primary Loans Deposit >= 6  
Asset-Based Lending  
Delivery/Settlement  


#12

Strange, this works okay to me. Take a look at the attached doc; it is produced from the very first snippet with table border width set to 3. Are you getting another result?


#13

Border = (any number greater than 0) seems to work however they all produce border size of 1. Also, setting border = 0 still throws an exception.


#14

Please make sure you are indeed using version 3.3.5 or higher, or just download the latest version from the website. The point is that everything is handled correctly on my side: border widths are set properly and setting border="0" works fine, simply outputting table with no borders.

Let me know if the problem persists.


#15

I'm facing another problem with latest versions. Please take a look at following post. According to Aspose.PDF team this is a Aspose.word problem.

http://www.aspose.com/Community/Forums/38898/ShowPost.aspx