0

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?

Community
  • 1
  • 1
aerkain
  • 592
  • 1
  • 4
  • 16

2 Answers2

0

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

Disclosure: I wrote it.

JasonPlutext
  • 15,352
  • 4
  • 44
  • 84
  • Thank you for pointing that out, but I am looking for non-commercial solution/help. Ive got pretty far. What I dont get is, why the *.pdf files are a problem and the other file extensions not. – aerkain Jul 26 '13 at 07:50
0

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.

aerkain
  • 592
  • 1
  • 4
  • 16