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.

Thu May 05, 2022 5:38 pm

Document doc = new Document("D:\\11613469_14-10-56.doc");
foreach (Section item in doc.Sections)
{
using (Document newWord = new Document())
{
Section Section = item.Clone();
newWord.Sections.Add(Section);
}
}

error is
at Spire.Doc.Documents.Style.ᜀ(String A_0)
at Spire.Doc.Documents.Style.ᜁ(Document A_0, Document A_1)
at Spire.Doc.Fields.ParagraphBase.CloneRelationsTo(Document doc, OwnerHolder nextOwner)
at Spire.Doc.Fields.TextRange.CloneRelationsTo(Document doc, OwnerHolder nextOwner)
at Spire.Doc.DocumentObject.CloneRelationsTo(Document doc, OwnerHolder nextOwner)
at Spire.Doc.Documents.Paragraph.CloneRelationsTo(Document doc, OwnerHolder nextOwner)
at Spire.Doc.DocumentObject.CloneRelationsTo(Document doc, OwnerHolder nextOwner)
at Spire.Doc.Body.CloneRelationsTo(Document doc, OwnerHolder nextOwner)
at Spire.Doc.DocumentObject.CloneRelationsTo(Document doc, OwnerHolder nextOwner)
at Spire.Doc.Section.CloneRelationsTo(Document doc, OwnerHolder nextOwner)
at Spire.Doc.Collections.DocumentObjectCollection.OnInsert(Int32 index, DocumentObject entity)
at Spire.Doc.Collections.DocumentObjectCollection.Add(IDocumentObject entity)
at Spire.Doc.Collections.SectionCollection.Add(ISection section)


for security reason file sending by email

sserra
 
Posts: 76
Joined: Tue Jun 13, 2017 4:03 pm

Fri May 06, 2022 8:15 am

Hi,

Thanks for your reply.
I reproduced your problem on my side and posted the problem to our bug tracking system with the problem number SPIREDOC-7787. I will let you know as soon as the problem is resolved or there is any update. Sorry for the inconvenience.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Thu Jul 14, 2022 8:26 pm

Hello Kylie
Can you please estimate time for fix that issue?

thank you

sserra
 
Posts: 76
Joined: Tue Jun 13, 2017 4:03 pm

Fri Jul 15, 2022 3:10 am

Hi,

Due to the complexity of the problem, our dev team haven't found a good solution to deal with it yet. I have urged our dev team and they will speed up to fix it. Please spare us more time, if there is any meaningful progress, I will inform you. Thank you for understanding.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Fri Sep 09, 2022 10:07 am

Hi,

Thanks for your patience.
Glad to inform you that we just released Spire.Office Platinum(Hotfix) Version:7.9.0 which fixes your issue SPIREDOC-7787.
Please download the fix version from the following links to test.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/7.9.0

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 412
Joined: Mon Mar 07, 2022 2:30 am

Return to Spire.Doc