On 11/24/2010 12:27 PM, Guillaume Lerouge wrote: > Hi Marius, > > On Wed, Nov 24, 2010 at 11:11, Marius Dumitru Florea< > [email protected]> wrote: > >> Hi devs, >> >> Currently, the office importer module doesn't expose any configuration >> options for the office document conversion. Most of the available >> parameters are used to control the connection to the open office server. >> >> Office importer module uses jodconverter ( >> http://code.google.com/p/jodconverter/ ) to convert from different >> office document formats to HTML. The conversion is controlled by a >> "document format registry". jodconverter provides two >> DocumentFormatRegistry implementations: >> >> * a default implementation, that can be configured only >> programmatically; this is the one we're currently using >> >> * an implementation that reads the configuration from a JSON file; this >> is easy to overwrite by putting a document-formats.js file (with the >> JSON configuration) in /WEB-INF/classes/ >> >> I'd like to change the office import module to use the JSON document >> format registry if possible (i.e. document-formats.js is present and can >> be parsed) otherwise the default document format registry. >> >> This will allow us to control, for instance, the size of the images >> generated when importing/viewing a presentation (the default size is >> 640x480 which is not enough if you have slides with a lot of information). >> >> Do you think this is worth introducing in 2.7 or should I wait for 3.0? >> > > This would be a great feature, definitely needed for some of the projects > I've worked on.
> If it's not dangerous, I think it could go in XE 2.7. I don't think it's dangerous. We'd be using the default document-formats.js from jodconverter-core-3.0-beta-3.jar, which is (afaics) equivalent with the default document format registry we're using right now. Thanks, Marius > Otherwise I guess I'll just have to wait :-) > > Guillaume > > >> Thanks, >> Marius >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

