https://bugs.freedesktop.org/show_bug.cgi?id=32419
--- Comment #7 from Yury <yury.tarasievich@gmail.com> ---
Would the hacky scripts changing settings formula objects still work in
libreoffice 4.1 and libreofficedev 4.2 ? I've been happily using python
variation of somebody's code I've seen on forumas or something, going like: 
import uno
def SameFontSettingsForAll( ):
  oDoc = XSCRIPTCONTEXT.getDocument()
  all_embeds = oDoc.getEmbeddedObjects()
  all_embeds_cnt = all_embeds.getCount()
  for i in xrange(0,all_embeds_cnt) :
    embedded = all_embeds.getByIndex(i);
    if embedded.Model.supportsService("com.sun.star.formula.FormulaProperties")
:
...
But in libreoffice 4.1 and libreofficedev 4.2 this fails with explanation:
global name 'xrange' is not defined
What should I change?
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Context
- [Bug 32419] When inserted on Writer, get "Base size" for formulas	from underlining paragraph · bugzilla-daemon
 
  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.