Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Wed Jul 27, 2011 1:51 pm

Hi

i'm loading the document (see attached file) in my web application.
When i write the document to the output stream an save it in the webbrowser the dropdown disappears.
Do you have any idea why this happens?

Best regards,
Hubert

Code: Select all
byte[] data = ...loaded from database where template is stored
Document document = new Document();
using (MemoryStream ms = new MemoryStream(data))
{
    document.LoadFromStream(ms, FileFormat.Auto);
}

// write it to stream
using (MemoryStream ms = new MemoryStream())
{
    document.SaveToStream(ms, FileFormat.Docx);
    // write stream to Page response
}
You do not have the required permissions to view the files attached to this post.

softecregistrierung
 
Posts: 21
Joined: Mon Mar 07, 2011 9:35 am

Thu Jul 28, 2011 2:40 am

Dear Hubert,
Thanks for your inquiry.
Actually, your "DropDown" is a comboBox in word file.
And our component do not support this.
Alternatively, you can use drop down field to do so.
Justin
Technical Support / Developer,
e-iceblue Support Team
User avatar

Justin Weng
 
Posts: 110
Joined: Mon Mar 28, 2011 5:54 am

Thu Jul 28, 2011 5:45 am

Hi Justin

This is not an alternative, because i dont' want to protect the document.
I think your component should not change anything inside the document just by opening and straming it!

Do you have any other ideas (i also tried with user form and VB-Script but it didn't work)?
Do you plan any patch for this (i'm also waiting fpr another patch -> see 'bad resolution)?

Best regards,
Hubert

softecregistrierung
 
Posts: 21
Joined: Mon Mar 07, 2011 9:35 am

Fri Jul 29, 2011 8:44 am

Dear Hubert,
Thanks for your inquiry.
You want to use something like "DropDown", the comboBox can do it. However, we do not support this feature.
So I suggest you to use drop down field. There is no other way right now. Sorry for inconvenience.
About 'bad resolution" we have been fixing that. And it will be fixed soon, please wait patiently.
Once fixed, we'll inform you.
Justin
Technical Support / Developer,
e-iceblue Support Team
User avatar

Justin Weng
 
Posts: 110
Joined: Mon Mar 28, 2011 5:54 am

Tue Nov 27, 2012 6:06 am

In the similar fashion i have OLE objects which i am losing while using SaveToFile. I am just appending text to bookmarks and using below lines and the OLE objects are getting converted into Images. Is there a solution that where Spire.Doc doesn't change/remove anything in the existing OLE objects. Please c onfirm

document.SaveToFile(NewFullPath, fileFormat);
document.Close();

dineshwins
 
Posts: 3
Joined: Thu Sep 20, 2012 4:12 am

Tue Nov 27, 2012 7:23 am

Hi,

Thanks for your inquiry.
Could you please tell us the object type of the OLE objects in your document? If you could provide us your document, we can quickly reproduce your problem, and work out a solution for you. Thank you!

Best regards,
Amy
E-iceblue support
User avatar

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

Fri Nov 30, 2012 4:51 pm

We are using Topaz Signaure components(Add-In) which gets lost if i only set the value of the bookmarks and save to new Word file. Attaching the sample document file with 2 bookmarks and other two signature controls i.e. SigPlus1, SigPlus2

dineshwins
 
Posts: 3
Joined: Thu Sep 20, 2012 4:12 am

Mon Dec 03, 2012 2:18 am

Hi,

Thanks for your feedback.
We are sorry for the delay response for the weekends here.

We don't find the sample document you attached on the forum. Could you please provide your sample document to us again?
Thank you!

Best regards,
Amy
E-iceblue support
User avatar

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

Tue Dec 04, 2012 4:40 am

It was not letting me attach .doc or .docx file. Have zipped the file and attached it now.
You do not have the required permissions to view the files attached to this post.

dineshwins
 
Posts: 3
Joined: Thu Sep 20, 2012 4:12 am

Tue Dec 04, 2012 7:55 am

Hello,

Thanks for your feedback.
I have reproduced your problem. I have posted it to our dev team. They tell me that spire.doc don't support parsing external plug-ins(for example, Topaz Signaure components(Add-In)) at present. We are sorry for the inconvenience. Our dev team will add the featrue in the future. Once spire.doc can support the featrue, we will inform you immediately.

Best regards,
Amy
E-iceblue support
User avatar

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

Return to Spire.Doc