[CASE-OPENED]Document Composer: MERGE=ON loses the Page Master
Hi guys,
Is there something about MERGE=ON and the Page Master that I am missing? When I set MERGE=ON, I lose the Heading (set at Page Master). I see it just fine when MERGE=OFF.
Here's the code:
SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5', MERGE=ON, ORIENTATION=PORTRAIT, PAGESIZE=Letter, $
PAGELAYOUT=ALL, NAME='Page Master', $
OBJECT=STRING, NAME='text1', TEXT='<font face="ARIAL" size=10>This is the Header <BR> <BR>Header Line 2 </font>', POSITION=(4.000 0.550), MARKUP=ON, WRAP=ON, DIMENSION=(4.000 0.700), style=bold, METADATA='', $
COMPONENT='DfltCmpt1', POSITION=(0 0), DIMENSION=(0 0), $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.520 2.624), DIMENSION=(* *), METADATA='Z-INDEX: 100; LEFT: 0.52in; OVERFLOW: auto; WIDTH: 2.917in; POSITION: absolute; TOP: 0.624in; HEIGHT: 2.708in', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(+5.0 -1.5), DIMENSION=(* *), RELATIVE-TO='report1', RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, METADATA='Z-INDEX: 100; LEFT: 3.961in; OVERFLOW: auto; WIDTH: 2.706in; POSITION: absolute; TOP: 0.728in; HEIGHT: 2.713in', $
END
-*
SET COMPONENT='DfltCmpt1'
TABLE FILE CAR
SUM CAR NOPRINT
BY COUNTRY NOPRINT
IF READLIMIT EQ 1
ON TABLE SET PREVIEW ON
ON TABLE SET PAGE-NUM NOLEAD
END
SET COMPONENT='report1'
TABLE FILE CAR
PRINT CAR
BY COUNTRY NOPRINT
ON COUNTRY SUBHEAD
"Country: <COUNTRY"
ON TABLE SET PAGE NOPAGE
END
-*
SET COMPONENT='report2'
TABLE FILE CAR
PRINT
SALES/D9.2 AS SALES
BY COUNTRY NOPRINT
ON COUNTRY SUBHEAD
"Country: <COUNTRY"
ON TABLE SET PAGE NOPAGE
END
COMPOUND END
This message has been edited. Last edited by: Anatess,
WF 8.1.05 Windows
June 05, 2014, 05:34 AM
Ram Prasad E
Try this. I removed Master pagelayout and added OBJECT=STRING under pagelayout=1. It works fine.
Any word on your case. I to am needing a master so that overflow items will have the required Items on the page.
Scott
July 21, 2014, 07:25 PM
<Kathryn Henning>
Hi TexasStingray,
The issue that Anatess reported is still in programming. There isn't a direct known work-around. Using MERGE=OFF prevents the issue from occurring but then doesn't allow for merging.