https://issues.apache.org/bugzilla/show_bug.cgi?id=55802

--- Comment #4 from Andreas Beeker <[email protected]> ---
You probably need to show more of your code and/or explain how you get the
input data - with a simple test, this can't be reproduced:


public void testUmlaut() throws Exception {
    XWPFDocument doc = new XWPFDocument();
    XWPFRun run = doc.createParagraph().createRun();
    run.setText("Ort, Datum der Erstellung: Kornelimünster, am 8. November
2013");
    run.setFontFamily("Arial");
    run.setFontSize(11);
    OutputStream os = new FileOutputStream("umlaut.docx");
    doc.write(os);
    os.close();
}

... doesn't generate any other textrun elements in the docx:

<w:p><w:r><w:rPr><w:rFonts w:ascii="Arial"/><w:sz w:val="22"/></w:rPr><w:t>Ort,
Datum der Erstellung: Kornelimünster, am 8. November 2013</w:t></w:r></w:p>

My guess is, that you are converting from old doc to docx format and while
reading the input file, you are already receiving broken textruns.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to