Focal Point
[SOLVED] Creating a PDF letter with line wraps with a Freeform Report using Fonts

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

January 19, 2012, 10:36 AM
RichardA
[SOLVED] Creating a PDF letter with line wraps with a Freeform Report using Fonts
Is there a way to have Webfocus wrap lines to a PDF report when it uses fonts? It seems like I have to choose between a default fixed font and word wrap when creating a free from report (header only).

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


Sandbox Version: 8.1.04
Sandbox Platform: Windows 2008 R2
Testing Version: 7.7.02M
Testing Platform: Windows Server 2008 R2
WF Production Version: 7.7.02M
Production Platform: Windows Server 2008
January 19, 2012, 04:14 PM
Waz
To wrap, you need to have the text in a field.

DEFINE FILE CAR
 LONG_LINE/A100 = 'The quick brown fox jumps over the lazy dog' ;
 DUMMY/A1 WITH COUNTRY = ' ' ;
END
TABLE FILE CAR
HEADING
"<LONG_LINE"
 SUM DUMMY      AS ''
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=CM, PAGESIZE='A4', LEFTMARGIN=0.635000, RIGHTMARGIN=0.635000,
    TOPMARGIN=0.635000, BOTTOMMARGIN=0.635000, SQUEEZE=ON,
    ORIENTATION=LANDSCAPE, $
TYPE=REPORT, GRID=OFF, FONT=ARIAL, $
TYPE=HEADING, LINE=1, ITEM=1, OBJECT=FIELD, WRAP=2, $
ENDSTYLE
END



Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!