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.

Fri Aug 17, 2018 7:34 am

Hi,

We are evaluating Spire.Doc for converting RTF files to XHTML.

Without going into details our scenario requires all style information to be incorporated into the html body, e.g. we cannot have formatting information in an external or internal style sheet. Is it possible to achieve this?

Thanks in advance!

/Fredrik

fredan
 
Posts: 9
Joined: Tue Jun 19, 2018 6:52 am

Fri Aug 17, 2018 10:02 am

Hello Fredrik,

Thanks for your inquiry.
We have checked with our dev team and confirmed that our Spire.Doc could achieve it. While it belongs to the customized service and we only offer free customized service for our OEM users. As our policy, we will start the task once you have purchased Spire.Doc Pro Edition Developer OEM Subscription. Looking forward to your feedback on it soon.

Sincerely,
Amy
E-iceblue support team
User avatar

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

Tue Aug 21, 2018 3:44 am

Hello Fredrik,

Greetings from E-iceblue.
Could you please give us some feedback soon? Thanks in advance.

Sincerely,
Amy
E-iceblue support team
User avatar

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

Tue Aug 21, 2018 4:27 am

Hi,

Thank you for your reply.

How long would it typically take before such a request to be implemented and available for us from the date of purchase?

BR,
Fredrik

fredan
 
Posts: 9
Joined: Tue Jun 19, 2018 6:52 am

Tue Aug 21, 2018 8:12 am

Hello Fredrik,

Thanks very much for your response.
Before we work out the schedule, we need to confirm the details on the expected XHTML with you.
Would you like to include all styles in style attribute of tag, for example,
Code: Select all
<span style="font-size:12pt;font-family:'Lucida Sans Unicode';font-weight:bold;">Christmas Day, December 25, </span>

or to add other tags for some styles? for example, bold style is replaced by <b> tag
Code: Select all
<b><span style="font-size:12pt;font-family:'Lucida Sans Unicode';">Christmas Day, December 25, </span></b>


Please share a sample XHTML file for better reference if you could.

Sincerely,
Amy
E-iceblue support team
User avatar

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

Wed Nov 07, 2018 7:44 am

Hello Fredrik,

Thank you for purchasing Spire.Doc Pro Edition OEM Subscription.
At the moment I am glad to inform you that the feature of including all styles in style attribute of tag has been supported.
Please download and test Spire.Doc Pack(hot fix) Version:6.11.2.
The core code :
Code: Select all
doc.HtmlExportOptions.IsExportDocumentStyles = false;


Looking forward to your feedback.

Sincerely,
Amy
E-iceblue support team
User avatar

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

Return to Spire.Doc