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 Previous  1, 2, 3
 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
bigstu
General User
General User


Joined: 10 Mar 2005
Posts: 7

PostPosted: Tue Sep 07, 2010 7:36 am    Post subject: Reply with quote

I just tried something and so far it looks like its working but if it doesn't sorry.

Basically what I did was I downloaded the disablefirststartwzd package for 3.2 I had ran open office and changed my settings for the default save format already for that user, I took the settings for that section out of the setup.xcu file (the entire factories node) and I inserted it into the setup.xcu file in the plugin, the plugin seems to just be a zip file. Then I took the plugin and ran unopck add --shared <package>

I deleted the users openoffice profile data prior to this, so the next time I ran it, didn't ask me to do the first run but it did ask if I wanted to register which was okay and I the default file settings took! i tried also inserting the recovery.xcu but that didn't take, not a problem.

This is what I modified the setup.xcu inside the plugin to look like:
Code:

<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Setup" oor:package="org.openoffice">
 <node oor:name="Office">
  <prop oor:name="ooSetupInstCompleted" oor:type="xs:boolean">
   <value>false</value>
  </prop>
  <prop oor:name="LicenseAcceptDate" oor:type="xs:string">
   <value>2011-12-30T08:14:11</value>
  </prop>
  <prop oor:name="FirstStartWizardCompleted" oor:type="xs:boolean">
   <value>true</value>
  </prop>
<!-- borrowed from user setup.xcu-->
<node oor:name="Factories">
   <node oor:name="com.sun.star.presentation.PresentationDocument">
    <prop oor:name="ooSetupFactoryDefaultFilter" oor:type="xs:string">
     <value>MS PowerPoint 97 Vorlage</value>
    </prop>
   </node>
   <node oor:name="com.sun.star.sheet.SpreadsheetDocument">
    <prop oor:name="ooSetupFactoryDefaultFilter" oor:type="xs:string">
     <value>MS Excel 97 Vorlage/Template</value>
    </prop>
   </node>
   <node oor:name="com.sun.star.text.TextDocument">
    <prop oor:name="ooSetupFactoryDefaultFilter" oor:type="xs:string">
     <value>MS Word 97</value>
    </prop>
   </node>
  </node>
<!-- END borrowed code-->
 </node>
</oor:component-data>
 
Back to top
View user's profile Send private message
grayceworks
Newbie
Newbie


Joined: 03 Mar 2011
Posts: 1

PostPosted: Thu Mar 03, 2011 1:40 pm    Post subject: Default File Formats on Linux? Reply with quote

I have OOo on an opensuse 11.3 setup. I would like to change the default save formats to Microsoft Office 97/2000/XP for all the applicable formats, because most of the users will be opening, saving, and sending documents that used that format.

Any idea how to do this for all user accounts in linux?

Thanks!
Back to top
View user's profile Send private message
ftack
Moderator
Moderator


Joined: 27 Jan 2003
Posts: 3102
Location: Belgium

PostPosted: Sun Mar 13, 2011 4:03 am    Post subject: Reply with quote

It is a user setting. Thus, the setting will be stored in the user profile of OOo (.openoffice or .libreoffice). If you want to automate this, you will need to find the place where the option is stored. Alternatively, you could maintain a template profile with the adequate settings, then copy that over to the user profile (an change ownership to that user).
_________________
--
GNU/Linux (Ubuntu)
Back to top
View user's profile Send private message
messiii
General User
General User


Joined: 25 Apr 2013
Posts: 13

PostPosted: Thu Apr 25, 2013 12:40 am    Post subject: Reply with quote

Thank you for sharing, I will always remember. Smile
Back to top
View user's profile Send private message
Chantel
Newbie
Newbie


Joined: 10 Sep 2013
Posts: 4
Location: London

PostPosted: Tue Sep 10, 2013 11:10 pm    Post subject: Reply with quote

Is there a method of setting the default save for all users?
Back to top
View user's profile Send private message
andrew122
Newbie
Newbie


Joined: 15 Jan 2014
Posts: 2

PostPosted: Wed Jan 15, 2014 7:08 pm    Post subject: Reply with quote

Thank you for posting some useful information... Very Happy Very Happy
Back to top
View user's profile Send private message Visit poster's website
EdwardFlournoy
General User
General User


Joined: 30 Jan 2014
Posts: 6
Location: florida

PostPosted: Wed Feb 12, 2014 8:43 pm    Post subject: Reply with quote

i have a ask that when a thread is made sticky ? anyone .. i would appreciate the reply
_________________
Edward Flournoy
Back to top
View user's profile Send private message
universaldirect333
Newbie
Newbie


Joined: 08 Mar 2014
Posts: 2

PostPosted: Sat Mar 08, 2014 5:20 am    Post subject: Reply with quote

what is gpo?
_________________
cheap windows cleveland
cleveland double hung window
cleveland vinyl replacement windows
Back to top
View user's profile Send private message Visit poster's website
universaldirect333
Newbie
Newbie


Joined: 08 Mar 2014
Posts: 2

PostPosted: Sat Mar 08, 2014 5:20 am    Post subject: Reply with quote

what is gpo?
_________________
cheap windows cleveland
cleveland double hung window
cleveland vinyl replacement windows
Back to top
View user's profile Send private message Visit poster's website
donboldul
Newbie
Newbie


Joined: 16 Oct 2014
Posts: 3

PostPosted: Sun Oct 19, 2014 8:56 pm    Post subject: Reply with quote

I find a good printing in China, i just want to tell you abou it, if you need, please have a glance at it
advertising brochures
_________________
I like something interesting
Back to top
View user's profile Send private message Visit poster's website
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 Previous  1, 2, 3
Page 3 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