OpenOffice (Русский)

From ArchWiki

Jump to: navigation, search
Image:Tango-preferences-desktop-locale.png This page was marked to be translated.
If you understand both "original" and "target" languages of this page, please help complete the translation.
i18n
English
Italiano
Ελληνικά
Русский
简体中文
Português
Türkçe

Contents

Введение

OpenOffice.org - лидирующий проект с открытым исходным, предоставляющий комплекс программ, для решения офисных задач, таких как: работа с текстом, таблицами, презентациями, графикой, базами данных и т.д.

Arch, предлагает 4 вида подготовленых пакетов для OpenOffice с разными названиями:

openoffice-base

Это всегда последняя стабильная версия OpenOffice.
Текущая версия: 3.1.0
Запустить можно командой "soffice" или с панели запуска Рабочего Стола

openoffice-base-beta

Этот пакет позволяет посмотреть новые возможности, которые будут реализованы в будущих релизах. Он проходит несколько стадий: альфа, бета и кандидат в релизы, для последующего перемещения в стабильный релиз. Текущая версия: 3.1.1_ooo310_m17-1 (переместится в =3.1.1rcX) Запустить можно командой "soffice-beta" или с панели запуска Рабочего Стола
Можно установить совместно со стабильной версией. Будьте осторожны при тестировании, пишите об ошибках OpenOffice и пакета сборки в наш багтрекер. С планами можно ознакомится на http://wiki.services.openoffice.org/wiki/OOoRelease311

openoffice-base-devel

Этот пакет обновляется время от времени и является рабочим полигоном для сборщика пакетов, а также для любителей тестировать новые возможности. О проблемах, найденных в программе сообщайте в основной трекер http://www.openoffice.org/issues/query.cgi Текущая версия: 3.2_dev300_m55-1 / снимок DEV300_m55 (снимок прошлой ветки релиза 3.1, со временем заменяющиййся веткой 3.2) Запустить можно командой "soffice-dev" или с панели запуска Рабочего Стола. Можно установить совместно со стабильной и бета версиями. С планами можно ознакомится на http://wiki.services.openoffice.org/wiki/OOoRelease32

go-openoffice

В дополнение к этим пакетам есть пакет go-openoffice, также называемый ooo-build - "форк от Novell" находящийся в репозитории extra, с включенымми расширениями и возможностями, доступных в Ubuntu, OpenSuSE и других дистрибутивах. Для тех пользователей Arch, которые перешли на него с других дистрибутивов, go-openoffice может показаться более привычным. It will always be the latest stable release in extra based on the source of openoffice-base pkg. Future beta/devel versions will go to the testing repo.
Right now go-openoffice cannot be installed along any other openoffice branch. It's a replacement.

Note: Если вы используете более чем одну версию openoffice-base, настоятельно рекомендуется всегда создавать резервную копию папки ~/.openoffice{2,3} !

Установка

  • Сначала установите Java Runtime Environment (это опционально, но все же очень рекомендуется), either the GPLed free one or the closed one from SUN:
# pacman -S openjdk6 / jre 
  • Убедитесь, что перечисленные шрифты установлены, иначе увидите вместо букв прямоугольники:
# pacman -S ttf-dejavu artwiz-fonts ttf-ms-fonts (и любые другие, которые нжны для поддержки вашего языка)
  • Загрузите стабильную версию — base и/или beta и/или devel и/или go-oo:
# pacman -S openoffice-base openoffice-base-beta openoffice-base-devel go-openoffice.
  • Загрузите языковой пакет, главный пакет содержит только файлы для локали en_US. We offer now all upstream shipped langpacks. На сегодня языковые пакеты для go-openoffice не предоставляются.
# pacman -S openoffice-en_GB openoffice-de ....


Управление расширениями и проверка правописания в OpenOffice 3.x

Пакет Arch поставляется с некоторыми словарями. Запустите Управление расширеними (Extension manager), нсли ваш язык там уже присутствует, simply by loading up any OO program (Writer for example) and access the Extension Manager from the Tools menu. From there enter the following location to install a spell check dictionary:

/usr/lib/openoffice/share/extension/install

Alternatively, there are several ways to accomplish this:

  • 1) Use the Extension manager from OOo menu for download and installation - installs only for the user into his ~/.openoffice.org/3/user/uno_packages/cache
  • 2) Download the extension and install it using "unopkg add extension" for the user or
  • 3) Download the extension and install it using "unopkg add --shared extension" for every user on the system (requires root permission)

French dictionary

As of openoffice 3.0.0-2 the french dictionary is buggy due to a character encoding problem. To solve this problem, first execute the following commands (you'll need zip and unzip packages):

$ cp /opt/openoffice/share/extension/install/dict-fr.oxt dict-fr.oxt
$ unzip dict-fr.oxt -d dict-fr
$ cd dict-fr
$ iconv -f ISO-8859-15 -t UTF-8 dictionaries.xcu > dictionaries.xcu.utf
$ mv dictionaries.xcu.utf dictionaries.xcu
$ zip ../dict-fr.oxt *
$ cd ../
$ rm -r dict-fr

then go in the openoffice extension manager (Tools menu) and install the dictionary from the new dict-fr.oxt file.

Set OOo environment variable

OpenOffice supports to use several toolkits for drawing and integrates into different desktop environments in a clean way. To choose by hand, you need to set the OOO_FORCE_DESKTOP environment variable.

To run OpenOffice.org in GTK2 mode(this is default and already preset), you can issue (using bash):

 # OOO_FORCE_DESKTOP=gnome soffice

To run OpenOffice.org in QT/KDE3 mode, you can issue (using bash):

 # OOO_FORCE_DESKTOP=kde soffice

To run OpenOffice.org in QT4/KDE4 mode, you can issue (using bash):

 # OOO_FORCE_DESKTOP=kde4 soffice
Note: As KDE look was removed in Openoffice3 it is highly recommended to use the GTK mode for all users. KDE4 integration is in experimental state in go-openoffice and in openoffice-base-devel (starting from m56)

Configure globally

To configure the look for anytime OpenOffice gets started, you can export the variable in /etc/profile.d/openoffice.sh.

Environment variable scripts

If for whatever reason you don't want to configure the look globaly, as a non-gnome/kde user you may run into problems when trying to add the environment variable to the command in a *box menu, as such menus don't seem to like environment variables.

This script will run openoffice using the GTK look while still accepting command line options like -writer.

 #!/bin/sh
 
 #### openoffice-gtk - A script to start openoffice with the GNOME/GTK environment
 
 OOO_FORCE_DESKTOP=gnome /usr/bin/soffice "$@"

Just use this script as a command (e.g, /usr/bin/openoffice-gtk) for your menu or whatever other sort of launcher you use.

Note: If you open a file in a filemanager, for example Thunar, the default look will be used, as the file association will not use your personal script.

KDE4 look & feel for OpenOffice

OOO_FORCE_DESKTOP=gnome never did the trick for me. A good workaround is to set (as root):

export SAL_GTK_USE_PIXMAPPAINT=1

into /etc/profile.d/openoffice.sh. In KDE4 systemsettings, make sure "use my KDE style in GTK applications" is selected in Appearance > GTK styles and fonts (you must install gtk-qt-engine first).

Running OpenOffice

If you want to run a specific module of OpenOffice.org (instead of the soffice default Startcenter), for example the word processor (Write), spreadsheet application (Calc) or presentation program (Impress), check for the following script front-ends:

Writer

 /usr/bin/soffice -writer

Calc

 /usr/bin/soffice -calc

Impress

 /usr/bin/soffice -impress

Draw

 /usr/bin/soffice -draw

Math (Formula Editor)

 /usr/bin/soffice -math

Base (Database frontend)

 /usr/bin/soffice -base

Printer Administration (Recommended to run as root)

 /usr/bin/spadmin

Known Problems

  • qt look'n feel since kde4 release, go-openoffice and openoffice-base-devel have kde4 integeration
  • Rendering problems with some dark GTK themes and gtk-qt-engine. For a dirty fix, see openoffice-dark-gtk-fix or if you have go-openoffice see go-openoffice-dark-gtk-fix on the AUR. This also sets OOO_FORCE_DESKTOP=gnome.
Personal tools