Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Tue Oct 17, 2017 9:15 am

Hi When i export into word it will print below words

's
’s
<span style="
&ndash

Why is that. Please can you sort it out ?

Regards

Manish

mvadukul21621
 
Posts: 21
Joined: Thu Mar 29, 2012 7:52 pm

Tue Oct 17, 2017 9:29 am

Hello Manish,

Thanks for your inquiry.
To help us with a better investigation, could you send your code and sample document to us via email(support@e-iceblue.com)?

Sincererly,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Tue Oct 17, 2017 10:09 am

Hello Manish,

Thanks for sharing your code.
Kindly note if you want to insert html to word, you need to use the AppendHtml method.
Code: Select all
para3.AppendHtml(StripHTMLTags(HeadCommentaryReport, ""));

If I misunderstand your issue, please write back.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Tue Oct 17, 2017 10:14 am

Hi

I already send you .... from my work email from long time ago.
manishvadukul@bidfood.co.uk

Please check.

mvadukul21621
 
Posts: 21
Joined: Thu Mar 29, 2012 7:52 pm

Tue Oct 17, 2017 11:11 am

I already mention here

For i1 As Integer = 0 To rowCount - 1
data(i1) = New String(colCount - 1) {}
For j As Integer = 0 To colCount - 1
data(i1)(j) = StripHTMLTags(dt.Rows(i1)(j).ToString())
Next
Next

mvadukul21621
 
Posts: 21
Joined: Thu Mar 29, 2012 7:52 pm

Tue Oct 17, 2017 11:18 am

Its not from html to word..

i have webpage report.. My data coming from sql database.

I m storing my data as in html tag.

mvadukul21621
 
Posts: 21
Joined: Thu Mar 29, 2012 7:52 pm

Wed Oct 18, 2017 6:02 am

Hello Manish,

Thanks for your reply.
With the details on hand, I couldn't reproduce the issue. To help us find out the root of your issue, please also share the follwoing information.
1. The value of the variable "HeadCommentaryReport".
2. The version of Spire.Doc you were using.

Looking forward to your reply.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Tue Oct 24, 2017 8:24 am

Hello,

Greetings from E-iceblue.
How is your issue now?
Thanks in advance for your valuable feedback and time.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.Doc