Focal Point
[CLOSED]PDF formatting in Report Caster

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

April 07, 2016, 02:09 PM
Geoff Fish
[CLOSED]PDF formatting in Report Caster
I am working with report caster and compound reports that format output as PDF files. I have discovered an oddity and want to open discussion regarding it.. On some of the rows in the report I Bold and Italicize the row to make them stand out as totals.

If I run the report locally it formats as written and all is ok

if i run it in report caster as an attachment it loses the bold and the italics, to compound my confusion if I run it in report caster and as a zip file it formats perfectly .

Anyone else encounter this ? could it possibly be the font? TREBUCHET MS if anyones interested and the endefly.sty stylesheet


or maybe im just asking too much ;-)

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


809 DevStudio, MRE, Report Caster , Report Library
Output: Excel PDF, HTML
April 07, 2016, 02:22 PM
BabakNYC
I just tested something like this in 8.1.05 and both Scheduled and live reports show the bold/italics. What version are you running?
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET EMPTYREPORT=ON


COMPOUND LAYOUT PCHOLD FORMAT PDF
SECTION=Section_1, LAYOUT=ON, PAGESIZE=LETTER, ORIENTATION=PORTRAIT, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Page 1', TEXT='Page 1', LEFTMARGIN=0.25, RIGHTMARGIN=0.25, TOPMARGIN=0.25, BOTTOMMARGIN=0.25, $
COMPONENT=Table_1, COMPONENT-TYPE=REPORT, POSITION=(0.177083 0.822916), DIMENSION=(* *), ARREPORTSIZE=DIMENSION, METADATA='VERSION:1.0;WIDTH:4.0;HEIGHT:3.0;LEFT:0.177083;TOP:0.822916', $
COMPONENT=Chart_1, COMPONENT-TYPE=GRAPH, POSITION=(4.479166 0.895833), DIMENSION=(3.729166 3.520833), ARREPORTSIZE=DIMENSION, METADATA='VERSION:1.0', $
END

SET COMPONENT=Table_1
-*component_type report
-DEFAULTH &WF_SUMMARY='Summary';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
TABLE FILE CAR
BY CAR.ORIGIN.COUNTRY
BY CAR.COMP.CAR
BY CAR.CARREC.MODEL

ON TABLE NOTOTAL
ON TABLE SET CACHELINES 100
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET SQUEEZE ON
ON TABLE SET EMPTYREPORT ON
ON TABLE SET HTMLCSS ON
ON TABLE SET HTMLENCODE ON
ON TABLE SET GRWIDTH 1
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT='Report1', SUMMARY=&WF_SUMMARY.QUOTEDSTRING, HFREEZE=OFF, $
TYPE=DATA, COLUMN=N1, FONT='TREBUCHET MS', STYLE=BOLD, $
TYPE=DATA, COLUMN=N2, FONT='TREBUCHET MS', SIZE=12, STYLE=ITALIC, $
ENDSTYLE
END

SET COMPONENT=Chart_1
-*component_type graph
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD FORMAT PDF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET ARGRAPHENGIN JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 3.729166
ON GRAPH SET VAXIS 3.520833
ON GRAPH SET UNITS INCHES
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET STYLE *
*GRAPH_SCRIPT

setPieDepth(0);
setPieTilt(0);
setDepthRadius(0); 
setCurveFitEquationDisplay(false); 
setPlace(true); 

*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT='Chart1', $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);

*END
ENDSTYLE
END

COMPOUND END




WebFOCUS 8206, Unix, Windows
April 07, 2016, 02:40 PM
Geoff Fish
8.09 on redhat linux

This message has been edited. Last edited by: Geoff Fish,


809 DevStudio, MRE, Report Caster , Report Library
Output: Excel PDF, HTML
April 19, 2016, 02:49 PM
<Emily McAllister>
Hi Geoff,

Does this happen consistently for all compound reports? Have you tried running a report using a sample dataset such as the one that Babak posted above? This might help narrow down the problem.

Emily McAllister
Focal Point Moderator