ARLM-Keller / jodconverter

Automatically exported from code.google.com/p/jodconverter
0 stars 0 forks source link

Add workaround for broken -nostartwizard in OOo 2.4.1 #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
OfficeProcess currently starts the soffice process passing the
-nofirststartwizard switch to make sure no registration dialog is shown.

This is required to use a new clean "profile" dir every time, separate from
the default user profile.

This used to work up to OOo 2.4.0, but 2.4.1 seems to ignore
-nofirststartwizard, as do recent OOo 3.0 milestones.

A workaround would be to specify a template profile dir, that will be
copied to a new temporary location before starting OOo.

E.g.

officeManager.setTemplateProfileDir("/home/mirko/.openoffice.org2");

so that "/home/mirko/.openoffice.org2" would be copied to
"/tmp/.jodconverter" and OOo started with the latter.

We should probably introduce an OfficeConfiguration class to hold this sort
of configurable options.

Original issue reported on code.google.com by mirko.na...@gmail.com on 20 Jul 2008 at 1:24

GoogleCodeExporter commented 8 years ago

Original comment by mirko.na...@gmail.com on 20 Jul 2008 at 4:37

GoogleCodeExporter commented 8 years ago
Reopened because of a bug in the first implementation I made.

Original comment by mirko.na...@gmail.com on 7 Sep 2008 at 2:06

GoogleCodeExporter commented 8 years ago
Fixed in r31

Original comment by mirko.na...@gmail.com on 7 Sep 2008 at 5:25

GoogleCodeExporter commented 8 years ago

Original comment by mirko.na...@gmail.com on 14 Sep 2008 at 11:17

GoogleCodeExporter commented 8 years ago

Original comment by mirko.na...@gmail.com on 27 Mar 2011 at 1:21