Focal Point
[CLOSED] pdf titletext alternative

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

September 04, 2012, 01:41 PM
J
[CLOSED] pdf titletext alternative
In WebFOCUS is there an alternative to the titletext styling attribute for pdf formats?
I found this, but this still shows the webfocus tab title and only renames the pdf file that is opened.

Thanks in advance, J

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


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
September 06, 2012, 03:08 PM
J
Is there any way to change the tab title for a PDF?


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
September 06, 2012, 03:45 PM
Francis Mariani
What is the "tab title" in a PDF report?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
September 06, 2012, 04:29 PM
J
I'm sorry, I was referring to the browser tab title. And when I said webfocus tab title, I meant the browser tab title that goes something like 'WebFOCUS Reporting...'


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
September 06, 2012, 05:11 PM
Francis Mariani
Unfortunately, I haven't found a way to change the name of the browser window with a PDF displayed within.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
September 11, 2012, 12:59 PM
J
Yea, its not like html where you can do titletext or put tags into defined fields (even javascript)

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


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
September 11, 2012, 03:33 PM
Tony A
You could try this -

TABLE FILE IBISAMP/CAR
  SUM RCOST
      DCOST
   BY COUNTRY
   BY CAR
   BY MODEL
ON TABLE SET PAGE NOLEAD
ON TABLE HOLD AS baseapp/mypdf FORMAT PDF
END
-RUN

SET HTMLFORMTYPE = TXT
-HTMLFORM BEGIN
<html>
<head>
<title>My new browser title</title>
</head>
<object type="application/pdf" data="http://localhost:8080/approot/baseapp/mypdf.pdf" style="width:100%; height:100%;"></object>
</html>
-HTMLFORM END

The downside is placing the file in a location accessible to the HTML page, but that may suit your purposes?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
September 18, 2012, 09:11 AM
J
I am not sure we could do that because the files I am concerned about are from the MRE restricted to certain users...These files are the output at the end of a complicated app. However, this is useful for some of the other types of reports we have.


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
September 18, 2012, 02:08 PM
J
The pdf in particular has some sensitive info. Maybe I could call an html and display the pdf in a frame, but it doesn't seem like that would work. From the app, the user clicks on an icon to run the pdf report and parameters are then passed to the pdf fex.


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs