Focal Point
[CLOSED]Why the order of files in the compound starting display differently on pdf?

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

April 21, 2016, 11:58 AM
TechLights
[CLOSED]Why the order of files in the compound starting display differently on pdf?
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
April 21, 2016, 12:08 PM
MartinY
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
April 25, 2016, 05:23 PM
<Emily McAllister>
Hi,

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

Emily McAllister
Focal Point Moderator
May 01, 2016, 07:55 AM
StuBouyer
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)