XCU and XCS files in recent releases

classic Classic list List threaded Threaded
8 messages Options
Olivier Hallot Olivier Hallot
Reply | Threaded
Open this post in threaded view
|

XCU and XCS files in recent releases

Hi,

In version 3.2 of OpenOffice we had the feature below implemented

(allow to configure Base to forbid creation on a new local database)

http://openoffice.org/bugzilla/show_bug.cgi?id=96862

And a schema file was available to enable this configuration.

Now it seems that the XCU and XCS files vanished since release 3.3. So
where are they or what replaced them?

I absolutely need to re-enable this feature.

Thanks for any pointer on where to look for.
--
Olivier Hallot
Founder, Steering Commitee Member - The Document Foundation
Voicing the enterprise
Translation Leader for Brazilian Portuguese
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Cor Nouws Cor Nouws
Reply | Threaded
Open this post in threaded view
|

Re: XCU and XCS files in recent releases

Hi Olivier,

Olivier Hallot wrote (21-03-11 22:29)

> In version 3.2 of OpenOffice we had the feature below implemented
>
> (allow to configure Base to forbid creation on a new local database)
>
> http://openoffice.org/bugzilla/show_bug.cgi?id=96862
>
> And a schema file was available to enable this configuration.
>
> Now it seems that the XCU and XCS files vanished since release 3.3. So
> where are they or what replaced them?

Since 3.3.0 we have registrymodifications.xcu in the folder \user ...
Holds all modifications in one. Not so handy for editing, but faster on
loading (30% or so, IIRC).
And you can add modification by extension, of course.

> I absolutely need to re-enable this feature.
>
> Thanks for any pointer on where to look for.

kind regards,
Cor

--
  - http://nl.libreoffice.org
  - giving openoffice.org its foundation :: The Document Foundation -

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Olivier Hallot Olivier Hallot
Reply | Threaded
Open this post in threaded view
|

Re: XCU and XCS files in recent releases

Thanks Cor for the pointer!!!. Googling on top of your tip, I got

http://blogs.sun.com/GullFOSS/entry/a_new_configuration, so it is likely
that I will have to build an extension.

Regards
Olivier


Em 21-03-2011 18:48, Cor Nouws escreveu:

> Hi Olivier,
>
> Olivier Hallot wrote (21-03-11 22:29)
>> In version 3.2 of OpenOffice we had the feature below implemented
>>
>> (allow to configure Base to forbid creation on a new local database)
>>
>> http://openoffice.org/bugzilla/show_bug.cgi?id=96862
>>
>> And a schema file was available to enable this configuration.
>>
>> Now it seems that the XCU and XCS files vanished since release 3.3. So
>> where are they or what replaced them?
>
> Since 3.3.0 we have registrymodifications.xcu in the folder \user ...
> Holds all modifications in one. Not so handy for editing, but faster on
> loading (30% or so, IIRC).
> And you can add modification by extension, of course.
>
>> I absolutely need to re-enable this feature.
>>
>> Thanks for any pointer on where to look for.
>
> kind regards,
> Cor
>

--
Olivier Hallot
Founder, Steering Commitee Member - The Document Foundation
Voicing the enterprise
Translation Leader for Brazilian Portuguese
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Caolán McNamara Caolán McNamara
Reply | Threaded
Open this post in threaded view
|

Re: XCU and XCS files in recent releases

On Mon, 2011-03-21 at 19:29 -0300, Olivier Hallot wrote:

> Em 21-03-2011 18:48, Cor Nouws escreveu:
> > Hi Olivier,
> >
> > Olivier Hallot wrote (21-03-11 22:29)
> >> In version 3.2 of OpenOffice we had the feature below implemented
> >>
> >> (allow to configure Base to forbid creation on a new local database)
> >>
> >> http://openoffice.org/bugzilla/show_bug.cgi?id=96862
> >>
> >> And a schema file was available to enable this configuration.
> >>
> >> Now it seems that the XCU and XCS files vanished since release 3.3. So
> >> where are they or what replaced them?
> >
> > Since 3.3.0 we have registrymodifications.xcu in the folder \user ...
It should still be possible I think to stick a custom sitewide .xcd
snippet into /path/to/libreoffice/basis3.3/share/registry to overwrite
defaults, e.g. see tools->options->math->settings and in libreoffice
they are all off by default, stick this attachment
into /path/to/libreoffice/basis3.3/share/registry and restart and format
text and title row should be now toggled "on" by default.

C.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

mathoptions.xcd (682 bytes) Download Attachment
Olivier Hallot Olivier Hallot
Reply | Threaded
Open this post in threaded view
|

Re: XCU and XCS files in recent releases

Hi Caolán

Thanks for the tip. I did a simple sitewide snippet, which is apparently
read at startup ( deducted by reductio ab absurdo: if the xml of the
snippet is broken, LO does not start), but it does not work as I want
(and I took it from main.xcd).

The result should be the elimination of the "create new database" in
Base new database assistant.

Is there a cache thing involved? I have poked around with
registrymodifications.xcu but got no satisfactory results. So my xcd
seems inocuous and I must have missed something.

My understandng is that LO reads main.xcd and then the snippets... Is
that order correct?

Thanks and best regard.

Olivier
+++++++++++++++++++++++++
<?xml version="1.0"?>
<oor:data xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:oor="http://openoffice.org/2001/registry">
   <oor:component-schema oor:name="DataAccess"
oor:package="org.openoffice.Office" xml:lang="en-US">
      <component>
          <group oor:name="Policies">
                 <group oor:name="Features">
                     <group oor:name="Base">
                         <prop oor:name="CreateLocalDatabase"
oor:type="xs:boolean">
                             <value>false</value>
                         </prop>
                     </group>
                     <group oor:name="Writer">
                         <prop oor:name="DatabaseFields"
oor:type="xs:boolean">
                            <value>true</value>
                         </prop>
                      </group>
                      <group oor:name="Common">
                         <prop oor:name="EditDatabaseFromDataSourceView"
oor:type="xs:boolean">
                             <value>true</value>
                         </prop>
                     </group>
                 </group>
          </group>
      </component>
</oor:component-schema>
</oor:data>
+++++++++++++++++++++++++++


Em 24-03-2011 10:45, Caolán McNamara escreveu:

> On Mon, 2011-03-21 at 19:29 -0300, Olivier Hallot wrote:
>> Em 21-03-2011 18:48, Cor Nouws escreveu:
>>> Hi Olivier,
>>>
>>> Olivier Hallot wrote (21-03-11 22:29)
>>>> In version 3.2 of OpenOffice we had the feature below implemented
>>>>
>>>> (allow to configure Base to forbid creation on a new local database)
>>>>
>>>> http://openoffice.org/bugzilla/show_bug.cgi?id=96862
>>>>
>>>> And a schema file was available to enable this configuration.
>>>>
>>>> Now it seems that the XCU and XCS files vanished since release 3.3. So
>>>> where are they or what replaced them?
>>>
>>> Since 3.3.0 we have registrymodifications.xcu in the folder \user ...
>
> It should still be possible I think to stick a custom sitewide .xcd
> snippet into /path/to/libreoffice/basis3.3/share/registry to overwrite
> defaults, e.g. see tools->options->math->settings and in libreoffice
> they are all off by default, stick this attachment
> into /path/to/libreoffice/basis3.3/share/registry and restart and format
> text and title row should be now toggled "on" by default.
>
> C.

--
Olivier Hallot
Founder, Steering Commitee Member - The Document Foundation
Voicing the enterprise
Translation Leader for Brazilian Portuguese
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Clio-2 Clio-2
Reply | Threaded
Open this post in threaded view
|

Re: XCU and XCS files in recent releases

It seems XCU were renamed to XCD (D - default). XCD - default registry
values.
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Caolán McNamara Caolán McNamara
Reply | Threaded
Open this post in threaded view
|

Re: XCU and XCS files in recent releases

In reply to this post by Olivier Hallot
On Mon, 2011-03-28 at 15:59 -0300, Olivier Hallot wrote:
> Hi Caolán
>
> The result should be the elimination of the "create new database" in
> Base new database assistant.

Try this attached .xcd, stick it in beside the other snippets in
basisX.Y/share/registry and see if it does what you want.

C.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

nonewlocaldbs.xcd (927 bytes) Download Attachment
Olivier Hallot Olivier Hallot
Reply | Threaded
Open this post in threaded view
|

Re: XCU and XCS files in recent releases

Thank you indeed Caolan, it works perfectly.

I am ttill on duty to 1) catch the new config tricks, and 2) put into an
extension. :-)

Regards
Olivier


Em 31-03-2011 13:04, Caolán McNamara escreveu:

> On Mon, 2011-03-28 at 15:59 -0300, Olivier Hallot wrote:
>> Hi Caolán
>>
>> The result should be the elimination of the "create new database" in
>> Base new database assistant.
>
> Try this attached .xcd, stick it in beside the other snippets in
> basisX.Y/share/registry and see if it does what you want.
>
> C.

--
Olivier Hallot
Founder, Steering Commitee Member - The Document Foundation
Voicing the enterprise needs
LibreOffice translation leader for Brazilian Portuguese
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice