вторник, 27 октября 2009 г.

Open Office org применение шаблонов.

После перевода своей ОС на Eng интерфейс, стало раздражать, что Open Office org стал упорно создавать каждый новый документ применяя к нему формат Letter. При отправке на печать такого документа, принтер уходил в ступор, менять каждый раз руками быстро надоело...

Решено было разобраться.

1: Убеждаемся, что в настройках принтера установлен размер бумаги A4.

2: cat /etc/papersize
a4


Должно быть a4 как у меня. В современной Ubuntu похоже этот файл игнорируется, но всё же.

Скорее всего этого для Open Office org будет не достаточно.

3: http://openoffice.blogs.com/openoffice/2008/11/making-a-specific-template-come-up-when-you-create-any-new-document-in-openofficeorg-writer-calc-impress-or-draw-repost.html Нашёл решение, и даже с картинками. Оказывается, есть очень удобная вещь в OOo называемая шаблонами пользователя.

Буду по Английски цитировать далее:

Anytime you can help people do something without actually have them do anything is great for them and great for you.

Templates are a great way to save time. Set up templates with the styles, graphics, etc. that people need, and they don't need to re-create them. (Or create them in the first place.)

However, getting users to use the templates is another step. For them, choosing File > New > Templates and Documents might not be something some will want to do or remember to do every time.

What if one of the templates you've created is one that many or all users use all the time as the basis for new documents? You can make it come up when users just choose File > New > [type of document] by setting it as the default template. I.e. the user uses the template but doesn't even need to select it.

First, create a new document and make it how you want it: create styles, apply styles, include canned text, whatever.

Choose File > Templates > Save. Select a category and name the template. Click OK.

Choose File > Templates > Organize.

Open the category your template is in, in the left side.

Right-click on the template and choose Set as Default Template.


Соответственно мы создали новый шаблон, со ВСЕМИ настройками, включая размер бумаги. Можно даже умолчательный текст чтобы был в документе. Ну и конечно любые шрифты и форматирование. Это будет экономить Вам много времени. И теперь печататься будет всё как надо! Очень понравилась заметка. Надеюсь и Вам поможет.

2 комментария:

mike комментирует...

мерси за совет

mike комментирует...

спасибо за совет