Re: [libreoffice-users] Restore Default AutoCorrect Settings

2021-03-20 Thread Dave Barton
On 20/03/2021 08:55, Luuk wrote:
> 
> On 19-3-2021 19:55, Dave Barton wrote:
>> On 19/03/2021 17:36, Luuk wrote:
>>> On 19-3-2021 18:03, Dave Barton wrote:
 I make a full backup of my main Windows 10 production machine every
 week
 and store those backups for at least 3 weeks. For many years I have
 found this to be a good insurance policy against most forms of
 corruption. Unfortunately, LO has succeeded in defeating the
 benefits of
 this policy.

 For the past 3 weeks I have been working, mostly with Writer, in
 blissful ignorance of the fact that my profile has been partially
 corrupted. I say partially, because only the default "AutoCorrect >
 Replace" options have disappeared, while the rest of my extensive
 profile remains in perfect working order. Obviously, this condition has
 existed for a least 3 weeks, because restoring my profile from backups
 does not resolve the issue.

 I really would like to avoid the pain of fully rebuilding my profile
 from scratch, so if anyone can offer any pointers or tips about
 restoring just I would be
 extremely grateful.

 Regards
 Dave
>>>
>>> You profile is stored in:
>>>
>>> C:\Users\\AppData\Roaming\LibreOffice\4
>>>
>>> you can rename this directory, and restart LO, then this directory will
>>> be re-created (with the default).
>>>
>>> Now you only have to find out where the autocorrect settins are in this
>>> profile (if there are any...)
>>>
>>> On my system the autocorrect things seem to be stored in:
>>>
>>> "C:\Users\Luuk\AppData\Roaming\LibreOffice\4\user\autocorr\acor_nl-NL.dat"
>>>
>>>
>>> At least, that was my conclusion when opening that file with 7-zip, and
>>> seeing the contents of 'DocumentList.xml' which did contains a manually
>>> added entry in the auto correct list.
>> Hi Luuk,
>>
>> Thanks for taking the time to reply. I fully understand the structure of
>> the user profile and I see acor_en_GB.dat and acor_en_US.dat in the
>> autocorr subdirectory.
>>
>> Fixes I have tried:
>>
>> * Delete one or both those dat files, with a full system restart each
>> time.
>>
>> * Delete both the dat files and replace them with copies from a new
>> install on an identical machine.
>>
>> All failed to restore the default "AutoCorrect > Replace" options.
>>
>> There has to be some other configuration setting in the profile that
>> influences this option.
>>
>> Getting late here, so tomorrow I will spend a "less than enjoyable" day
>> reconstructing my profile and writing a program to trigger a backup of
>> my good profile _*BEFORE*_ LO ever starts and gets the opportunity to
>> attack and corrupt my profile again.
>>
>> Regards
>> Dave
> 
> 
> Hi,
> 
> Maybe too late, but the path under Tools/Options/"LibrOffice/Paths"
> 
> has an "AutoCorrect" setting, which should be set to the UsersPath:
> 
> "C:\Users\\AppData\Roaming\LibreOffice\4\user\autocorr"
> 
> The internalpath is set to:
> 
> "C:\Program Files\LibreOffice\program\..\share\autocorr"  (or:
> "C:\Program Files\LibreOffice\share\autocorr")
> 
> In this latest directory i do see all default autocorrect files for
> different languages.
> 
> But unfortunately there seems to be another setting missing?

Hi Luuk,

Many thanks for following up on this.

Yes, the "C:\Program Files\LibreOffice\share\autocorr" directory holds
all the language masters of the acor_xx_xx.dat files and as the user
profile languages are added the relevant acor_xx_xx.dat files are copied
to "C:\Users\\AppData\Roaming\LibreOffice\4\user\autocorr".

Manually copying acor_en_GB.dat and acor_en_US.dat to my profile
"C:\Users\\AppData\Roaming\LibreOffice\4\user\autocorr" did
not resolve my issue.

However. I have now succeeded in rebuilding my profile and I have
written a new profile backup and LO launch program.

Regards
Dave

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Restore Default AutoCorrect Settings

2021-03-20 Thread Luuk


On 19-3-2021 19:55, Dave Barton wrote:

On 19/03/2021 17:36, Luuk wrote:

On 19-3-2021 18:03, Dave Barton wrote:

I make a full backup of my main Windows 10 production machine every week
and store those backups for at least 3 weeks. For many years I have
found this to be a good insurance policy against most forms of
corruption. Unfortunately, LO has succeeded in defeating the benefits of
this policy.

For the past 3 weeks I have been working, mostly with Writer, in
blissful ignorance of the fact that my profile has been partially
corrupted. I say partially, because only the default "AutoCorrect >
Replace" options have disappeared, while the rest of my extensive
profile remains in perfect working order. Obviously, this condition has
existed for a least 3 weeks, because restoring my profile from backups
does not resolve the issue.

I really would like to avoid the pain of fully rebuilding my profile
from scratch, so if anyone can offer any pointers or tips about
restoring just I would be
extremely grateful.

Regards
Dave


You profile is stored in:

C:\Users\\AppData\Roaming\LibreOffice\4

you can rename this directory, and restart LO, then this directory will
be re-created (with the default).

Now you only have to find out where the autocorrect settins are in this
profile (if there are any...)

On my system the autocorrect things seem to be stored in:

"C:\Users\Luuk\AppData\Roaming\LibreOffice\4\user\autocorr\acor_nl-NL.dat"

At least, that was my conclusion when opening that file with 7-zip, and
seeing the contents of 'DocumentList.xml' which did contains a manually
added entry in the auto correct list.

Hi Luuk,

Thanks for taking the time to reply. I fully understand the structure of
the user profile and I see acor_en_GB.dat and acor_en_US.dat in the
autocorr subdirectory.

Fixes I have tried:

* Delete one or both those dat files, with a full system restart each time.

* Delete both the dat files and replace them with copies from a new
install on an identical machine.

All failed to restore the default "AutoCorrect > Replace" options.

There has to be some other configuration setting in the profile that
influences this option.

Getting late here, so tomorrow I will spend a "less than enjoyable" day
reconstructing my profile and writing a program to trigger a backup of
my good profile _*BEFORE*_ LO ever starts and gets the opportunity to
attack and corrupt my profile again.

Regards
Dave



Hi,

Maybe too late, but the path under Tools/Options/"LibrOffice/Paths"

has an "AutoCorrect" setting, which should be set to the UsersPath:

"C:\Users\\AppData\Roaming\LibreOffice\4\user\autocorr"

The internalpath is set to:

"C:\Program Files\LibreOffice\program\..\share\autocorr"  (or: "C:\Program 
Files\LibreOffice\share\autocorr")


In this latest directory i do see all default autocorrect files for different 
languages.


But unfortunately there seems to be another setting missing?


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy