[Libreoffice-bugs] [Bug 40499] New: Autotext Numbered formula

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 30 22:38:34 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=40499

           Summary: Autotext Numbered formula
           Product: LibreOffice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: Writer
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: jumbo4444 at yahoo.fr


Created an attachment (id=50701)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=50701)
Replacement for en-US: autotext\lang\en-US\standard.bau

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\FN\Obj0012D655\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\FN\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="#./Obj0012D655"
xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/></text:p> 

This modification should be adapted to each locale: the name of the autotext
may differ with locale, as well as directory name of the formula.

Standard.bau is unzipped, modified, rezipped, and attached to this bug for each
locale.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list