Page 1 of 1

Setting xml:space="preserve" on <t> tags - is it possible?

PostPosted: Thu Jan 16, 2014 10:47 pm
by arimmer
I notice in both Word2007/2010 output (when viewed as xml) and the Open Office XML Primer (Open Office XML Part 3 - Primer, section 3.3.10) that the
Code: Select all
tag in the shared strings table can have the attribute
Code: Select all
set on it.

Is it possible to set this attribute using docx4j?

If not, can you suggest any workaround I could use to enable me to set it, as I would find it very useful for the spread sheets I am producing using docx4j?

Solved: Setting xml:space="preserve" on <t> tags

PostPosted: Fri Jan 17, 2014 1:04 am
by arimmer
It's okay - after further searching I found
Code: Select all
is available in docx4j 3.0 and allows me to set space to preserve.

Thanks again for such a useful library.

The new webapp is very handy too.