Focal Point
[SOLVED] Compound Document - Header Image on all pages

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

October 24, 2017, 01:36 PM
Enigma006
[SOLVED] Compound Document - Header Image on all pages
Hello

I have not worked on compound reports before. I am creating one with 3 reports in the tool. I added each report on each new page and set size as overflow.

There need to be a header image on all pages. So, I added a Master page and inserted image there. But with this, report is coming over the image in the overflow pages. Page which each report starts looks fine.

Am I missing something?

Please suggest.

Thanks

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


8.1.05
HTML,PDF,EXL2K, Active, All
October 24, 2017, 01:56 PM
MartinY
Insert a Master Page, then add your image on top of it.
Then in the following page add your report but starting AFTER the end position of the image in the MasterPage.
Meaning that if your image is position at (0.5;0.5) and have 1 inch height, your report should not start before position y=1.5


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
October 24, 2017, 02:05 PM
Enigma006
quote:
Originally posted by MartinY:
Insert a Master Page, then add your image on top of it.
Then in the following page add your report but starting AFTER the end position of the image in the MasterPage.
Meaning that if your image is position at (0.5;0.5) and have 1 inch height, your report should not start before position y=1.5


Martin

Thanks for the reply. I made sure about this before posting here. Can you please check the code and let me know of any issue?
-* Default Mode: ResourceLayout
SET HTMLARCHIVE=ON
*-HOLD_SOURCE
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=ALL, NAME='Page Master', $
OBJECT=IMAGE, NAME='image1', IMAGE=logo.gif, ALT='', POSITION=(2.000 0.500), DIMENSION=(4.717 1.000), METADATA='left: 2in; top: 0.5in; width: 4.717in; height: 1in; position: absolute; z-index: 3; rtFileName=/WFC/Repository/Logos/logo.gif', $
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.650 2.500), DIMENSION=(* *), BYTOC=0,  ARREPORTSIZE=DIMENSION, METADATA='left: 0.65in; top: 2.5in; width: 7.417in; height: 3.417in; position: absolute; z-index: 2;', $
OBJECT=STRING, NAME='text1', TEXT='<font face="TREBUCHET MS " size=10>Heading1</font>', POSITION=(0.650 2.200), MARKUP=ON, WRAP=ON, DIMENSION=(3.167 0.250),  METADATA='left: 0.65in; top: 2.2in; width: 3.167in; height: 0.25in; font-family: Trebuchet MS; font-size: 10pt; position: absolute; z-index: 4; -ms-word-wrap: break-word;', $
PAGELAYOUT=2, NAME='Page layout 2', text='Page layout 2', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.566 2.217), DIMENSION=(* *), BYTOC=0,  ARREPORTSIZE=DIMENSION, METADATA='left: 0.566in; top: 2.217in; width: 7.417in; height: 3.986in; position: absolute; z-index: 4;', $
OBJECT=STRING, NAME='text2', TEXT='<font face="TREBUCHET MS " size=10>Heading2</font>', POSITION=(0.566 1.964), MARKUP=ON, WRAP=ON, DIMENSION=(3.167 0.250),  METADATA='left: 0.566in; top: 1.964in; width: 3.167in; height: 0.25in; font-family: Trebuchet MS; font-size: 10pt; position: absolute; z-index: 5; -ms-word-wrap: break-word;', $
END
SET COMPONENT='DfltCmpt1'
TABLE FILE SYSCOLUM
" "
SUM TBNAME NOPRINT
IF READLIMIT EQ 1
ON TABLE SET PREVIEW ON
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
END
SET COMPONENT='report1'
-INCLUDE rep1.fex
SET COMPONENT='report2'
-INCLUDE rep2.fex
COMPOUND END



8.1.05
HTML,PDF,EXL2K, Active, All
October 24, 2017, 02:41 PM
eric.woerle
Is your image on the reporting server?


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
October 24, 2017, 02:44 PM
MartinY
From your Page layout, choose Properties, then change "Flow margin: top" to 1.0in (assuming that your document margin is 0.5 and image has 0.5 height)


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
October 24, 2017, 04:36 PM
Enigma006
quote:
Originally posted by MartinY:
From your Page layout, choose Properties, then change "Flow margin: top" to 1.0in (assuming that your document margin is 0.5 and image has 0.5 height)


Thanks Martin. This worked.


8.1.05
HTML,PDF,EXL2K, Active, All
October 25, 2017, 08:31 AM
MartinY
My pleasure.

Change your thread subject by adding the [SOLVED] key word at the beginning.


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