Focal Point
[CLOSED] Vertical line in PDF

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

July 21, 2011, 06:57 AM
Jan1
[CLOSED] Vertical line in PDF
Hi,

I need to create vertical lines in subhead of a compound PDF report. since the subhead has multiple fields/items iam not able to use BORDER-LEFT=On etc.

please find the image here :

http://tinypic.com/r/mipg6e/7

currently iam using the below snippet of code. but this is not the right way and the lines look messy,

  
TYPE=SUBHEAD, BY=THREE,BORDER=MEDIUM,BORDER-COLOR='BLACK',SIZE=22,STYLE=BOLD,$

TYPE=SUBHEAD, BY=THREE,LINE=1, ITEM=1,JUSTIFY=CENTER,SQUEEZE=2.7,$
TYPE=SUBHEAD, BY=THREE,LINE=1, ITEM=2,BACKCOLOR=RGB(150 150 150),JUSTIFY=CENTER,SQUEEZE=7.4,$
-*OBJECT=box, name='line1', position = (0.250 10.90), dimension = (10.0 0.005), backcolor=NAVY, border-color=NAVY,$
TYPE=SUBHEAD, BY=THREE,LINE=1, ITEM=3, BACKCOLOR=BLACK,WIDTH=0.05,$
TYPE=SUBHEAD, BY=THREE,LINE=1, ITEM=4, BACKCOLOR=RGB(160 160 160),JUSTIFY=CENTER,SQUEEZE=2.82,$


can anyone help me in creating these vertical lines . Also the data is dynamic , hence when i give the position for the x and y co-ordinates , the next report in the pdf gets altered.

Thanks!

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


WebFOCUS 7.6.9
Windows
Excel, HTML, PDF
July 21, 2011, 05:44 PM
Waz
Your picure did not show up.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

July 22, 2011, 12:49 AM
Jan1
Sorry, i have given the link now .

Thanks!


WebFOCUS 7.6.9
Windows
Excel, HTML, PDF
July 22, 2011, 11:59 AM
Doug
Check out the use of BORDER-RIGHT, BORDER-LEFT, BORDER-etc... in the TYPE=HEADING section of your stylesheet.
July 28, 2011, 01:17 AM
Jan1
Hi,

its all ib subheadings . Using border-right , border-left did not have any effect on it.
any other resolution ?

Thanks!
janani


WebFOCUS 7.6.9
Windows
Excel, HTML, PDF
July 28, 2011, 08:29 AM
dburton
The border options work whether it is a SUBHEAD or a HEADING. I use this option in 5 different reports. I pasted some code below from one of those 5 reports.

TYPE=SUBHEAD,
     BY=1,
     LINE=1,
     OBJECT=TEXT,
     ITEM=1,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     BORDER-TOP-STYLE=SOLID,
     BORDER-BOTTOM-STYLE=SOLID,
     BORDER-LEFT-STYLE=SOLID,
     BORDER-RIGHT-STYLE=SOLID,
     BORDER-TOP-COLOR='BLACK',
     BORDER-BOTTOM-COLOR='BLACK',
     BORDER-LEFT-COLOR='BLACK',
     BORDER-RIGHT-COLOR='BLACK',
     COLSPAN=1,
     JUSTIFY=LEFT,
$



WebFOCUS 7.7.03
Windows Web Server 2008
MS SQL Server 2000
Excel,CSV,PDF,HTML