Skip to content

You are not logged in. Register orLog In

start:

This page is outdated. You will be redirected to http://wiki.services.openoffice.org /wiki/Documentation/FAQ shortly.

Documentation / User FAQ / Writer / Previous-Next

How to re-enable update of template style in OpenOffice.org 2.0.2?

  • Open the document you want to fix in OpenOffice.org
  • 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.
  • Click New
  • Name the macro. For example, you could call it FixDocument.
  • Click the Edit button and enter the following in the IDE.
    Sub FixDocument
    TemplateName = ThisComponent.DocumentInfo.Template
    if TemplateName <> "" then
    ThisComponent.DocumentInfo.Template = TemplateName
    end if
    End Sub
  • Click the Run icon
  • Finallly save the document.

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

This is issue 63320

Documentation / User FAQ / Writer / Previous-Next