Hi,

Just as an additional reference: Have a look in issue 59205 and the
other one mentioned in that one.

Thomas



Gvarek Naskov wrote:

> Dear OOo developers,
> 
> I have a question that I asked on the OOo community forum, but I was advised 
> to forward it here.
> 
> I am trying to automatically produce documents in Open Document Format (ODF) 
> and to open them in OOo Writer. Everything is working great, except for the 
> size of the mathematical formula.
> 
> In the content.xml file, I put a MathML formula in a draw:frame object, like 
> this:
>     <draw:frame
>       draw:name="Objekt1"
>       text:anchor-type="as-char"
>       svg:width="2.972cm"
>       svg:height="1.138cm"
>       draw:z-index="0">
>       <draw:object>
>         <math:math>
>     [... MathML content here ...]
>         </math:math>
>     </draw:object>
>     </draw:frame>
> 
> The problem is that I do not know the size of the formula, so I figured I 
> would just remove the svg:width and svg:height attributes:
>     <draw:frame
>       draw:name="Objekt1"
>       text:anchor-type="as-char"
>       draw:z-index="0">
> This worked fine with OOo Writer 2.3 in Linux: it would automatically resize 
> all formulas upon loading. Now that I have upgraded to OOo 2.4, it does not 
> work so well anymore: all the equations are tiny and I do not know how to 
> tell OOo Writer to scale them automatically. Nevertheless, the equations are 
> there, and if I double-click on them, they are correctly resized; but I do 
> not want to do that if the document contains hundreds of equations.
> 
> Do you know how to solve this problem? Is there a special attribute in 
> draw:frame or draw:object that I can use for this? Or is there a way to tell 
> Writer to query OOo Math for the size, instead of relying on the 
> svg:width/svg:height attributes?
> 
> For more details, you can find a sample document and screenshots here:
> http://user.services.openoffice.org/en/forum/viewtopic.php?f=30&t=7509
> 
> Thanks and kind regards,
> Gvarek
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to