Question

I am strugling with Open XML SDK and embedding pdf files into a docx file.

  1. I do not want to use automation
  2. I am able to create *.bin files from everything except from *.pdf (see this question)

Anyone has experience with this? From what I've gathered you must create a *.bin file in order to embedd any file into Word *.docx document (except images). Is that correct?

Was it helpful?

Solution 2

The reason for pdf not working was in fact in acrobat reader. When Ive installed older version (or did not have AR installed at all), it started to work.

OTHER TIPS

If you can't find a pure C# solution, you could consider the commercial product docx4j OLE Helper IKVM'd.

Disclosure: I wrote it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top