Hi Dale,
Dale Erwin schrieb:
All this talk about styles has reminded me of a question I have had for
some time.
I have found no way to directly edit a template. All I've been able to
do is open a new document based on that new template, then without
naming the document or adding content to the document, I modify the
styles I need to modify and then save it again which overwrites the
original template of the same name.
So my question is: After I do this, will documents created on this
template before the template change be automatically updated to reflect
the changes in these modified styles?
Have a look at File > Templates. There you have items to save and to
edit templates. The item Organizer gives you a tool to move and copy
(hold Ctrl-key pressed) styles between templates and documents. Look
under "Command" in the Organizer to get further features, especially
setting a template as default template.
The other place to handle templates is in File > New > Templates and
Documents. When you have selected a template, then the Edit button is
enabled and you can edit the template itself.
On Windows you get this "Edit" too, when you use the Windows explorer
and right click on the file of the template. You get a lot of options.
One of them is a bold NEW. That is the default action for double click
and that generates a document based on this template. But there is
another item OPEN. And that will open the template itself for editing.
Whether a document reacts on changes in the template depends on the
fact, whether the document has stored the information about its
template. For a first hint open the document and look in File >
Properties. On tab General the last line Template should have the name
of the template. If that line is empty, the document has lost the
information from which template is was generated or it was generated
without a specific template.
For more details you need to look into the source of the document. You
can open it using an unpacker like 7-Zip. You will see a file meta.xml.
It contains the information about the template. The information is in
the node meta:template. Both the xlink:title and the xlink:href have to
be correct. So if you change a title of a template or save a template in
a different folder, then the document will not find its template.
If your problem is mostly about text documents, then you can try the
extension "Template Changer" to assign a different template to a
document. http://extensions.openoffice.org/en/project/template-changer
If the document has a correct template information and the template has
changed, then the document will ask you to update its styles on opening.
If the template is not available when you open the document, then you
will be ask, whether you want to detach the document from the template.
Kind regards
Regina
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org