java writing problem in office org(linux) document

hello friends

i have written a code for writing to a file in java

try {

BufferedWriter out = new BufferedWriter(new FileWriter(file, true));

out.write("\n");

out.write("Document Reviewed");

out.close();

} catch (IOException e) {

}

but i have a problem.

if i create a document using office org the file will not be edited.

and if i create a document using kwrite i can able to write on it.

can anybody help me out please?

[500 byte] By [RaghavendraBLa] at [2007-11-27 8:17:25]
# 1
Huh?
CeciNEstPasUnProgrammeura at 2007-7-12 20:02:35 > top of Java-index,Java Essentials,Java Programming...
# 2
What ? Sorry I've never been to the Isle of Gibber. I don't speak Gibberish.(Sorry couldn't resist I've been wanting to use that line for a while now)I don't understand what you're trying to say.PS.
puckstopper31a at 2007-7-12 20:02:35 > top of Java-index,Java Essentials,Java Programming...