Issue 19882 - Word Import: incorrect footer size
Summary: Word Import: incorrect footer size
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC4
Hardware: PC Other OS
: P3 Trivial with 3 votes (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: ms_interoperability, oooqa
Depends on: 9935 25319
Blocks:
  Show dependency tree
 
Reported: 2003-09-22 09:41 UTC by toralf
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

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


Attachments
MS word file (real, confidential contents removed) (262.50 KB, application/msword)
2003-09-22 09:44 UTC, toralf
no flags Details
Screen-shot of doc displayed in MS Word 2000 (63.39 KB, image/jpeg)
2003-09-22 09:45 UTC, toralf
no flags Details
The png that doesn't loaded in writer, but does in word (8.70 KB, image/png)
2004-02-02 12:43 UTC, caolanm
no flags Details
Another example someone sent me (215.50 KB, application/msword)
2004-02-10 20:17 UTC, toralf
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description toralf 2003-09-22 09:41:38 UTC
The MS word document I'm about to attach displays all wrong in OOo. Page
contents are all right, headers and footers are not.
Comment 1 toralf 2003-09-22 09:44:14 UTC
Created attachment 9556 [details]
MS word file (real, confidential contents removed)
Comment 2 toralf 2003-09-22 09:45:30 UTC
Created attachment 9557 [details]
Screen-shot of doc displayed in MS Word 2000
Comment 3 utomo99 2003-09-23 04:19:57 UTC
I can Reproduce the problem on 
OpenOffice 1.1 RC4(default Install, US), Win XP Pro Sp1. 
(And MS Office XP Sp2). 
It is real problem

The header is not displayed at all in page1, and displayed partly in
page 2
and the side text is displayed inside the line, instead of outside. 
Footer also have problem. 


Comment 4 jack.warchold 2003-09-23 11:11:21 UTC
reassigned to mru

set target to office later

can you please take a look at this issue
Comment 5 michael.ruess 2003-10-01 09:19:31 UTC
MRU->SJ: The graphic on top of page one does not have content.
Comment 6 toralf 2003-10-02 12:30:32 UTC
Other, not immediately obvious problems with this doc:

1. Outline numbering setup has
     Follow number with: Tab character
   this is not imported into OOo. In fact, I can't even find a way to
insert tabs after outline numbers in OOo ("special character" popup
doesn't help a lot.)

2. Margins aren't read correctly.
Comment 7 toralf 2003-10-02 12:52:22 UTC
Regarding the margins, the top and bottom one would appear to be
incorrect. However, closer inspection reveals that:

1) MS Word has two settings for each of top and bottom; the margin
itself and "space to header" or "space to footer". OOo will NOT read
the top marging, but use "space to header" instead, and similar for
the bottom. Perhaps that's the closest approximation after all.

2) There may be another reason why the spacing doesn't look right: The
footer is actually smaller in OOo than MS Word, the reason being that
word will add some space below the text in the table where OOo doesn't.
Comment 8 toralf 2003-10-02 13:06:16 UTC
Ah. I see. MS Word will apply "space below paragraph" setting even
inside tables, but OOo won't.
Comment 9 motyl 2003-10-03 23:01:32 UTC
I can confirm having similar problems with headers in
OpenOffice1.1preX and final.

What might be interesting is that these word documents load OK in
OpenOffice1.0.3
Please email me if you would need some samples.
Comment 10 utomo99 2003-10-04 03:10:46 UTC
utomo> Tomasz Motylewski:
Please attach the file in this issuezilla, so the developer have more
documents for testing.

and I hope we can reduce a lot of ms_interoperability in 1.1.1 if
possible. Thanks
Comment 11 sven.jacobi 2003-10-08 10:58:47 UTC
accepted.
Comment 12 apelled 2004-01-14 20:32:07 UTC
Sorry if I am commenting in the wrong place. I have just installed OpenOffice 
1.1.0 on Windows XP and have experienced this exact same problem. I loaded 
some documents created in Word (I have Office 2003 installed) and the header 
is mostly not visible. Very impressed though in general so far with OpenOffice.
Comment 13 sven.jacobi 2004-01-29 13:34:19 UTC
SJ->CMC: I am currently scanning my bugs to determine if I am able to fix them
for the corresponding OOo2.0 target or not. As I have too many other bugs and I
don't have much experience with header/footer objects I am in favor to set the
target OO Later. 

Because I'm also not sure if this bug has to be fixed by me or if it is a pure
Writer Issue I hand over the Issue to your team, possible you can figure out
some more information.
Comment 14 caolanm 2004-02-02 12:36:34 UTC
retitling to key problem
Comment 15 caolanm 2004-02-02 12:43:05 UTC
Created attachment 12836 [details]
The png that doesn't loaded in writer, but does in word
Comment 16 caolanm 2004-02-02 12:52:10 UTC
cmc->sj: Attached now is the png which works in word but not in writer, this
sounds a little familiar to another problem in the past. This is the key problem
of this document of the graphic in the header, its not actually word
header/footer specific.

cmc->everyone else: We must remain focused with issues or we end up with
sprawling ever rolling issues which can never be completed if something new
keeps getting added to the single issue submission. So here we will tackle the
original and most obvious problem, that the graphic is missing. The layout
issues about misplacement and so on are generally known problems which
are being tackled in writer with new anchoring positioning options, and new
features to allow behaviour more like word. The issue about spacing below
paragraphs inside tables is also known and being handled seperately, the issue
about tabs inside numbering is also known and being handled seperately. The
margins are generally ok, just that the UIs in word and writer work in different
ways, they do add up to the same values in both applications.

Clearly I can't have a single bug-report to handle all of these things, the
above pretty much sums up all the the things we are trying to do in writer from
version 1.0 to version 2.0 :-), so we'll stick with the primary issue of a png
which works in word but not in writer, and if you feel that you still want to
submit the other seperate problems as new seperate bugs, go ahead, but don't be
surprised if they are marked as duplicate of other existing per-feature/problem
issues.
Comment 17 toralf 2004-02-02 13:03:44 UTC
Actually, the missing graphics is not the most serious problem here. The main
issue is the vertical text frame. In MS Word this is displayed outside the text
frame (the copyright notice.) In OOo it is displayed inside *and* counted when
calculating the footer size, so that the footer will cover about half the page.
Comment 18 toralf 2004-02-02 13:07:56 UTC
Oh. Well. I guess I didn't read the comments closely enough. Reverting subject.

However, I still think the layout is the main issue here; I don't really care
too much about some missing graphics. Are there separate reports for the layout
problems?
Comment 19 caolanm 2004-02-02 13:38:02 UTC
See issue 24135 for problems with objects originally anchored in headers/footers
and how they affect layout. There are similiar issues also assigned to
od@openoffice.org which relate to this area, on first viewing they might appear
to be different, but taken together they cover the general problems and
enhanchments required to get the other parts of this bugdoc working.
Comment 20 sven.jacobi 2004-02-02 13:41:42 UTC
SJ->CMC: First I must thank you that you get out the png problem.

SJ->TORALF:
I have added the png problem to Issue 9935, so this Issue can be used now to
focus on the incorrect footer size. Therefore I changed the title.

SJ->CMC: This Issue goes now to you.




Comment 21 caolanm 2004-02-10 12:16:35 UTC
cmc: I'll handle the different line spacing in the "Header" style with issue 25319

cmc->od: Ignoring the missing content in the graphic in the header and the extra
linespacing for the "Header" style, I think this looks like a mix of the
problems you are looking into. 

1: A frame anchored inside a table inside a footer which escapes the footer on
page 1, fixed in objpos workspaces ?

2: A graphic as character inside a header on page 2 where the header shrinks the
graphics size to the minimum
Comment 22 toralf 2004-02-10 20:17:12 UTC
Created attachment 13042 [details]
Another example someone sent me
Comment 23 toralf 2004-02-10 20:22:04 UTC
Description of last attachment - and I quote

> Here is an example - it displays correctly in Word 2000 and was also imported
> correctly in OpenOffice 1.0.3. But the image in the header is compressed
> vertically in OpenOffice 1.1

> You have a BSD-type nonattributive licence to copy and process this file.
Comment 24 Oliver-Rainer Wittmann 2004-03-08 08:40:26 UTC
OD->MRU: 
Regarding CMC's comment given above at 10th Feb. all the problems concerning
objects in header/footer are fixed in SRC680m26.
Please verify and close with issue.
Comment 25 michael.ruess 2004-03-08 12:39:32 UTC
Yeah, the main problems are all fixed in current snapshot 680m28.
Comment 26 michael.ruess 2004-03-08 12:40:03 UTC
Closed as fixed.