You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/07/02 10:30:09 UTC
[Bug 120143] New: [From Symphony]the text in textbox display
paritially when opening .ppt file
https://issues.apache.org/ooo/show_bug.cgi?id=120143
Priority: P3
Bug ID: 120143
Assignee: ooo-issues@incubator.apache.org
Summary: [From Symphony]the text in textbox display paritially
when opening .ppt file
Severity: normal
Issue Type: DEFECT
Classification: Application
OS: All
Reporter: doneyourself@gmail.com
Hardware: All
Status: CONFIRMED
Version: AOO 3.4.0
Component: open-import
Product: presentation
Created attachment 78542
--> https://issues.apache.org/ooo/attachment.cgi?id=78542&action=edit
capture.png
Build: AOO3.4 rev 1327774
Description:
1. open the sample file in AOO and MS
2. go to slide 3 ,compare the text in textbox between in AOO and MS
Defect:
the text in textbox display paritially
the detail infomation please refer the capture.png
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120143] [From Symphony]the text in textbox display paritially
when opening .ppt file
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120143
--- Comment #5 from SunYing <su...@gmail.com> ---
root cause:
the attr of bullet size imported wrong.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120143] [From Symphony]the text in textbox display paritially
when opening .ppt file
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120143
SunYing <su...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sunyingshadesun@gmail.com
--- Comment #4 from SunYing <su...@gmail.com> ---
I'm checking this defect
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120143] [From Symphony]the text in textbox display paritially
when opening .ppt file
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120143
hdu@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |AOO 3.5.0
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120143] [From Symphony]the text in textbox display paritially
when opening .ppt file
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120143
liupingtan <do...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
--- Comment #9 from liupingtan <do...@gmail.com> ---
Verified on Windows7-64bit &Ubuntu10.04 &Mac10.7 &Redhat &Ubuntu-64bit with AOO
trunk r1374181 ,Pass
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120143] [From Symphony]the text in textbox display paritially
when opening .ppt file
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120143
--- Comment #3 from SunYing <su...@gmail.com> ---
Created attachment 78569
--> https://issues.apache.org/ooo/attachment.cgi?id=78569&action=edit
screenshot about details in AOO and MS
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120143] [From Symphony]the text in textbox display paritially
when opening .ppt file
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120143
SunYing <su...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #78579| |review?
Flags| |
--- Comment #7 from SunYing <su...@gmail.com> ---
Created attachment 78579
--> https://issues.apache.org/ooo/attachment.cgi?id=78579&action=edit
patch for ppt import bullet size error
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120143] [From Symphony]the text in textbox display paritially
when opening .ppt file
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120143
hdu@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
CC| |hdu@apache.org
Resolution|--- |FIXED
--- Comment #8 from hdu@apache.org ---
A great find, thank you very much! Applied as revision 1357304.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120143] [From Symphony]the text in textbox display paritially
when opening .ppt file
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120143
--- Comment #6 from SunYing <su...@gmail.com> ---
solution:
in line 5119-5125 at file "\main\filter\source\msfilter\svdfppt.cxx",
if ( nMask & 0x0040 ) // buSize
{
rIn >> aSet.mpArry[ PPT_ParaAttr_BulletHeight ];
if ( ! ( ( nMask & ( 1 << PPT_ParaAttr_BuHardHeight ) )
&& ( nBulFlg && ( 1 << PPT_ParaAttr_BuHardHeight ) ) ) )
aSet.mnAttrSet ^= 0x40;
}
PPT_ParaAttr_BulletHeight =3
the seventh of aSet.mnAttrSet use to indicate weather bullet has size.
the fourth of nMask used to indicate bulletHasSize (1 bit): A bit that
specifies whether the bulletFlags field of the TextPFException structure that
contains this PFMasks exists and whether bulletFlags.fBulletHasSize is valid.
the fourth of nBulFla used to indicate fBulletHasSize (1 bit): A bit that
specifies whether the bullet has a size.
the logic included if block:
only and only if both the fourth of nMask and the fourth of nBulFla is 1,
aSet.mnAttrSet is true, otherwise should be set to false.
in sample file, the fourth of nBulFla is 0,and the fourth of nMask is 1, in
this situation,the seventh of aSet.mnAttrSet should be set false,
however the logic ( nBulFlg && ( 1 << PPT_ParaAttr_BuHardHeight ) ) is true,
attr have not been set to false, next read bullet size is invalid,so error
occur.
the right logic should be ( nBulFlg & ( 1 << PPT_ParaAttr_BuHardHeight ) ),
check weather the fourth of nBulFlg is 1.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120143] [From Symphony]the text in textbox display paritially
when opening .ppt file
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120143
--- Comment #2 from SunYing <su...@gmail.com> ---
Created attachment 78568
--> https://issues.apache.org/ooo/attachment.cgi?id=78568&action=edit
sample file
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120143] [From Symphony]the text in textbox display paritially
when opening .ppt file
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120143
hdu@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #78579|review? |review+
Flags| |
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 120143] [From Symphony]the text in textbox display paritially
when opening .ppt file
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120143
--- Comment #1 from liupingtan <do...@gmail.com> ---
the bug reproduce in AOO version 1351960
--
You are receiving this mail because:
You are the assignee for the bug.