Apache OpenOffice (AOO) Bugzilla – Issue 42119
Is any way to apply font size to all formulas i used in text document?
Last modified: 2008-03-26 14:52:17 UTC
Currently it is possible to apply style on new entered formulas. It should be way how to apply style (font, font size) on already antered formulas. I have article with 200 formuleas. I used default style for entering formulas (font size 12pt). But according journal requirements, formulas must use font size 10pt. Now i have manualy rewrite all formulas... :(
OO definitely needs a way to format Fonts/Fontsizes for MORE THAN ONE formula AFTER these have been inserted into document. Reassigned to "requirements".
I would love if such a feature could be implemented through a style mechanism. This way, equations copied from a different document could automatically inherit the fonts and base font size of the current document, unless a manual override is specified.
The feature request for formula styles is also in issue 5092 and issue 12885. Shouldn't we collect this request in one issue?
A useful workaround for the time being might be to use a macro: Sub Main embeddedObjects = ThisComponent.getEmbeddedObjects() elementNames = embeddedObjects.getElementNames() for i=0 to UBOUND(elementNames) element = embeddedObjects.getByName(elementNames(i)).Model if (element.supportsService("com.sun.star.formula.FormulaProperties")) then element.BaseFontHeight = 20 endif next i ThisComponent.reformat() End Sub
The macro should work fine with OOo 2.x (at least with OOo 2.3 and 2.4).
Duplicate of issue 5092. *** This issue has been marked as a duplicate of 5092 ***
Closing duplicate.