cirsfid-unibo / lime

LIME (Language Independent Markup Editor)
http://lime.cirsfid.unibo.it/
29 stars 14 forks source link

Importing docx files with header(s) fails #72

Closed eltorre closed 6 years ago

eltorre commented 6 years ago

When importing an docx file that has a header, only the header content (the contents of word/header1.xml) gets into the editor.

A couple of related notes; I will open new issues if you see fit:

obujor commented 6 years ago

Could you please attach a sample document containing headers?

eltorre commented 6 years ago

Attached you may find a minimal file that triggers this behaviour.

headertext.docx

Created with Word 2013 15.0.5015.1000 MSO 1.5.0.4719.1000 32-bit

obujor commented 6 years ago

I tested this file in our environment, and it's working, your problem probably is the version of Abiword, we are using Abiword 2.8.2. Newer versions of Abiword are not yet supported, you can follow this issue.

eltorre commented 6 years ago

Do you know of any reliable PPA with Abiword 2.8.2? I am having a lot of trouble finding it.

obujor commented 6 years ago

I don't, but you can try by downloading the package from here or compile it from the source or fix abiword 3 by changing this file. I think the later is the easiest one, this xsl transformation is used to remove out almost all tags from the Abiword output.