문제

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?

도움이 되었습니까?

해결책 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.

다른 팁

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

Disclosure: I wrote it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top