Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [From Symphony]PPT Import:Word Art becomes larger | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Impress | Reporter: | liuping <doneyourself> | ||||||||||
Component: | open-import | Assignee: | AOO issues mailing list <issues> | ||||||||||
Status: | CLOSED FIXED | QA Contact: | |||||||||||
Severity: | Normal | ||||||||||||
Priority: | P3 | CC: | Armin.Le.Grand, bjdujing, lijianyuan1983, liushenf, sunying, sunyingshadesun | ||||||||||
Version: | 3.4.0 | ||||||||||||
Target Milestone: | 4.0.0 | ||||||||||||
Hardware: | PC | ||||||||||||
OS: | All | ||||||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||||||
Developer Difficulty: | --- | ||||||||||||
Attachments: |
|
Description
liuping
2012-05-29 06:24:14 UTC
Created attachment 77691 [details]
sample file
Created attachment 77692 [details]
capture.png
confirmed,change its status Root Cause: The word art 's rectangle has been recaculated, which need not recaculated. Created attachment 78921 [details]
patch for import fontworl become larger
Created attachment 78922 [details]
UT sample file
solution: Generally,the resize autoshape to fit text attr of word art in MS PPT is always false,and in sample file, the attr has been set true,so the wordart's rectangle has been recaculated, which need not recaculated,so error occur. So the resize autoshape to fit text attr of word art should be always set to false when import. the resize autoshape to fit text attr of word art in MS PPT correspond to the TextAutoGrowWidth and TextAutoGrowHeight in AOO. Reviewed and looks good. Reviewed and looks good. ALG: Hi SunYing, I took a look and it looks good in principle. Just one question: In msdffimp.cxx line 4370 it is decided what shape type it is. It depends on testing the property DFF_Prop_gtextFStrikethrough. Will this only trigger for the shapes which will get changed here (WordArt) or also for others...? Thanks in advance! Hi Armin, I looked the book <<OfficeDrawing97-2007BinaryFormatSpecification.pdf>>, and in page 27, describe the GeoText, "Effect text of the shape - this is what the WordArt tools use",So that property is to trigger for the WordArt shape.Pls check,Many thanks! (In reply to comment #10) > ALG: Hi SunYing, I took a look and it looks good in principle. Just one > question: In msdffimp.cxx line 4370 it is decided what shape type it is. It > depends on testing the property DFF_Prop_gtextFStrikethrough. Will this only > trigger for the shapes which will get changed here (WordArt) or also for > others...? Thanks in advance! "alg" committed SVN revision 1373430 into trunk: #119496# Correct flags AutoGrowWidth/Height for WordArtPatch by: SunYingRevie... ALG: Okay, I see. Comitted as revision 1373430. Thanks! has been fixed Verified pass on Windows7-64bit, Redhat 32bit,ubutu 10.04 Mac10.7 with AOO trunk r1374181 |