You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Zachary Mitchell <za...@internode.on.net> on 2010/09/29 04:07:03 UTC

Mid characterrun characterrun.

Is it possible to create a new CharacterRun mid-character run (from a HWPFDocument), from a DocumentPosition, by using:

/*
Range.replaceText(oldText,"previous writing" + "\u0001" + "latter writing");
Range.replaceText(oldText,"previous writing" + "\r" + "latter writing");
*/
Do either of these cause HWPFDocument to recompute where all it's CharacterRuns fall?  Is it possible to do this, by simply putting in some key text items like those suggested?