Hi
let me explain more the problem i'm trying to solve:
build a 100% java library (no dll dependent) to manipulate microsoft word documents with only this method:
Given an InputStream with the bytes representing a .doc document (97/2000/XP), which may contain images return, an InputStream with the bytes representing a word document, which only differs from original by every occurrence of searchThis word replaced for replaceWith word.
Replacement shouldn't alter document format in any way (keeping fonts, margins, bold, ... everything).
offenoffice api is big; and apache poi can't do that currently . so I'm thinking of other approaches like converting the document to other format replace and come back to .doc : can someone give me ideas on how to achieve this in java ? (with some sample code examples)
also, since this library is going to be used within a
J2EE development is it possible to do that with Java Script to do the replacement in the client side? (how ?)
Any Ideas would be greatly welcomed.
thanks.