This project has moved and is read-only. For the latest updates, please go here.

AddHyperlink results in not readable DocX file for Microsoft Word 2007

Nov 17, 2014 at 10:00 AM
Edited Nov 17, 2014 at 10:02 AM

i try to add a Hyperlink into a Table with the following code:
 Novacode.Hyperlink hl = mydoc.AddHyperlink( "blah", new Uri("") );
 table.Rows[ row ].Cells[ column ].Paragraphs.First().AppendHyperlink( hl );
when i save the document word is not able to open that and say's "Word Document is corrupt"
Word 2007 offers an option to repair the document, after that the hyperlink is visible but the source is not availible.

is there any know issue with hyperlinks?
Nov 17, 2014 at 10:53 AM
i just see the reason is that the _rels for the document where not created...
so the ID of the Hyperlink points to nothing....
a ping to the world is this PROJECT ALIVE or is that allready dead?