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]conditional formatting in compound PDF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]conditional formatting in compound PDF
 Login/Join
 
Silver Member
posted
Hi,

I am using Composer for designing one PDF report. I want to display one text message in all the page other than last page. Currently i am displaying that text in Master page.

Can any one know how to do these kind of conditions in Compound PDF?

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


----------------------------------
Prod Version:WebFocus 8.1.05,OS:Unix ,Output:ALL
 
Posts: 29 | Location: North Carolina | Registered: August 26, 2008Report This Post
Master
posted Hide Post
Please share the existing functionality using CAR sample.
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
<Emily McAllister>
posted
Hello Surenther,

This is possible using the WHEN command and TABPAGENO, a variable which keeps track of what page the PDF is on.
Take a look at this SPS, which explains how to control subheaders and subfooters conditionally:

How to display a subhead on first page, subfoot on last page

You should be able to modify this code to fit your needs.

Please let me know if you need additional assistance.
Emily McAllister
Focal Point Moderator
 
Report This Post
Silver Member
posted Hide Post
Hi Emily,

Thanks for your help. But TABPAGENO is working for normal PDF not for compound PDF.

Here is the structure of my compound PDF. I want to change the Page Header information only for the last page (ie Disclaimer)

 SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.2^Margins_Top=0.2^Margins_Right=0.2^Margins_Bottom=0.2^thumbnailscale=4', MERGE=ON, ORIENTATION=LANDSCAPE, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=ALL, NAME='Page Master', $
OBJECT=STRING, NAME='text0_4', TEXT='Page  <ibi-page-number/> of  <ibi-total-pages/>', POSITION=(9.75 8.35), WRAP=OFF, DIMENSION=(5.417 0.250), FONT='AVENIR35', COLOR=RGB(0 0 0),  SIZE=8,STYLE=NORMAL, $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.2 0.142), DIMENSION=(* *), METADATA='HEIGHT: 0.687in; WIDTH: 10.593in; POSITION: absolute; LEFT: 0.208in; Z-INDEX: 100; TOP: 0.042in', $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.25, TOPMARGIN=1, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.2 1.2), DIMENSION=(* *), METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 3.958in; HEIGHT: 1.771in; OVERFLOW: auto; TOP: 0in; LEFT: 0.728in', $
COMPONENT='report3', TEXT='report3', TOC-LEVEL=2, POSITION=(0.2 -0.2), DIMENSION=(* 9.375), OVERFLOW-POSITION=(0.200 1.000), OVERFLOW-DIMENSION=(* 9.375), RELATIVE-TO='report2',RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, ARREPORTSIZE=DIMENSION, METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 3.958in; HEIGHT: 1.771in; OVERFLOW: auto; TOP: 0in; LEFT: 0.728in', $

PAGELAYOUT=2, NAME='Page layout 2', text='Page layout 2', TOC-LEVEL=1, BOTTOMMARGIN=0.25, TOPMARGIN=1, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report4', TEXT='report4', TOC-LEVEL=2, POSITION=(0.2 1.2), DIMENSION=(* *), METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 3.958in; HEIGHT: 1.771in; OVERFLOW: auto; TOP: 0in; LEFT: 0.728in', $
END

SET COMPONENT='report1'
-INCLUDE Page_header_Master.fex

SET COMPONENT='report2'
-INCLUDE Summary_report.fex

SET COMPONENT='report3'
-INCLUDE Detail_Report.fex

SET COMPONENT='report4'
-INCLUDE Disclaimer.fex

COMPOUND END 


Please note, i am already using ibi-page-number and ibi-total-pages for displaying page number. is there anyway to get these as a variable or Field?

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


----------------------------------
Prod Version:WebFocus 8.1.05,OS:Unix ,Output:ALL
 
Posts: 29 | Location: North Carolina | Registered: August 26, 2008Report This Post
Silver Member
posted Hide Post
Opened a case. closing this thread


----------------------------------
Prod Version:WebFocus 8.1.05,OS:Unix ,Output:ALL
 
Posts: 29 | Location: North Carolina | Registered: August 26, 2008Report 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]conditional formatting in compound PDF

Copyright © 1996-2020 Information Builders