Focal Point
[CLOSED] pdf drill down

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

February 20, 2012, 11:19 AM
BI_Developer
[CLOSED] pdf drill down
Hi

One of my reports is in both html and pdf formats and has drill downs. If I use _blank as TARGET, in HTML it opens up in new window but for PDF it opens in the same window. Is this how its supposed to work? If so, is there any way to make it open in new page. The problem is, if it open in the same how can a user go back to original report? Should a hyperlink be created or something similar? Before doing this I wanted to know if there is any way to make drill down open in new page for PDF.

Thank you

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


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
February 20, 2012, 03:36 PM
Waz
Can you post some sample code please ?


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 20, 2012, 03:44 PM
BI_Developer
Hi Waz, here is the code..

quote:
Originally posted by Waz:
Can you post some sample code please ?


  
TABLE FILE CAR
PRINT 
     CAR
     COUNTRY
     SALES
ON TABLE SUMMARIZE AS 'TOTAL'
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='TIMES NEW ROMAN',
     SIZE=10,
$
TYPE=GRANDTOTAL,
     TARGET='_blank',
     URL=HTTP://GOOGLE.COM,
$
ENDSTYLE
END



In the above code, if we click the drill down, new window opens as the TARGET is _blank. If output format is changed to PDF from HTML, drill down opens in the same page. Is there a way to make it open in new page like it does for HTML?

Thank you..


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
February 20, 2012, 04:18 PM
Waz
I don't think its supported in PDF.

Have you checked the documentation ?

I would also suggest asking Techsupport.


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 20, 2012, 06:08 PM
j.gross
Documentation states:

quote:
The following StyleSheet features are not supported with PDF ... :

JAVASCRIPT (drill down to JavaScript)
TARGET
COLSPAN
IMAGEALIGN
IMAGEBREAK
PAGEMATRIX, GUTTER




I don't think the COLSPAN exclusion is correct.
February 20, 2012, 06:16 PM
Waz
Good point, Jack, RTFM.


I think the COLSPAN depends on the version.


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 21, 2012, 08:10 AM
Greg G
You can set Adobe to Display PDF in Browser from Edit-Preferences-Internet. With this you will get the back button with the PDF displayed in a browser window
February 21, 2012, 10:32 AM
j.gross
quote:
I think the COLSPAN depends on the version.


Basically depends on whether HEADALIGN=BODY is supported.