Page 1 of 1

Both watermark and header in the same document

PostPosted: Wed May 07, 2014 9:09 pm
by Murthy
Hi Jason,
I am trying to create a document with a header as well as a watermark.. When I try to create two separate header parts according to the following code,

Relationship relationship = createHeaderPart();
createHeaderReference(relationship);
Relationship relationship1 = Watermark.createHeaderPart(wordMLPackage);
Watermark.createHeaderReference(wordMLPackage, relationship1);

I am getting only the watermark and not the header as the watermark overrides the first header part.. How do I go about this??
Thanks in advance..