On 8/21/12 3:46 AM, Rob Weir wrote: > On Mon, Aug 20, 2012 at 10:54 AM, Jürgen Schmidt <jogischm...@gmail.com> > wrote: >> Hi, >> >> OpenOffice is not only used as desktop application but also as hidden >> part of other software and often as a conversion engine in the backend. >> >> OpenOffice has very good filters for many file formats and the usage as >> a conversion engine is straight forward. And the conversion from one >> format into another can be improved and optimized by some special >> handling of parts of the document. >> >> For example external linked parts can be ignored and don't have to be >> loaded during conversion, embedded images can be simply copied etc. >> >> I would like to improve AOO for this kind of usage by introducing a new >> parameter "-conversionmode". It's not comparable with the command line >> parameter "-headless" or the "hidden" property for loadComponentFromUrl(). >> >> The intention of this new global option is to have it available >> everywhere in the underlying code to optimize the performance of the >> conversion. >> > > It is an interesting idea. Perhaps in the future it could be combined > with a #define and its own makefile so we could compile the project > for this purpose specifically, perhaps having a smaller memory > footprint. Or do you think you can get most of the benefit with > run-time flags alone?
probably not and it can be a combination of both. I think mechanisms to exclude specific code at compile time will provide further opportunities. This can evolve over time and we can make use of this on demand. Juergen > > -Rob > >> This should have no influence/impact on the normal workflow but will >> help to make AOO potentially more attractive for backend usage. Means it >> will help to grow the broader eco-system around AOO. >> >> Juergen >> >>