Search This Blog

Friday, July 15, 2011

Conditional Water Mark in RTF template

1. Use ifelse condition to decide.
xdoxslt:ifelse(.//CF_DUP_FLAG='Y','DUPLICATE','')
this condition specifies, if CF_DUP_FLAG is 'Y' then DUPLICATE else NULL
2. Assign to variable to wMark (this is seeded variable)
<xsl:variable name="wMark" select="xdoxslt:ifelse(.//CF_DUP_FLAG='Y','DUPLICATE','')"/>
3. Assign this variable to Water mark text field in RTF.
In Word 2007: Page Layout --> Watermark --> Custom Water Mark --> Text Watermark --> Text







Watermark Over the Text:
To get water mark over the text, follow the steps below:
1. Insert --> Header --> Edit Header
2. Select the watermark and double click. you will get word art options.
3. Use 'Bring to Front' option to get watermark on top of text.

Download sample RTF from here: Sample RTF
Reference:
http://forums.oracle.com/forums/thread.jspa?messageID=2183469

6 comments:

  1. Hi vijay , the attached sample RTF is not available..can u provide it?

    ReplyDelete
  2. Hi vijay , the attached sample RTF is not available..can u provide it please?

    ReplyDelete
  3. Hi Vijay,
    Could you please provide the RTF.

    ReplyDelete
  4. Hi Vijay,
    Can you please provide the RTF

    ReplyDelete