Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Petr Mladek píše v St 07. 12. 2011 v 14:58 +0100:
Petr Mladek píše v Út 06. 12. 2011 v 19:57 +0100:
I see that it even creates the file ~/.libreoffice/3/MIGRATED.
Well, I am not sure if it really migrates the options.

Hmm, It did not really migrate the options :-(

I hacked MigrationImpl::copyConfig to use user/registrymodifications.xcu
instead of the single .xcu files. It did not help. It must be more
complicated.

I see that the user/registrymodifications.xcu is in another format:

--- cut user/registrymodifications.xcu ---
<oor:items xmlns:oor="http://openoffice.org/2001/registry";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <item oor:path="/org.openoffice.Office.Common/Internal">
    <prop oor:name="CurrentTempURL" oor:op="fuse">
      <value/>
    </prop>
  </item>
  <item oor:path="/org.openoffice.Office.Common/Misc">
    <prop oor:name="FirstRun" oor:op="fuse">
      <value>false</value>
    </prop>
  </item>
--- cut user/registrymodifications.xcu ---

in compare with the old .xcu files:

--- cut user/registry/data/org/openoffice/Setup.xcu ---
<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="L10N">
  <prop oor:name="ooLocale" oor:type="xs:string">
   <value>en-US</value>
  </prop>
 </node>
 <node oor:name="Office">
  <prop oor:name="LastCompatibilityCheckID" oor:type="xs:string">
   <value>320m18(Build:9502)</value>
  </prop>
--- cut user/registry/data/org/openoffice/Setup.xcu ---


Does anyone has a better knowledge of this pice of code?

This question is still valid :-)

Best Regards,
Petr


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.