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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Why the order of files in the compound starting display differently on pdf?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Why the order of files in the compound starting display differently on pdf?
 Login/Join
 
Silver Member
posted
Hi,
Our compound report includes five reports and the order has been decided by our user and has been correctly displayed for about two years.

Please see the code below, any idea? Thanks!

By the way, a WF patch was applied recently, we don’t know if they are related or not.

--------------------------------------------
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, MERGE=ON, ORIENTATION=LANDSCAPE,
PAGESIZE=Letter, $

PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1',
TOC-LEVEL=1, BOTTOMMARGIN=0.2, TOPMARGIN=0.2, $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=1,
POSITION=(0.400 0.200), DIMENSION=(* *), $

PAGELAYOUT=2, NAME='Page layout 2', text='Page layout 2',
TOC-LEVEL=1, BOTTOMMARGIN=0.2, TOPMARGIN=0.2, $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2,
POSITION=(2.50 0.200), DIMENSION=(* *), $
RELATIVE-TO='report1', RELATIVE-POINT=BOTTOM-LEFT,
POSITION-POINT=TOP-LEFT, $

PAGELAYOUT=3, NAME='Page layout 3', text='Page layout 3',
TOC-LEVEL=1, BOTTOMMARGIN=0.2, TOPMARGIN=0.2, $
COMPONENT='report3', TEXT='report3', TOC-LEVEL=2,
POSITION=(0.380 0.200), DIMENSION=(* *), $
RELATIVE-TO='report2', RELATIVE-POINT=BOTTOM-LEFT,
POSITION-POINT=TOP-LEFT, $

PAGELAYOUT=4, NAME='Page layout 4', text='Page layout 4',
TOC-LEVEL=1, BOTTOMMARGIN=0.2, TOPMARGIN=0.2, $
COMPONENT='report4', TEXT='report4', TOC-LEVEL=2,
POSITION=(0.500 0.200), DIMENSION=(* *), $
RELATIVE-TO='report3', RELATIVE-POINT=BOTTOM-LEFT,
POSITION-POINT=TOP-LEFT, $

PAGELAYOUT=5, NAME='Page layout 5', text='Page layout 5',
TOC-LEVEL=1, BOTTOMMARGIN=0.2, TOPMARGIN=0.2, $
COMPONENT='report5', TEXT='report5', TOC-LEVEL=2,
POSITION=(0.200 0.200), DIMENSION=(* *), $
RELATIVE-TO='report3', RELATIVE-POINT=BOTTOM-LEFT,
POSITION-POINT=TOP-LEFT, $
END

SET COMPONENT='report1'
SET FOCFIRSTPAGE = 1
-INCLUDE app/report_awc.fex
SET COMPONENT='report2'
SET FOCFIRSTPAGE = 1
-INCLUDE app/report_abc.fex
SET COMPONENT='report3'
SET FOCFIRSTPAGE = 1
-INCLUDE app/report_acd.fex
SET COMPONENT='report4'
SET FOCFIRSTPAGE = 1
-INCLUDE app/report_ade.fex
SET COMPONENT='report5'
SET FOCFIRSTPAGE = 1
-INCLUDE app/report_aew.fex

COMPOUND END
--------------------------------------------

This message has been edited. Last edited by: <Emily McAllister>,


7703 on Linux, Windows
ReportCaster
PDF, HTML, Excel, AHTML, and CSV
 
Posts: 40 | Registered: January 31, 2008Report This Post
Virtuoso
posted Hide Post
Where is the code for the positioning of the elements ?

Have you compared a backup (hope you have) of the code prior to the update and the actual code ? May be a starting point.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2410 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
<Emily McAllister>
posted
Hi,

Was the order correct for non-PDF output? What patch did you apply?

Emily McAllister
Focal Point Moderator
 
Report This Post
Guru
posted Hide Post
You appear to have both separate pages and have set the position of each report as "relative-to" the previous report.

Except you also have Report 4 and Report 5 both relative to Report 3.

Has the amount of data in either Report 4 (app/report_ade.fex) or Report 5 (app/report_aew.fex) changed? If so the auto-sizing may be getting confused.

Assuming that you want Report 5 to follow Report 4, try changing the code "RELATIVE-TO='report3'," part of the PAGELAYOUT=5 code to read "RELATIVE-TO='report4',"

That should hopefully get things back in order

Cheers

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report 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]Why the order of files in the compound starting display differently on pdf?

Copyright © 1996-2020 Information Builders