Issue 78589 - WW8: zoom factor is incorrect when importing a ms word document
Summary: WW8: zoom factor is incorrect when importing a ms word document
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.2.1 RC3
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-18 03:26 UTC by pflin
Modified: 2017-05-20 11:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test case (18.50 KB, text/plain)
2007-06-18 03:27 UTC, pflin
no flags Details
patch to implement (1.46 KB, text/plain)
2007-06-19 08:22 UTC, pflin
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pflin 2007-06-18 03:26:44 UTC
Reproduct step:
1. Create a MS word document by MS word 2000/2003, set the zoom factor as 200%
2. Import the ms word document by OOo 2.0, the zoom factor changes into 100%. 

Zoom factor is not supported in ww8 filter. 
I will make a patch for it in the cws cjksp1 soon.
Comment 1 pflin 2007-06-18 03:27:40 UTC
Created attachment 46021 [details]
test case
Comment 2 michael.ruess 2007-06-18 10:29:24 UTC
Please attach the patch proposal to this issue. Otherwise this could not be
flagged as "Patch" issue.
Comment 3 pflin 2007-06-19 08:22:12 UTC
Created attachment 46051 [details]
patch to implement
Comment 4 Mathias_Bauer 2007-06-27 11:55:50 UTC
Thanks for the patch; unfortunately it doesn't work correctly as it sets the
zoom factor globally for all documents.

Even more unfortunately there is no simple way to achieve the desired effect
(otherwise it would perhaps be fixed already ;-)).

In our own format the zoom factor is part of the viewdata that is retrieved
through a generic API when the view is created. Applying this to the Word filter
is a little bit more work to do. The zoom factor is a property of the view that
does not exist at the time when the document is imported. We first have to
create a place somewhere in the model where we can store this information. I
wonder whether the zoom factor is not view specific in Word ...

So I set this type of this issue to "DEFECT" and change the target to 2.x. Os we
first must prepare something on the core side I assign this issue to os. The
filter work itself seems to be trivial and can be borrowed from the patch once
the method for setting the zoom factor will be available.
Comment 5 Mathias_Bauer 2007-06-27 11:56:33 UTC
Oliver, please take over.
Comment 6 pflin 2007-07-02 04:15:51 UTC
Thanks for your valuable comments. I will take more investigation.
Comment 7 Martin Hollmichel 2007-09-10 13:36:26 UTC
move target to 3.x according http://wiki.services.openoffice.org/wiki/Target_3x
Comment 8 Marcus 2017-05-20 11:15:22 UTC
Reset assigne to the default "issues@openoffice.apache.org".