OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Setting default save format for all users
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
JENeels
General User
General User


Joined: 28 Sep 2005
Posts: 6

PostPosted: Fri Nov 18, 2005 6:41 am    Post subject: Setting default save format for all users Reply with quote

School environment where computers have multiple users.

Is there a method of setting the default save for all users?

I know how to change the default save for an individual user. (tools-options-load\save and then select your preferred format), but this applies only to the individual logged on.

All of the computers are Windows 2000 and on a Windows Server 2003 network.

We would like to change the default setting to Microsoft Word 97/2000/XP for Writer,
Excel 97/2000/XP for Calc and PowerPoint 97/2000/XP for Impress.

Thanks

John
Back to top
View user's profile Send private message Send e-mail
brownl
General User
General User


Joined: 24 Oct 2005
Posts: 26

PostPosted: Tue Nov 22, 2005 2:36 pm    Post subject: Reply with quote

We have a similar situation and have found the following solution:
Modify setup-calc.xcu, setup-writer.xcu and setup-impress.xcu in c:\program files\open office.org2.0\share\registry\modules\org\openoffice\setup to reflect the value below:

<node oor:name="Factories">
<node oor:name="com.sun.star.sheet.SpreadsheetDocument" oor:op="replace">
<prop oor:name="ooSetupFactoryCommandConfigRef">
<value>CalcCommands</value>
</prop>
<prop oor:name="ooSetupFactoryDefaultFilter">
<value>MS Excel 97</value>
</prop>
Back to top
View user's profile Send private message
JENeels
General User
General User


Joined: 28 Sep 2005
Posts: 6

PostPosted: Wed Nov 23, 2005 8:40 am    Post subject: Defaults for all users Reply with quote

This seems to work very well during my tests. Thank you for posting the solution.

For anyone else that may need to try this I would like to clarify a couple of items:

1. You have to go into each of the setup files listed and change the information to the corresponding Microsoft equivalent. brownl provides MS Excel 97 as and example, but you need to change the writer.xcu to MS Word 97 and impress.xcu to PowerPoint 97.

2. writer.xcu has more that one place to change the code. I replace the following code:

<prop oor:name="ooSetupFactoryDefaultFilter"> <value>writer</value>
With:
<prop oor:name="ooSetupFactoryDefaultFilter"> <value>MS Word 97</value>

There were two places in the file to change this before it worked for me.

Thanks brownl for the information.
Back to top
View user's profile Send private message Send e-mail
snapster
Newbie
Newbie


Joined: 02 Feb 2006
Posts: 1

PostPosted: Thu Feb 02, 2006 9:00 am    Post subject: Reply with quote

Changing the Default File Saving Format.
This is good information. It would be nice if there was a simple switch or tickbox during installation for this however I have modified the files and created a simple batch file to copy them to the Open Office installation directory.

Just to recap, edit the following files in the C:\Program Files\OpenOffice.org 2.0\share\registry\modules\org\openoffice\Setup directory

Edit the following lines in
setup-writer.xcu (this same default filter line appears twice in this file)

<prop oor:name="ooSetupFactoryDefaultFilter">
<value>MS Word 97</value>


setup-calc.xcu

<prop oor:name="ooSetupFactoryDefaultFilter">
<value>MS Excel 97</value>


setup-impress.xcu

<prop oor:name="ooSetupFactoryDefaultFilter">
<value>MS PowerPoint 97</value>


It would be good if this information was put somewhere easy to refer to as many people could use this.

Keep up the good work!

Snaps.
Back to top
View user's profile Send private message
cenforsberg
General User
General User


Joined: 05 Oct 2005
Posts: 5
Location: Linköping, Sweden

PostPosted: Fri Feb 03, 2006 7:24 am    Post subject: Reply with quote

Thanks for a useful thread! Smile. Some comments:

On Unix, the files that should be changed have filenames with capital 'S', that is 'Setup-calc.xcu', 'Setup-writer.xcu' and so on. That's good to know if you're using 'locate' to find them..

One thing that's not entirely clear is how to find out what the names of the different file formats are, i.e., what should I replace the 'calc8' with if I want the fileformat X? In my case, I wanted OO to use Openoffice.org 1.0 calc format, but I didn't know what it's called in Setup-calc.xcu.

I found out what names to use by running oo and then configure it via Tools->Options->Load/Save. I then tried to find where on the filesystem the settings was saved, which wasn't entirely obvious.. but finally, I found the settings in /home/<username>/.openoffice.org2/user/registry/data/org/openoffice/Setup.xcu. Using that file, I could find that the name of Openoffice.org 1.0 calc format is "StarOffice XML (Calc)".
[/list]
Back to top
View user's profile Send private message
9point9
Moderator
Moderator


Joined: 31 Aug 2004
Posts: 3875
Location: UK

PostPosted: Fri Feb 03, 2006 10:38 am    Post subject: Reply with quote

cenforsberg wrote:
In my case, I wanted OO to use Openoffice.org 1.0 calc format

Why would you want to use OOo 1.x format as default? It is only used by OOo 1.x and is technically replaced by OpenDocument.
_________________
Arch Linux
OOo 3.2.0

OOoSVN, change control for OOo documents:
http://sourceforge.net/projects/ooosvn/
Back to top
View user's profile Send private message Visit poster's website
cenforsberg
General User
General User


Joined: 05 Oct 2005
Posts: 5
Location: Linköping, Sweden

PostPosted: Sun Feb 05, 2006 11:02 pm    Post subject: Reply with quote

Quote:
Why would you want to use OOo 1.x format as default? It is only used by OOo 1.x and is technically replaced by OpenDocument.


We want to evaluate OOo 2.x in production before we start creating documents that we can't open with older versions.
Back to top
View user's profile Send private message
elehenaff
Power User
Power User


Joined: 16 Apr 2004
Posts: 76
Location: paris - france

PostPosted: Tue Apr 24, 2007 8:42 am    Post subject: Reply with quote

Does it work with openOffice.org 2.2 ?

More :
Is there documentations somewhere - on the openoffice.org website or elsewhere - about customizations of this kind, for instance, avoiding the setup wizard to show up, or any customization that requires modifying an xcu file ? the goal is to prepare global configurations throughout an company or a governmental institution.
_________________
my box : ooo 2.4 french on winXPSP2
my home : ooo 3.0 beta on winXP
server : ooo 1.1.2 on a debian sarge box using ooo as a pdf generator for a web software
workstations : 150 windows XP workstations with ooo 2.4
Back to top
View user's profile Send private message Visit poster's website
noranthon
Super User
Super User


Joined: 07 Jul 2005
Posts: 3318

PostPosted: Tue Apr 24, 2007 6:58 pm    Post subject: Reply with quote

Is there any reason why it would not still work?

There is some information here that may be of interest to you: http://openofficetechnology.com/documentation/OpenOffice-Configuration
_________________
search forum by month
Back to top
View user's profile Send private message
elehenaff
Power User
Power User


Joined: 16 Apr 2004
Posts: 76
Location: paris - france

PostPosted: Wed Apr 25, 2007 3:13 am    Post subject: Reply with quote

the reasons are : there isn't any guaranty from the openoffice.org developper community that internal files may stay the same format from one version to another.

for instance, to prevent the registration wizard from appearing, i modified setup.xcu of ooo2.2 by adding some lines written for ooo2.1 and it didn't work

thanks for link.
_________________
my box : ooo 2.4 french on winXPSP2
my home : ooo 3.0 beta on winXP
server : ooo 1.1.2 on a debian sarge box using ooo as a pdf generator for a web software
workstations : 150 windows XP workstations with ooo 2.4
Back to top
View user's profile Send private message Visit poster's website
brownl
General User
General User


Joined: 24 Oct 2005
Posts: 26

PostPosted: Thu May 03, 2007 10:34 am    Post subject: Reply with quote

I am working on the configs for 2.2 in a corporate network environment now. I will post instructions when I get it worked out.
Back to top
View user's profile Send private message
skipthompson81
General User
General User


Joined: 22 Aug 2007
Posts: 6

PostPosted: Wed Aug 22, 2007 10:11 am    Post subject: Re: Setting default save format for all users Reply with quote

[quote="JENeels"]School environment where computers have multiple users.

Is there a method of setting the default save for all users?

why not use the adm files to manage with gpo?

from here http://openofficetechnology.com/download
Back to top
View user's profile Send private message Yahoo Messenger
PIU-Printex
General User
General User


Joined: 22 Aug 2007
Posts: 5

PostPosted: Thu Aug 23, 2007 11:03 pm    Post subject: Reply with quote

That's what we are trying to do, but since the naming declaration is not quite obvious to me, I don't know where to find these settings in the gpo!
Back to top
View user's profile Send private message
PIU-Printex
General User
General User


Joined: 22 Aug 2007
Posts: 5

PostPosted: Fri Aug 24, 2007 2:42 am    Post subject: Reply with quote

I found the information here:
http://openofficetechnology.com/node/76
Back to top
View user's profile Send private message
Hagar Delest
Super User
Super User


Joined: 06 Feb 2006
Posts: 5164
Location: France

PostPosted: Mon Oct 01, 2007 10:22 pm    Post subject: Reply with quote

I compared quickly and I think it's quite the same. I usually give the most recent thread so others may be better, I agree. I guess you asked about the sticky state of the thread you posted, I think it can remain as a sticky.
_________________
Now on the EN user community forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting All times are GMT - 8 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group