How set background image for doc files when exporting nodes to Word in Drupal 7? I used the Node to Word module in Drupal 7 to export nodes to Word. It doesn't have an official release for D7 yet, but there seems to be some D7 version of it in GIT. I downloaded this file) for it. This module supports writing template for a very convenient view mode.

How can I set the background image for the doc file when exporting a node to a doc?

I tried to use the background for the &lt;div&gt; sheathed same template but the export of the word, it has no effect.

Node template:



And result:
The functionality you are looking for does not (as right now) exist in the version of the module you have linked to.

Therefore you will not be able to set the background image of the Word document without making modifications to the module. 

This would be non-trivial as your modified module would have to do the following:


parse the CSS of the page to determine what image should be displayed
load the image and embed it in a format that Microsoft Word can understand
set the necessary tags in the Word document to use the embed image