Mikhail Voitenko wrote:

> Hi Jean,
> 
> The problems seems not to be reported till now.
> I have just submitted a new issue for the problem you have described:
> http://www.openoffice.org/issues/show_bug.cgi?id=63440

The problem lies in documents created with OOo2.0.2. A fix will be
available for 2.0.3. You will have to fix documents created with 2.0.2
though because the fix only can prevent the creation of further
documents containing the error. Fortunately you can fix your documents
already now and get the updating procedure back. Please do it in the
following way:

Load the document you want to fix, execute the following macro on it:

Sub FixDocument
  TemplateName = ThisComponent.DocumentInfo.Template
  if TemplateName <> "" then
    ThisComponent.DocumentInfo.Template = TemplateName
  end if
End Sub

and then save the document. Next time when you open this document you
will have the update from template feature back.

This strange looking macro will set an internal switch in the document
meta data that enables the template update procedure.
BTW: the same macro will re-enable the update procedure in case you have
switched it off by answering the question "do you want to update your
styles" with "No".

You can execute this macro on every document if you want (e.g. by
assigning it to the "OnLoad" event on application level), if the
document is not based on a template it will not be modified by this macro.

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to