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 Apr 19, 2016 9:52 am

I use the spire.doc to read a docx file ,but I can not get one paragraph's ListFormat.CurrentListStyle ,the ListFormat.CurrentListStyle always return null , in fact some paragraph in the document has a ListStyle that i have set.
why this happened?

iceblueDDX123
 
Posts: 34
Joined: Tue Apr 19, 2016 9:43 am

Wed Apr 20, 2016 3:18 am

Hi,

Thanks for your interests in our Spire.Doc.
I tested a document with Spire.Doc Pack(hot fix) Version:5.6.62 and paragraph.ListFormat.CurrentListStyle was correct.
Could you please provide us your document for investigation?
Thank you.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Wed Apr 20, 2016 8:27 am

amy.zhao wrote:Hi,

Thanks for your interests in our Spire.Doc.
I tested a document with and paragraph.ListFormat.CurrentListStyle was correct.
Could you please provide us your document for investigation?
Thank you.

Best Regards,
Amy
E-iceblue support team

Thanks for your answer , now I have find a way to get the listStyle of a paragraph,as is following:
Code: Select all
ParagraphStyle paraStyle = paragraph.GetStyle();
                    BuiltinStyle bstyle = Style.NameToBuiltIn(paraStyle.Name);
                    ListStyle listStyle =paraStyle.ListFormat.CurrentListStyle;
                    ListLevel listLevel = paraStyle.ListFormat.CurrentListLevel;


by the way ,what is the meaning by "provide us your document for investigation"? is it not for free?

iceblueDDX123
 
Posts: 34
Joined: Tue Apr 19, 2016 9:43 am

Wed Apr 20, 2016 8:49 am

Hi,

I am glad that your issue has been resolved. Thanks for sharing your solution.
Regarding "provide us your document for investigation", I mean that provide us your .docx document you were using to help us do some investigation. So that we can work out solution for you soon.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Wed Apr 20, 2016 10:09 am

amy.zhao wrote:Hi,

I am glad that your issue has been resolved. Thanks for sharing your solution.
Regarding "provide us your document for investigation", I mean that provide us your .docx document you were using to help us do some investigation. So that we can work out solution for you soon.

Best Regards,
Amy
E-iceblue support team


when i use the way above that i have support, there seemingly are some question; Now i use the version 5.6.62,but the problem is still there.
I will provide the docx file ,and the file contains some Chinese character.

Best Regards

iceblueDDX123
 
Posts: 34
Joined: Tue Apr 19, 2016 9:43 am

Wed Apr 20, 2016 10:21 am

I have tried to upload the file but I find that it always failed .
I have send an e-mail to support@e-iceblue.com

iceblueDDX123
 
Posts: 34
Joined: Tue Apr 19, 2016 9:43 am

Thu Apr 21, 2016 2:49 am

Hi,

I have received your document via e-mail, thanks for providng. I have reproduced your issue and forwarded it to our dev team.
We will inform you when it is resolved.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Fri Jun 03, 2016 7:48 am

Hello,

Thanks for your waiting. The issue has been resolved, and you can download the latest hotfix from the following link and have a try.
http://www.e-iceblue.com/Download/downl ... t-now.html

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Jun 09, 2016 8:47 am

Hi,

Does the new hotfix resolve your issue?
Thanks for your feedback in advance.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc