:-( Wow! After seeing what a hash the copy-paste-email made of my code, I got worried
about what Writer might do to it, too. So I went back to the IDE, reformatted (broke the
long line myself) and retested it, just in case I ever need to produce a useful little
code-ling. Herewith, the results.
Sub FixDocV3
' set UpdateFromTemplate
oDocSettings = ThisComponent.createInstance( _
"com.sun.star.document.Settings" )
oDocSettings.UpdateFromTemplate = True
End Sub 'FixDocV3
--
T. J. Frazier
Melbourne, FL
(TJFrazier on OO.o)