How do you turn borders on in and OBJECT=STRINg text box? I tried BORDER=ON and other things and I can't get it to work.This message has been edited. Last edited by: Kerry,
I don't believe the BORDER keyword is supported with OBJECT. However, HTML markup is supported (thus MARKUP=ON), so you could try adding a border with the DIV tag and an in-line border attribute.
TABLE FILE CAR
PRINT
CAR
COUNTRY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
HEADING
"Header text 1"
"Header text 2"
"Header text 3"
" "
FOOTING BOTTOM
"Footer text 1"
"Footer text 2"
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, PAGESIZE='LETTER', ORIENTATION=LANDSCAPE, LEFTMARGIN=0.25, RIGHTMARGIN=0.25, $
TYPE=HEADING, JUSTIFY=CENTER, $
TYPE=FOOTING, LINE=1,JUSTIFY=LEFT, $
TYPE=FOOTING, LINE=2,JUSTIFY=RIGHT, $
OBJECT=BOX, POSITION=(0.15 7.75),DIMENSION=(2 0.25),$
OBJECT=BOX, POSITION=(9.15 7.95),DIMENSION=(1.75 0.25),$
OBJECT=BOX, POSITION=(0.15 0.25),DIMENSION=(10.5 0.6), COLOR=RGB(121 121 121), $
OBJECT=LINE, POSITION=(6.5 3.77),DIMENSION=(2 0),$
OBJECT=STRING, TEXT='Sample Floating Text', POSITION=(6.5 3.75), $
ENDSTYLE
END
OBJECT=STRING/BOX/LINE are supported in TABLE FILE request from 7.1.6 onwards. Not sure about prior release.
You can use OBJECT=BOX in PDF Layout Painter(Document Composer) too.This message has been edited. Last edited by: Ram Prasad E,
My suggestion in my earlier post of using a DIV tag with an in-line border attribute does not work. Ram's suggestion of using OBJECT=BOX is probably the way to go. Here is the syntax for OBJECT=BOX.
I agree with Dan regarding the "OBJECT=BOX". However, keep in mind that this is a statically placed BOX, So, if your output is not static (all data always in a specific place) then this will not work. However, 7.6.11 and "8" will have some enhancement to HEADINGs and FOOTINGs... Check out the "WebFOCUS Release 7.7 Highlights" webinar which should be available on the IB site (original Air date: Thursday, April 8th, 2010 @ 11:00 a.m. Eastern Time).