Focal Point
[SOLVED] Vertical aligment across on PDF export

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

January 15, 2020, 04:19 AM
esgf1985
[SOLVED] Vertical aligment across on PDF export
Hello,

I'm creating a PDF report, but on the across values, without any alingment included on the code, there's a "right padding" on the data.


This is the code I'm using:

TABLE FILE CAR
SUM FUEL_CAP/D10
BY COUNTRY AS ''
ACROSS  BODYTYPE  AS ''
ON TABLE SUBTOTAL 
ON TABLE SET STYLE *

TYPE=REPORT, 
    ORIENTATION=LANDSCAPE,
    PAGESIZE=A4, 
    SQUEEZE=0.32, 
    GRID=ON, 
    BORDER=LIGHT, 
    LEFTGAP=0.05, 
    RIGHTGAP=0.05, 
    LEFTMARGIN=0.50, 
    FONT='ARIAL',
    SIZE = 7, 
    $

TYPE=REPORT, COLUMN=1,  SQUEEZE= 3 , $

ENDSTYLE
ON TABLE PCHOLD AS 'exemple1' FORMAT PDF
END



And this is what it looks like:



Why the text is align that way? A "JUSTIFY=Right" doesn't work.

Thanks in advance.

E.

This message has been edited. Last edited by: FP Mod Chuck,
January 16, 2020, 06:57 PM
StuBouyer
Hi E,

The issues appears to be the
SQUEEZE=0.32
line in the STYLE settings, remove that and the right justify works for me.

Cheers

Stu

PS. Please set you signature to show your WebFOCUS version


WebFOCUS 8.2.03 (8.2.06 in testing)