On Thu, 24 Mar 2011, Gurkan Hosgit wrote:
My code is;
HWPFDocument doc = new HWPFDocument(new FileInputStream(wordFile));
int nfibValue = doc.getFileInformationBlock().getNFib();
I have different word files (Word 2000 file, word 2002 file, Word 2003
file), for all these files the code returns the nfib value equals to
193!
I think that HWPF is correctly returning to you the value stored in your
file. I have a nasty feeling that your problem is that word is storing the
version of the file format (word 97+) rather that what its own version is.
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]