Drawing Porblem about the OLE-Object (line, fill, shadow, ...)
limerlin <[email protected]> Tue, 12 Jul 2011 06:23:30 +0000
| Newsgroups | gmane.comp.openoffice.devel.general |
|---|---|
| Message-ID | <[email protected]> |
--_eb754118-272f-47eb-98e6-2db15fc22022_
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Hi=20
When i opened a MS PowerPoint file with OpenOffice,the fillings and =
lines of OLE-Object's area does not display.
Following is what I found after error checking:
http://openoffice.org/bugzilla/show_bug.cgi?id=3D67705
then i read the source code and made following changes to see if it works=
.
http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/svx/so=
urce/sdr/primitive2d/sdrole2primitive2d.cxxat line 86
86 //static bool bBehaveCompatibleToPaintVersion(true);//delete =
bool bBehaveCompatibleToPaintVersion =3D false //ad=
d=20
It work well!
How ever the limited knowledge of openoffice confused me that i dont know=
is it approiate to make those changes.
Anyone can help me ?
-- Best regards,Merlin
=20
--=20
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
--_eb754118-272f-47eb-98e6-2db15fc22022_
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:=CE=A2=C8=ED=D1=C5=BA=DA
}
--></style>
</head>
<body class=3D'hmmessage'><div dir=3D'ltr'>
<font class=3D"Apple-style-span" face=3D"=CE=A2=C8=ED=D1=C5=BA=DA" size=3D=
"2"> Hi </font><div style=3D"font-family: =CE=A2=C8=ED=D1=C5=BA=
=DA; font-size: 10pt; "><br></div><div style=3D"font-family: =CE=A2=C8=ED=
=D1=C5=BA=DA; font-size: 10pt; "><br></div><div><font class=3D"Apple-styl=
e-span" size=3D"2"><font class=3D"Apple-style-span" face=3D"=CE=A2=C8=ED=D1=
=C5=BA=DA"> </font><font class=3D"Apple-style-span" face=3D"=
=CE=A2=C8=ED=D1=C5=BA=DA"> </font><font class=3D"Apple-style-span" f=
ace=3D"=CE=A2=C8=ED=D1=C5=BA=DA">When i opened a</font><font class=3D"App=
le-style-span" face=3D"=CE=A2=C8=ED=D1=C5=BA=DA"> </font><span class=
=3D"Apple-style-span" style=3D"font-family: monospace; white-space: pre-w=
rap; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spac=
ing: 1px; ">MS PowerPoint file with </span><span class=3D"Apple-style-spa=
n" style=3D"font-family: monospace; white-space: pre; ">OpenOffice</span>=
<span class=3D"Apple-style-span" style=3D"font-family: monospace; white-s=
pace: pre-wrap; -webkit-border-horizontal-spacing: 1px; -webkit-border-ve=
rtical-spacing: 1px; ">,</span><font class=3D"A
pple-style-span" face=3D"monospace"><span class=3D"Apple-style-span" sty=
le=3D"white-space: pre-wrap; -webkit-border-horizontal-spacing: 1px; -web=
kit-border-vertical-spacing: 1px; ">the fillings and lines of OLE-Object'=
s area does not display.
Following is what I found after error checking:</span></font></font></di=
v><div><font class=3D"Apple-style-span" size=3D"2"><br></font></div><div =
style=3D"font-family: =CE=A2=C8=ED=D1=C5=BA=DA; "><a href=3D"http://openo=
ffice.org/bugzilla/show_bug.cgi?id=3D67705"><font class=3D"Apple-style-sp=
an" size=3D"2">http://openoffice.org/bugzilla/show_bug.cgi?id=3D67705</fo=
nt></a></div><div style=3D"font-family: =CE=A2=C8=ED=D1=C5=BA=DA; "><font=
class=3D"Apple-style-span" size=3D"2"><br></font></div><div style=3D"fon=
t-family: =CE=A2=C8=ED=D1=C5=BA=DA; "><font class=3D"Apple-style-span" si=
ze=3D"2"><br></font></div><div><font class=3D"Apple-style-span" face=3D"=CE=
=A2=C8=ED=D1=C5=BA=DA" size=3D"2">then i read the source code and made fo=
llowing changes to see if it works.</font></div><div><font class=3D"Apple=
-style-span" face=3D"=CE=A2=C8=ED=D1=C5=BA=DA" size=3D"2"><br></font></di=
v><div style=3D"font-family: =CE=A2=C8=ED=D1=C5=BA=DA; "><a href=3D"http:=
//svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/svx/source/=
sdr/primitive2d/sdrole2primitive2d.cxx"><font class=3D"Apple-style-span" =
size=3D"2">http://svn.services.openof
fice.org/opengrok/xref/Current%20(trunk)/svx/source/sdr/primitive2d/sdro=
le2primitive2d.cxx</font></a></div><div style=3D"font-family: =CE=A2=C8=ED=
=D1=C5=BA=DA; "><font class=3D"Apple-style-span" size=3D"2">at line 86</f=
ont></div><div style=3D"font-family: =CE=A2=C8=ED=D1=C5=BA=DA; "><font cl=
ass=3D"Apple-style-span" size=3D"2"><br></font></div><div><font class=3D"=
Apple-style-span" size=3D"2"><span class=3D"Apple-style-span" style=3D"fo=
nt-family: arial, sans-serif; "><pre style=3D"padding-top: 0px; padding-r=
ight: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margi=
n-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a class=3D"l" name=
=3D"86" style=3D"text-align: right; color: rgb(136, 136, 136); background=
-color: rgb(221, 221, 221); padding-right: 0.1em; margin-right: 0.2em; te=
xt-decoration: none; "> 86 //</a><b>static</b> <b>bool</b> <a href=3D=
"http://svn.services.openoffice.org/opengrok/s?defs=3DbBehaveCompatibleTo=
PaintVersion&project=3D/Current%20(trunk)" style=3D"color: rgb(32, 48=
, 162); text-decoration: none; ">bB
ehaveCompatibleToPaintVersion</a>(<b>true</b>);//delete </pre></span><sp=
an class=3D"Apple-style-span" style=3D"font-family: arial, sans-serif; ">=
<pre style=3D"padding-top: 0px; padding-right: 0px; padding-bottom: 0px; =
padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px=
; margin-left: 0px; "> </pre></span><span class=3D"Apple-style-spa=
n" style=3D"font-family: monospace; white-space: pre; "> =
bool <a href=3D"http://svn.services.openoffice.org/opengrok/s?defs=3DbBeh=
aveCompatibleToPaintVersion&project=3D/Current%20(trunk)" style=3D"te=
xt-indent: 0px !important; color: rgb(32, 48, 162); text-decoration: none=
; ">bBehaveCompatibleToPaintVersion</a></span><span class=3D"Apple-style-=
span" style=3D"font-family: monospace; white-space: pre; "> =3D fal=
se //add </span></font></div><div><span class=3D"Apple-style-span" style=3D=
"font-family: monospace; white-space: pre; "><font class=3D"Apple-style-s=
pan" size=3D"2"><br></font></span></div><div><span class=3D"Apple-style-s
pan" style=3D"font-family: monospace; white-space: pre; "><font class=3D=
"Apple-style-span" size=3D"2">It work well!</font></span></div><div><span=
class=3D"Apple-style-span" style=3D"font-family: monospace; white-space:=
pre; "><font class=3D"Apple-style-span" size=3D"2"><br></font></span></d=
iv><div><font class=3D"Apple-style-span" face=3D"monospace" size=3D"2"><s=
pan class=3D"Apple-style-span" style=3D"white-space: pre;">How ever the l=
imited knowledge of openoffice confused me that i dont know is it approia=
te to make those changes.</span></font></div><div><font class=3D"Apple-st=
yle-span" face=3D"monospace" size=3D"2"><span class=3D"Apple-style-span" =
style=3D"white-space: pre;"><br></span></font></div><div><font class=3D"A=
pple-style-span" face=3D"monospace"><span class=3D"Apple-style-span" styl=
e=3D"white-space: pre; "><font class=3D"Apple-style-span" size=3D"2">Anyo=
ne can help me ?</font></span><span class=3D"Apple-style-span" style=3D"w=
hite-space: pre;">
</span></font></div><div><font class=3D"Apple-style-span" face=3D"monospa=
ce"><font class=3D"Apple-style-span" size=3D"4"><span class=3D"Apple-styl=
e-span" style=3D"white-space: pre;"><br></span></font></font></div><div><=
span class=3D"Apple-style-span" style=3D"color: rgb(42, 42, 42); font-fam=
ily: Verdana, Simsun, Tahoma, Arial, sans-serif; font-size: 12px; "><pre =
style=3D"line-height: 20px; white-space: normal; ">-- <br style=3D"l=
ine-height: 20px; ">Best regards,<br style=3D"line-height: 20px; ">Merlin=
</pre></span></div><div><font class=3D"Apple-style-span" face=3D"monospac=
e"><span class=3D"Apple-style-span" style=3D"white-space: pre;"><br></spa=
n></font></div><div><span class=3D"Apple-style-span" style=3D"font-family=
: monospace; font-size: 16px; white-space: pre; "><br></span></div><div><=
span class=3D"Apple-style-span" style=3D"font-family: monospace; font-siz=
e: 16px; white-space: pre; "><br></span></div><div><span class=3D"Apple-s=
tyle-span" style=3D"font-family: arial, sans-serif; font-size: 16px; "><p=
re style=3D"
padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left:=
0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left=
: 0px; "> </pre><pre style=3D"padding-top: 0px; padding-right: 0px; paddi=
ng-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; ma=
rgin-bottom: 0px; margin-left: 0px; "><br></pre></span><span class=3D"App=
le-style-span" style=3D"font-family: arial, sans-serif; font-size: 16px; =
"><pre style=3D"text-indent: 0px !important; padding-top: 0px; padding-ri=
ght: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin=
-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></pre></span></d=
iv> </div></body>
</html>
--_eb754118-272f-47eb-98e6-2db15fc22022_--