Anchor | ||||
---|---|---|---|---|
|
Version
XFRX 15.4
Symptoms
Unreadable file for NATIVE_DOCX, NATIVE_FDOCX outputs after transformation from XFF fileFile fontable.xml contains element w:font which has empty value of attribute w:name.
Sample Code
Code Block |
---|
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.