[Libreoffice] Update of AutoText "numbered formula"

jumbo444 jumbo4444 at yahoo.fr
Mon Aug 29 10:50:00 PDT 2011


Hello,

AutoText "numbered formula" in Writer suffers from two points that I like to
raise, with their solutions:
- OOo issue 75665 
http://openoffice.org/bugzilla/show_bug.cgi?id=75665  inserted formula is
pre-formated with text in italic which is not the default behavior.
=> in standard.bau, you should modify:
standard.bau\NF\Obj0012E65F\settings.xml : remove lines 12 and 13
 <config:config-item config:name="FontTextIsItalic"
config:type="boolean">true</config:config-item>
 <config:config-item config:name="FontVariablesIsItalic"
config:type="boolean">true</config:config-item>
- a space character is inserted after the formula
=> file standard.bau\NF\content.xml is wrong formated: a carriage return
should be removed before </text:p> (line 48), so that lines 47 and 48 should
be only one line:
 <text:p text:style-name="P1"><draw:object draw:style-name="fr1"
draw:name="Objekt4" text:anchor-type="as-char" svg:x="0cm"
svg:width="1.496cm" svg:height="0.577cm" draw:z-index="1"
xlink:href="#./Obj0012E65F" xlink:type="simple" xlink:show="embed"
xlink:actuate="onLoad"/></text:p> 

I made the modifications for the fr locale (the name of the autotext may
differ with locale, as well as directory name of the formula), and tested
with several versions of LibO and OOo under Windows and Linux and it works
well. 

My question is how could this contribution be integrated in LibO. There is
25 locales where standard.bau is present in autotext. I'm ready to build all
the 24 other files, but in which form could I upload them?

Many thanks for your attention.

Laurent BP

-----
LibreOffice 3.3.2
--
View this message in context: http://nabble.documentfoundation.org/Update-of-AutoText-numbered-formula-tp3293296p3293296.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list