Focal Point
Watermark

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8931006982

June 27, 2008, 02:29 PM
shravan
Watermark
Can somebody please tell me how to set an image as watermark (for PDFs)?

Thanks.


7.7.03, Windows 7, SQL Server 2005
June 27, 2008, 02:35 PM
LEX-IA
Shravan,

This is what I found doing a search on technical support:
http://techsupport.informationbuilders.com/sps/72171078.html

Hope this helps

Cynthia


PROD: WebFOCUS 7.1.0 on Linux/Tomcat 5.5.12 (standalone)/Informix on AIX
TEST: WebFOCUS 7.1.3 on Linux/Tomcat 5.5.16 (standalone)/Informix on AIX
June 27, 2008, 02:39 PM
shravan
Cynthia,

This works for HTML output format, but not for PDF(for me). Am I doing anything wrong ?


7.7.03, Windows 7, SQL Server 2005
June 27, 2008, 02:42 PM
LEX-IA
HI again,

Sorry about that, Backimage only works with HTML..

Here is another post i found: https://forums.informationbuilders.com/eve/forums/a/tpc/...1057331/m/8801091851


PROD: WebFOCUS 7.1.0 on Linux/Tomcat 5.5.12 (standalone)/Informix on AIX
TEST: WebFOCUS 7.1.3 on Linux/Tomcat 5.5.16 (standalone)/Informix on AIX
June 27, 2008, 03:06 PM
shravan
Hi,

This way the image is going behind the report area. It is visible only where there is no data.


7.7.03, Windows 7, SQL Server 2005
June 27, 2008, 03:19 PM
LEX-IA
Hi,

Do you want the image to be present all the time? If yes then with the example the data and the image shows. What you can do for the watermark effect is maybe adjust the colors of your image for them to be as light was possible therefore not affecting readability...

Cynthia


PROD: WebFOCUS 7.1.0 on Linux/Tomcat 5.5.12 (standalone)/Informix on AIX
TEST: WebFOCUS 7.1.3 on Linux/Tomcat 5.5.16 (standalone)/Informix on AIX
June 27, 2008, 04:22 PM
shravan
Cynthia,

For me the image is going under the report (it is not visible).


7.7.03, Windows 7, SQL Server 2005
June 27, 2008, 04:32 PM
Alan B
See if this nice piece from Mickey helps.


Alan.
WF 7.705/8.007
June 27, 2008, 04:56 PM
shravan
Actually this is working. Thanks a lot Alan. Thank you very much Cynthia.

I used
 
$
TYPE=REPORT,
OBJECT = IMAGE,
IMAGE=WATERMARK.JPG,
POSITION = (2 2),
 
,

(Cynthia,
Part of my problem [image going behind the report] was caused by the style sheet I was using.)

This message has been edited. Last edited by: shravan,


7.7.03, Windows 7, SQL Server 2005
June 28, 2008, 04:50 PM
Charlz
Would making the data's background style = TRANSPARENT help, so that the image would shine through the data ?


WF 7.6.4 & 5.3
Charles Lee
June 29, 2008, 01:53 PM
susannah
quote:
TRANSPARENT

or the other way around...
make the gif a transparent one
and a very light gray
and then it will lay on top of the report
a good idea for things like
'DRAFT'




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
June 29, 2008, 03:48 PM
Charlz
Right.
Depends on which is in the foreground.

Does WF have a 'Move to Back' or 'Move to Front' ?

I think that whichever is in front being transparent accomplishes what shravan originally wanted to do ?


WF 7.6.4 & 5.3
Charles Lee
June 29, 2008, 05:25 PM
susannah
if your output is ONLY html
then you can use html language, and absolute positioning to put the image on the output first, with a zindex of , say, -1, and the table on the output on top with a zindex of , say, 1.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
June 30, 2008, 11:29 AM
Darin Lee
There really isn't much concept of move to back or move to front. The order things appear in the stylesheet basically determine the order that things are overlayed. An object placed nearest the end of a stylesheet would overlay an earlier object if size/position/color conflicted.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
June 30, 2008, 12:36 PM
susannah
-HTMLFORM BEGIN
<HTML>
<DIV  STYLE="position:absolute;top:10;left:10;z-index:-1"> 
<IMG SRC="...watermark.gif">
</div>
<div STYLE="position:absolute;top:10;left:10;z-index:1"> 
!IBI.FIL.MYTABLE;
</DIV>
</HTML>
-HTMLFORM END

all day long...




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID