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.

Sun Jan 08, 2023 3:09 pm

Hi,
I have 2 documents with bookmarks. I want to verify that content of bookmark from one document, matched to content of bookmark with same name in another document.
How I can do it?
Thanks.

andrei.chorin
 
Posts: 68
Joined: Sun Jan 08, 2023 2:36 pm

Mon Jan 09, 2023 6:27 am

Hello,

Thanks for your inquiry.
For your requirement, please refer to the code in attachment, and I also put the input document into attachment for your reference.
If you have any issue, just feel free to contact us.

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Mon Jan 09, 2023 8:08 am

Thanks a lot for quick answer.
As I see attached code checking only text equality between two bookmarks.
Is there option to check all content include styles, pictures, tables ....

andrei.chorin
 
Posts: 68
Joined: Sun Jan 08, 2023 2:36 pm

Mon Jan 09, 2023 9:48 am

Hello,

Thanks for your feedback.
Sorry that Spire.Doc don’t support the requirement you mentioned.

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Return to Spire.Doc