Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Image layer (Z-INDEX) issue in pdf compound report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Image layer (Z-INDEX) issue in pdf compound report
 Login/Join
 
Platinum Member
posted
I have the image working, and it is showing over the top of all the static report components (style data) like I want. But the actual report data is showing over the image. Here is the entire report:

SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='0.5^.1^0.5^.1', MERGE=OFF, ORIENTATION=LANDSCAPE, PAGESIZE=Legal, $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='0^0.5^0^0.5', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.500 0.094), 
DIMENSION=(12.995 8.316), METADATA='Z-INDEX: 1; LEFT: 0.5in; WIDTH: 12.995in; POSITION: absolute; TOP: 0.094in; HEIGHT: 8.316in', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.563 1.000), 
DIMENSION=(6.353 3.397), METADATA='Z-INDEX: 2; LEFT: 0.563in; WIDTH: 6.353in; POSITION: absolute; TOP: 1in; HEIGHT: 3.397in', $
COMPONENT='report3', TEXT='report3', TOC-LEVEL=2, POSITION=(0.500 4.417), 
DIMENSION=(6.377 3.713), METADATA='Z-INDEX: 3; LEFT: 0.5in; WIDTH: 6.377in; POSITION: absolute; TOP: 4.417in; HEIGHT: 3.713in', $
COMPONENT='report4', TEXT='report4', TOC-LEVEL=2, POSITION=(6.958 1.000), 
DIMENSION=(6.420 3.374), METADATA='Z-INDEX: 4; LEFT: 6.958in; WIDTH: 6.42in; POSITION: absolute; TOP: 1in; HEIGHT: 3.374in', $
COMPONENT='report5', TEXT='report5', TOC-LEVEL=2, POSITION=(6.979 4.375), 
DIMENSION=(6.459 3.648), METADATA='Z-INDEX: 5; LEFT: 6.979in; WIDTH: 6.459in; POSITION: absolute; TOP: 4.375in; HEIGHT: 3.648in', $
OBJECT=IMAGE, NAME='image1', IMAGE=lme5j9rw.gif, POSITION=(4.146 1.344), DIMENSION=(6.021 5.833), $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE app/testibihead
SET COMPONENT='report2'
-*component_type report
-INCLUDE app/testibi
SET COMPONENT='report3'
-*component_type report
-INCLUDE app/trans_left1
SET COMPONENT='report4'
-*component_type report
-INCLUDE app/trans_left_bottom1
SET COMPONENT='report5'
-*component_type report
-INCLUDE app/trans_right1
COMPOUND END



And here is what the output looks like:



I have tried TOC, Z-INDEX, moving the image=object tag to the top, to the bottom, etc.

No matter what I do the report data is always over the watermark.

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


prod: WF 7.7.03 platform IIS on Windows 2007, databases: Oracle, , MSSQL

 
Posts: 133 | Location: Orlando, FL | Registered: August 04, 2005Report This Post
Expert
posted Hide Post
It appears you have alternating background colours defined for the data rows. If you use background colours for Excel reports (fill colour in Excel), you do not see the cell grid - this is normal Excel behaviour.

I wonder if you are experiencing a similar issue with PDF reports - try temporarily removing the data rows background colours.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Thats it Francis. If I comment out the background color line then the image is over the top of the report data.

Now that I know what the problem is, is there a solution? I still need the table rows to alternate colors.


prod: WF 7.7.03 platform IIS on Windows 2007, databases: Oracle, , MSSQL

 
Posts: 133 | Location: Orlando, FL | Registered: August 04, 2005Report This Post
Expert
posted Hide Post
I have no experience with this new-fangled Compound PDF report syntax, but if you're using z-index to set the stack order, can you use
z-index: 99;
to bring the image layer to the top?


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
I tried z-index and no matter what the style is applied last.

Maybe put the style in an include and call it before the image is called?

Maybe use a image for the background color instead of RGB code?

I will keep messing with it.


prod: WF 7.7.03 platform IIS on Windows 2007, databases: Oracle, , MSSQL

 
Posts: 133 | Location: Orlando, FL | Registered: August 04, 2005Report This Post
Expert
posted Hide Post
I'd open a case with Tech Support


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
z-index is html only, and won't work on PDF.

Greg, how are you doing the alternate colours ?

Although I don't know it it will work, have you tried creating a counter that goes 1 2 1 2 1 2, and set up the stylesheet to colour according the the number ?


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!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Waz, I think there's some HTML stuff going on under the covers:

SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
...
DIMENSION=(12.995 8.316), METADATA='Z-INDEX: 1; LEFT: 0.5in; WIDTH: 12.995in; POSITION: absolute; TOP: 0.094in; HEIGHT: 8.316in', $
...


I'm sure that wasn't hand-coded.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Francis, the html stuff is for html only, if you are producing PFG, you don't need it.

I have some PDF reports, and have completely removed the html stuff.

The HTML stuff may also be used by Dev Studio.


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!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
Greg you got the solution for this issue?
I'm also facing the same issue; Image is going to background in PDF report.
z-index is not working in PDF report to bring the image to front.

-Satish


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 9 | Registered: June 06, 2011Report This Post
Platinum Member
posted Hide Post
I ended having to make a compound PDF report to get it to work. The heading is a small fex that only contains the code to the image.
The bottom of the report is the data. The output is a pdf report where you can see the image (logo) in the header.


prod: WF 7.7.03 platform IIS on Windows 2007, databases: Oracle, , MSSQL

 
Posts: 133 | Location: Orlando, FL | Registered: August 04, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Image layer (Z-INDEX) issue in pdf compound report

Copyright © 1996-2020 Information Builders