Hi Vincent, > > I'd like that we keep the office converter (I'm not talking about the > plugin) separate from xwiki core. Do you mean that I should not use anything related to the xwiki context? But when I implement saveDocument(String inputName, InputStream documentData), I want to save the content(actually the text content) in documentData to a xwiki document. I need convert InputStream to the String. So I need the encoding for the conversion. I prefer the encoding configuration by context.getWiki().getEncoding(), but I can't get it if I can't access the xwiki context. Or we need a new input for the encoding.
The XWiki.getTemporaryDiredctory() > method should be moved elsewhere but since this is not done for now > I'd suggest you compute your own temporary directory for now and we'll > replace the code with the right one later on. > > Thanks > -Vincent > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Thanks Wang Ning _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

