-
Notifications
You must be signed in to change notification settings - Fork 474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inserting hyperlinks completes yet resulting file is corrupted #453
Comments
Hi, Actualy I made it work with the latest v2.4 version of DocX. ` var doc1 = DocX.Load( "Doc1.docx" );
Results: Doc1.docx contains 2 pages. On first page, its the original paragraph. On second page, it the paragraph from Doc2.docx with its hyperlink. Clicking on the hyperlink works. If this is not what you did, please give more details. Thank you. |
Thanks for the prompt response! I am trying to insert a document (subDocument) within another one (mainDocument), rather than appending subDocument to the end of mainDocument. I did something like this (edited), and it all works well as long as there are no links. I am using DocX 2.4.
|
Hi, Thanks for the details. I can see the problem. We will look into this. |
When I insert a paragraph that contains some hyperlink (email, url, etc.) from one document to another file, the resulting file cannot be opened because it is corrupted. Allowing Word to repair it works, yet the hyperlinks are gone.
I thought it was the format of the document, yet tried using a simple file with one paragraph and one link and confirmed the issue. Removing the hyperlink makes it work normally.
Thanks!
The text was updated successfully, but these errors were encountered: