FIX: Unreadable file for NATIVE_DOCX, NATIVE_FDOCX outputs after transformation from XFF file
KB-20171118-03
Version
XFRX 15.4
Symptoms
File fontable.xml contains element w:font which has empty value of attribute w:name.
Sample Code
LOCAL m.loSession, m.loXFF, m.lnRetVal
m.loSession=EVALUATE([xfrx("XFRX#INIT")])
m.loXFF=EVALUATE([xfrx("XFRX#DRAW")])
m.loXFF.OpenDocument("output.xff")
m.lnRetVal = loSession.SetParams("output.docx",,,,.T.,,"NATIVE_DOCX")
IF m.lnRetVal=0
=m.loSession.TransformReport(m.loXFF)
ELSE
?m.loSession.ErrorMessage(m.lnRetVal)
ENDIF
RELEASE m.loSession, m.loXFF, m.lnRetVal
Work arround
No work arround.
, multiple selections available,