Focal Point
[CLOSED]Compound PDF Image/Report

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

June 13, 2018, 02:51 PM
WebFOCUS_Dev
[CLOSED]Compound PDF Image/Report
Hello

I have a report like this which runs fine in HTML format. I have 12 of the same kind and I am trying to show them on 1 page in PDF.
So, I am trying compound PDF and not able to get the formatting correct. Will appreciate any help on this.
TABLE FILE CAR
SUM
     SALES NOPRINT
     COMPUTE IMG_TXT/A5 = ''; AS ''
HEADING
"Total Sales Amount"
"<SALES"
FOOTING
"<COUNTRY <CAR"
ON TABLE SET AUTOFIT OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, JUSTIFY=CENTER, $
TYPE=FOOTING, SIZE=2, COLOR=RGB(75 75 75),  HEADALIGN=INTERNAL, $
TYPE=FOOTING, LINE=1, SIZE=12, OBJECT=FIELD, ITEM=1, JUSTIFY=LEFT, $
TYPE=FOOTING, LINE=1, SIZE=12, OBJECT=FIELD, ITEM=2, JUSTIFY=RIGHT, $
TYPE=DATA, COLUMN=IMG_TXT, SIZE=(0.5 0.5),
     IMAGE=IBFS:/WFC/Repository/test/images/down_img.png, $ 
ENDSTYLE
END


Thank you

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


WebFOCUS 8206
All formats
June 14, 2018, 10:48 AM
Les J
My include was your report.

-* Default Mode: ResourceLayout
SET HTMLARCHIVE=ON
*-HOLD_SOURCE
COMPOUND LAYOUT PCHOLD FORMAT DHTML
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=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.624 0.624), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.624in; top: 0.624in; width: 1.974in; height: 1.561in; position: absolute; z-index: 100;', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(2.875 0.615), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 2.875in; top: 0.615in; width: 1.974in; height: 1.561in; position: absolute; z-index: 101;', $
COMPONENT='report3', TEXT='report3', TOC-LEVEL=2, POSITION=(5.094 0.594), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 5.094in; top: 0.594in; width: 1.974in; height: 1.561in; position: absolute; z-index: 102;', $
COMPONENT='report4', TEXT='report4', TOC-LEVEL=2, POSITION=(0.635 2.479), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.635in; top: 2.479in; width: 1.974in; height: 1.561in; position: absolute; z-index: 103;', $
COMPONENT='report5', TEXT='report5', TOC-LEVEL=2, POSITION=(2.885 2.479), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 2.885in; top: 2.479in; width: 1.974in; height: 1.561in; position: absolute; z-index: 104;', $
COMPONENT='report6', TEXT='report6', TOC-LEVEL=2, POSITION=(5.125 2.448), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 5.125in; top: 2.448in; width: 1.974in; height: 1.561in; position: absolute; z-index: 105;', $
COMPONENT='report9', TEXT='report6', TOC-LEVEL=2, POSITION=(5.125 4.302), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 5.125in; top: 4.302in; width: 1.974in; height: 1.561in; position: absolute; z-index: 106;', $
COMPONENT='report8', TEXT='report5', TOC-LEVEL=2, POSITION=(2.885 4.333), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 2.885in; top: 4.333in; width: 1.974in; height: 1.561in; position: absolute; z-index: 107;', $
COMPONENT='report7', TEXT='report4', TOC-LEVEL=2, POSITION=(0.635 4.333), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.635in; top: 4.333in; width: 1.974in; height: 1.561in; position: absolute; z-index: 108;', $
COMPONENT='report10', TEXT='report10', TOC-LEVEL=2, POSITION=(0.635 6.146), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 0.635in; top: 6.146in; width: 1.974in; height: 1.561in; position: absolute; z-index: 109;', $
COMPONENT='report11', TEXT='report11', TOC-LEVEL=2, POSITION=(2.885 6.146), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 2.885in; top: 6.146in; width: 1.974in; height: 1.561in; position: absolute; z-index: 110;', $
COMPONENT='report12', TEXT='report12', TOC-LEVEL=2, POSITION=(5.177 6.146), DIMENSION=(1.974 1.561), BYTOC=0, ARREPORTSIZE=DIMENSION, METADATA='left: 5.177in; top: 6.146in; width: 1.974in; height: 1.561in; position: absolute; z-index: 111;', $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
SET COMPONENT='report2'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
SET COMPONENT='report3'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
SET COMPONENT='report4'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
SET COMPONENT='report5'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
SET COMPONENT='report6'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
SET COMPONENT='report9'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
SET COMPONENT='report8'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
SET COMPONENT='report7'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
SET COMPONENT='report10'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
SET COMPONENT='report11'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
SET COMPONENT='report12'
-*component_type report
-INCLUDE IBFS:/WFC/Repository/ZPSM448/Procedure1.fex
COMPOUND END


WebFOCUS 8

Windows, All Outputs
June 14, 2018, 10:54 AM
FP Mod Chuck
WebFOCUS_Dev

What kind of formatting issue are you having? Your code only contains one report which I have working. Maybe post your actual compound report using the car file.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
June 15, 2018, 10:45 AM
Les J
Not sure if you're comment Chuck was meant for me, but in my example I took their focexec and just changed to format to PDF.

TABLE FILE CAR
SUM
SALES NOPRINT
COMPUTE IMG_TXT/A5 = ''; AS ''
HEADING
"Total Sales Amount"
"FOOTING
"ON TABLE SET AUTOFIT OFF
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, JUSTIFY=CENTER, $
TYPE=FOOTING, SIZE=2, COLOR=RGB(75 75 75), HEADALIGN=INTERNAL, $
TYPE=FOOTING, LINE=1, SIZE=12, OBJECT=FIELD, ITEM=1, JUSTIFY=LEFT, $
TYPE=FOOTING, LINE=1, SIZE=12, OBJECT=FIELD, ITEM=2, JUSTIFY=RIGHT, $
TYPE=DATA, COLUMN=IMG_TXT, SIZE=(0.5 0.5),
IMAGE=IBFS:/WFC/Repository/Common/Images/dpsBadge.png, $
ENDSTYLE
END


WebFOCUS 8

Windows, All Outputs