On Tue, 13 Dec 2011, John Turnbull wrote:
<xml-fragment
 <w:tab/>
 <w:t>Tuberculosis</w:t>
</xml-fragment>

I am trying to remove the TAB character. XWPF#getText(0) returns "Tuberculosis" without the TAB character and XWPF#setText("Tuberculosis", 0) doesn't remove it so how can I remove it?

You'll need to dip down into the xmlbeans level to do it - get the CTR and remove the tab from that

Longer term, we have partial support for adding and removing breaks and newlines. If you could, it'd be great if you could work up a patch to do the same for tabs and contribute it back!

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to