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/05/30 08:29:41 UTC

[Bug 119567] New: [From Symphony]WMF graphic size changed too small to see if saved by AOO

https://issues.apache.org/ooo/show_bug.cgi?id=119567

          Priority: P3
            Bug ID: 119567
          Assignee: ooo-issues@incubator.apache.org
           Summary: [From Symphony]WMF graphic size changed too small to
                    see if saved by AOO
          Severity: major
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: yanji.yj@gmail.com
          Hardware: PC
            Status: CONFIRMED
           Version: AOO340
         Component: save-export
           Product: word processor

Created attachment 77786
  --> https://issues.apache.org/ooo/attachment.cgi?id=77786&action=edit
sample

Build: AOO3.4
Steps:
1. Open sample file
2. Save it as another .doc file
3. Open the saved file in AOO or MS Office

Defect: 
In AOO: It looks like the grpahic is lost, but actually it still there which
width changed to 0.02 and height to 0.39 make the graphic too small to see.
In MS Office: There is dialog popup "The dimentions after cropping are too
samll or too large"

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119567] [From Symphony]WMF graphic size changed too small to see if saved by AOO

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119567

zjchen <zj...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zjchencdl@gmail.com

--- Comment #1 from zjchen <zj...@gmail.com> ---
Open the saved file in AOO, select the invisible picture, noticed there are
several improper parameters in crop tab:

scale - width is 1%, height is 7%, while original document should be 7% and 8%,
image size - width is 0.02'' height is 0.39'',while original document should be
 5.83'' and 0.40'

put the value of scale/image size as original sample file, the cropped graphic
can be displayed properly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119567] [From Symphony]WMF graphic size changed too small to see if saved by AOO

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119567

Oliver-Rainer Wittmann <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ms_interoperability
                 CC|                            |orw@apache.org
           Assignee|ooo-issues@incubator.apache |orw@apache.org
                   |.org                        |

--- Comment #4 from Oliver-Rainer Wittmann <or...@apache.org> ---
taking over to review the attached patch

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119567] [From Symphony]WMF graphic size changed too small to see if saved by AOO

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119567

zjchen <zj...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78566|                            |review?
              Flags|                            |

--- Comment #3 from zjchen <zj...@gmail.com> ---
Created attachment 78566
  --> https://issues.apache.org/ooo/attachment.cgi?id=78566&action=edit
patch for i119567

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119567] [From Symphony]WMF graphic size changed too small to see if saved by AOO

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119567

--- Comment #2 from zjchen <zj...@gmail.com> ---
The problem is that the graphic in sample file is a special WMF picture, and
its PicHeader parameters is not correctly on export. 

see <SwWW8WrGrf::WritePICFHeader(..)> in "main\sw\filter\source\wrtww8gr.cxx"
line 604
when the original size of WMF picture is too big to fit, the final size will be
replaced with Layout size, so that the scaling factor will be calculated based
on inappropriate size. 

Resolution: 
replace writting the inappropriate scaling value into stream with default
operation when the original size of WMF picture is too big to fit

-- 
You are receiving this mail because:
You are the assignee for the bug.