String splitting to two lines.

KB-20220217-01

Version

XFRX 19.2

Symptoms

Some words are split to two lines (last character is on next line) in XFRX Preview only.

Cause

XFRX#LISTENER with targetType XFF is used without calls SetParams() method. 

Workaround

Set _xfrx_WordWrapAlgorithm before calling PreviewXFF() method:

m.oPreview = NEWOBJECT("frmMPPreviewer")
PUBLIC m._xfrx_WordWrapAlgorithm
m._xfrx_WordWrapAlgorithm = 2
m.oPreview.PreviewXFF(loxff,m.tcReportName)