Focal Point
[SOLVED] BORDER-BOTTOM-STYLE=DASHED,

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

February 04, 2010, 07:28 AM
RAVNEET
[SOLVED] BORDER-BOTTOM-STYLE=DASHED,
Hi,
I am using BORDER-BOTTOM-STYLE=DASHED, for highlighting some data in my PDF report. But the problem is that the dashed line is not caring for leftmargin and starts from before the desired position.
How can i adjust the left margin for the dashed line?

Thanks,
Ravneet

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


WebFOCUS 7.6.1
Windows
All Outputs
February 04, 2010, 10:26 AM
njsden
Can you please provide a short example of what you're trying to accomplish and that illustrates the issue you describe?. Please use the CAR table so anyone of us can run your sample code as is in our own environments.

Regards,
- Neftali.

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



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
February 04, 2010, 12:27 PM
Doug
I'd like to see that as well... I seen stuff like that and may have a work-around for you...




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
February 04, 2010, 03:29 PM
Waz
So do I.


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!

February 04, 2010, 11:17 PM
RAVNEET
code with CAR example is below

TABLE FILE CAR
PRINT COUNTRY
CAR
MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
PAGESIZE='A4',
$
TYPE=DATA,
STYLE=BOLD,
BORDER-BOTTOM=MEDIUM,
BORDER-BOTTOM-STYLE=DASHED,
WHEN= COUNTRY EQ 'ENGLAND',
$
END

and i need output like below

COUNTRY CAR MODEL
ENGLAND JAGUAR V12XKE AUTO
-----------------------------------
ENGLAND JAGUAR XJ12L AUTO
-----------------------------------
ENGLAND JENSEN INTERCEPTOR III
-----------------------------------
ENGLAND TRIUMPH TR7
-----------------------------------
JAPAN DATSUN B210 2 DOOR AUTO
JAPAN TOYOTA COROLLA 4 DOOR DIX AUTO
ITALY ALFA ROMEO 2000 4 DOOR BERLINA
ITALY ALFA ROMEO 2000 GT VELOCE
ITALY ALFA ROMEO 2000 SPIDER VELOCE
ITALY MASERATI DORA 2 DOOR
W GERMANY AUDI 100 LS 2 DOOR AUTO
W GERMANY BMW 2002 2 DOOR
W GERMANY BMW 2002 2 DOOR AUTO
W GERMANY BMW 3.0 SI 4 DOOR
W GERMANY BMW 3.0 SI 4 DOOR AUTO
W GERMANY BMW 530I 4 DOOR
W GERMANY BMW 530I 4 DOOR AUTO
FRANCE PEUGEOT 504 4 DOOR

but the dashed line is not starting exactly from ENGLAND but two extra dashes coming before ENGLAND.
eg ENGLAND JAGUAR V12XKE AUTO
---------------------------------

This message has been edited. Last edited by: RAVNEET,
February 04, 2010, 11:49 PM
Waz
The issue is with the left gap of the column.

TABLE FILE CAR
PRINT COUNTRY
CAR
MODEL 
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
PAGESIZE='A4',
$
TYPE=REPORT, COLUMN=COUNTRY, LEFTGAP=0, $
TYPE=DATA,
STYLE=BOLD,
BORDER-BOTTOM=MEDIUM,
BORDER-BOTTOM-STYLE=DASHED,
WHEN= COUNTRY EQ 'ENGLAND',
$
END



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!

February 05, 2010, 12:01 AM
RAVNEET
Thanks Waz.


WebFOCUS 7.6.1
Windows
All Outputs