blob: 417d84e7df38636b13a03f454d1ed8ab4a8e3db5 [file] [log] [blame]
<meta http-equiv="REFRESH" content="10;url=http://wiki.services.openoffice.org/wiki/Documentation/FAQ">
<h3>This page is outdated. You will be redirected to <a href="http://wiki.services.openoffice.org/wiki/Documentation/FAQ">http://wiki.services.openoffice.org
/wiki/Documentation/FAQ</a> shortly.</h3>
<div style="margin-bottom: 10em;"></div>
<p><a href="../../index.html">Documentation</a> / <a href="../index.html">User FAQ</a> / <a href="index.html">Writer</a> / <a href="049.html" accesskey="p">Previous</a>-<a href="050.html" accesskey="n">Next</a></p>
<h3>
How to re-enable update of template style in OpenOffice.org 2.0.2?
</h3>
<ul>
<li>Open the document you want to fix in OpenOffice.org</li>
<li>Use Tools > Macros > Organize Dialogs > Modules and select the document from the list and Standard module or use Tools > Macros > Organize Macros >OpenOffice.org BASIC and select the document from the list and Standard module.</li>
<li>Click New</li>
<li>Name the macro. For example, you could call it FixDocument.</li>
<li>Click the Edit button and enter the following in the IDE.<br>
Sub FixDocument<br>
TemplateName = ThisComponent.DocumentInfo.Template<br>
if TemplateName <> "" then<br>
ThisComponent.DocumentInfo.Template = TemplateName<br>
end if<br>
End Sub</li>
<li>Click the Run icon</li>
<li>Finallly save the document.</li>
</ul>
<p>
Next time when you open this document you
will have the update from template feature back.</p>
<p>This is issue <a href="http://www.openoffice.org/issues/show_bug.cgi?id=63320">63320</a>
<p><a href="../../index.html">Documentation</a> / <a href="../index.html">User FAQ</a> / <a href="index.html">Writer</a> / <a href="049.html" accesskey="p">Previous</a>-<a href="051.html" accesskey="n">Next</a></p>