Issue 42089

Summary: Equations in impress
Product: Impress Reporter: tamasrs <tamasrs>
Component: viewingAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: IngridvdM, issues
Version: 680m77   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
original oo1.1.3 file and its pdf out and the pdf out from m7 and its imported odp file none

Description tamasrs 2005-02-05 02:52:37 UTC
There is a file made in OO 1.1.3 with lots of equations. The import is failed..
The equtions are in changed color set and distorted. The slide show view will
crash the 680m77. 
( there is no option to change back the color of the eguations font
-> new feture? )
Comment 1 tamasrs 2005-02-05 02:56:28 UTC
Created attachment 22231 [details]
original oo1.1.3 file and its pdf out and the pdf out from m7 and its imported odp file
Comment 2 wolframgarten 2005-02-07 08:43:23 UTC
Reproducible.
Comment 3 wolframgarten 2005-02-07 08:44:19 UTC
Reassigned. OLEs get different color (black instead of white) and distorted
structure). 
Comment 4 wolframgarten 2005-02-07 10:14:02 UTC
Target changed.
Comment 5 clippka 2005-02-09 11:15:26 UTC
IHA, please take over
Comment 6 IngridvdM 2005-02-09 12:14:33 UTC
I will have a look.
Comment 7 ooo 2005-02-25 20:29:30 UTC
set to OOo 2.0.1
Comment 8 tamasrs 2005-02-28 16:46:20 UTC
I've supprised to not finish this issue in oo 2.0 since, (if you've not checked
already) in full screen mode(slide show) the oo will crash using my attached
files!!  In case the impress will be useless w/o equation support in some many
fields.
I guess the M$ like, rush to finish a product is not a good decision :(.


TRS

Comment 9 ooo 2005-02-28 17:19:03 UTC
reset target to OOo 2.0
Comment 10 IngridvdM 2005-03-21 16:12:53 UTC
I cannot reproduce the crash on src680m85.
Comment 11 IngridvdM 2005-03-21 18:55:33 UTC
I wrote a separat Issue 45689 for the distorted formulas. It is possible to work
around that problem with inserting spaces in the formula.
Comment 12 IngridvdM 2005-03-21 18:59:31 UTC
Now only the color problem remains for this issue.

I am not able to fix this in time as the problem is caused by lost basic
functionality.
CL-> Back to you as requested.
Comment 13 clippka 2005-03-22 08:55:14 UTC
CL the problem with the color is as follows

In the past OOo loaded its ole objects each time for painting. This changed
completly with the integration of cws mav09. There was a performance
optimization that now not the applications draw the ole objects but the
framework does it and keeps a metafile.

When recording the metafile, also the automatic colors are resolved. This worked
in the past as the applications would set the current background color to the
output device used for rendering the ole objects. Now the framework creates an
output device itself for recording the metafile and it does not now about the
color behind the ole object.

A solution would be to add the current background color as a parameter to the
objects GetGraphic method. The background color used during recording the
metafile must also be cached and if the application requests a metafile with a
different background color the ole object must be recorded again.

This solution has an open problem how to store the background color used for
rendering in the file format. As it is not realy the background color of the
recorded metafile (the metafile itself should be transparent) it must be marked
as something else. Maybe a reference background color or something.

To fix it this way or thing about another way to fix it takes to much time and
is to risky for OOo 2.0 final. Therefore I change the target to OOo 2.0.1 as
discussed with tz
Comment 14 IngridvdM 2005-03-22 13:19:21 UTC
add me as cc as this is a general ole color problem which effects the chart also
Comment 15 tamasrs 2005-03-24 06:09:31 UTC
Is it possible for simple solution (to use equation in presentations) to  
change the color of the Ole objects? If the user can change an equation's  
color by h/self might be a better solution than checking the background. 
IMHO this will be the best way to solve this problem. 
 
Regards, 
 
TRS   
Comment 16 IngridvdM 2005-03-24 10:19:44 UTC
I found out that it is possible to change the color. If you want the formula to
be white edit the formula to:
color white{OLDFORMULA}
There is only a very limited set of possible standard colors.
Comment 17 tamasrs 2005-03-24 18:31:43 UTC
Yes, I can change the color of the equations, and the distorted equations are
good now ( as you described, only inserting some spaces).
No crashes with src680m87 at all. Nice work, thanks.

Comment 18 tamasrs 2005-03-24 18:40:02 UTC
There is one more problem. Open the impress file in m7issue.tar.gz. The blue
backround  is changed. The upper part which creates a trasition from dark blue
to navy blue is some how ugly in full screen mode in src680m87. This was ok in
the earlier versions. 
New issue?



TSR
Comment 19 IngridvdM 2005-03-29 09:13:31 UTC
Yes, please write a separat issue. Maybe to thb or dbo I think. Thanks.
Comment 20 clippka 2005-05-24 11:45:23 UTC
As a fix for this will be incompatible, I change the target to next feature release
Comment 21 Marcus 2017-05-20 10:55:39 UTC
Reset assigne to the default "issues@openoffice.apache.org".