The remove part is fairly obvious to regenerate the files I believe you need to reinstall the extensions. For packaged extensions you can do this via apt-get install --reinstall (package name) for manually installed extensions reinstall them via the extension manager in OpenOffice.org
The remove part is fairly obvious to regenerate the files I believe you need to reinstall the extensions. For packaged extensions you can do this via apt-get install --reinstall (package name) for manually installed extensions reinstall them via the extension manager in OpenOffice.org