Andreas,
Andreas Säger wrote:
Where is the macro stored? Obviously you store it in the template and 
all resulting documents from that template inherit the macro.
When you store a new document from that template in some untrusted 
location, the macro can not be trusted anymore.
I assume the macro is stored in the particular document I wanted to 
change.  I used the process in the 3.4 Writer Guide, "Updating a 
Document From a Changed Template" attempting to change that document's 
template update flag.  In this document and some others, in the past I 
must have clicked on "Keep Old Styles" in the popup and according to the 
Writer Guide, that sets a flag to never allow template updates again for 
the document.  Apparently, the only way to re-enable it is to run this 
BASIC Macro to set the "oDocSettings.UpdateFromTemplate" flag to 
"True".  It is supposed to cancel the "Keep Old Styles" selection.  The 
macro function is called "FixDocV3" if that helps.
I just realized that this is a *BASIC* macro, not the usual keystroke 
type macro.  That difference may have confused you and other users when 
reading my message.  Does a BASIC macro have a different security option 
somewhere?
Not knowing what the file format is, is it possible to unzip the 
document and search for "UpdateFromTemplate" and edit it to "True", as 
an alternate to the BASIC macro?
If "UpdateFromTemplate" is hard-coded into the document rather than the 
symbolic name, I would need to know where it is in the document to 
change it, which I don't know.
Thanks.
Girvin
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.