You are here

Starting OOo and Automatically Loading Specific Template

7 posts / 0 new
Last post
SamK
Offline
Last seen: 12 years 5 days ago
Joined: 2007-07-06 07:04
Starting OOo and Automatically Loading Specific Template

Is it possible to start OOo (Draw) and for it to automatically load a user defined template?

qwertymodo
qwertymodo's picture
Offline
Last seen: 9 years 2 months ago
Joined: 2008-03-17 19:08
Try using the INI file and

Try using the INI file and add the path to the template in AdditionalParameters=. This will make it ALWAYS load that template any time you open the program. If this isn't what you want, check out PortableFileAssociator by wraithdu.

Quamquam omniam nescio, nec nihil scio.

SamK
Offline
Last seen: 12 years 5 days ago
Joined: 2007-07-06 07:04
Thanks for your swift reply.

I was hoping to find a way of passing the details of the required template to the required application only, in this case Draw, rather than to the whole of OOo. Is it possible to do this by appending the path to the template to
C:\PortableApps\OpenOfficePortable\OpenOfficeDrawPortable.exe?

I use PStart in preference to the PApps menu. This provides a simple way of passing additional parameters to the execution command.

Starting Draw in this way does exactly what I want but does it break the PApps portability or does it maintain it?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 6 years 2 months ago
Joined: 2007-04-15 21:08
Portable

It is portable, it's a launcher for OpenOffice.org Portable, opening Draw rather than the main thing.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

SamK
Offline
Last seen: 12 years 5 days ago
Joined: 2007-07-06 07:04
Re: Starting OOo and Automatically Loading Specific Template

Thanks for the help guys.

This is working so well that a further idea has occurred to me (Mission Drift). Is it possible to specify which toolbars are displayed when loading the template in this way?

Again I am referring to a solution that is specific to a template rather than to Draw or the entire OOo suite.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 6 years 2 months ago
Joined: 2007-04-15 21:08
In-build

It can do this to at least a certain degree. Go to Tools -> Customise... and any changes you make, apply to the current document in the dropdown in the bottom left.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

SamK
Offline
Last seen: 12 years 5 days ago
Joined: 2007-07-06 07:04
Re: Specifying Toolbars with Template

This has not been as successful as starting Draw with the user defined template.

The unwanted (default) toolbars have been removed, the required (user defined) toolbar created and saved as 'Untitled1' in Tools -> Customise...dropdown in the bottom left. This is the only option other than OOo as Draw is being started with a specified template and this is the expected action to prevent overwriting it.

Thereafter:

  • Opening Draw with the template displays only the user defined toolbar.
  • Opening Draw without the template displays no toolbars.

If the unwanted toolbars are then re-enabled

  • Opening Draw with the template displays both the default and user defined toolbars.
  • Opening Draw without the template displays the default toolbars.

Am I missing something?

Log in or register to post comments