Bug 275288 - kword:msoffice2000: Picture in the footer is displaying in the middle of the page.
Summary: kword:msoffice2000: Picture in the footer is displaying in the middle of the ...
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 15:54 UTC by swathi
Modified: 2015-02-09 21:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Test data (26.50 KB, application/msword)
2011-06-09 15:54 UTC, swathi
Details
Screenshot in MS Office (130.83 KB, image/x-png)
2011-06-09 15:56 UTC, swathi
Details
Screenshot in Calligra Words (97.42 KB, image/x-png)
2011-06-09 15:57 UTC, swathi
Details
Test Data - 1st page only (26.00 KB, application/msword)
2013-07-23 21:31 UTC, Matus Uzak
Details
Screenshot Words - Test Data - 1st page only (51.41 KB, image/png)
2013-07-23 21:35 UTC, Matus Uzak
Details
Screenshot LO - msword filter output (46.80 KB, image/png)
2013-07-23 21:38 UTC, Matus Uzak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swathi 2011-06-09 15:54:51 UTC
Created attachment 60828 [details]
Test data

Version: git checkout 8288143b7c1f9f9005209b55b651875219b0e9d6
        (Using KDE 4.5.5)                
     OS: Kubuntu 10.10
Test data is in word 2003 format which has picture in the footer.
Open the same document in Calligra Words , check the display of the picture in the footer.

Expected outcome:
Picture should be displayed with in the footer place. (bottom of the page).
Actual outcome:
Picture is displaying in the middle of the page.
Please check the screenshots attached.
Frequency:
Always.
Comment 1 swathi 2011-06-09 15:56:13 UTC
Created attachment 60829 [details]
Screenshot in MS Office

In the 1st page,image is not displaying.
Comment 2 swathi 2011-06-09 15:57:07 UTC
Created attachment 60830 [details]
Screenshot in Calligra Words
Comment 3 Sebastian Sauer 2011-06-09 17:39:49 UTC
It's a filter-issue cause if I use koconverter and load the produced ODT into oowriter then the image is displayed in the middle of the page too rather then at the bottom.
Comment 4 Matus Uzak 2013-07-23 21:31:44 UTC
Created attachment 81303 [details]
Test Data - 1st page only
Comment 5 Matus Uzak 2013-07-23 21:35:21 UTC
Created attachment 81304 [details]
Screenshot Words - Test Data - 1st page only
Comment 6 Matus Uzak 2013-07-23 21:38:01 UTC
Created attachment 81305 [details]
Screenshot LO - msword filter output
Comment 7 Matus Uzak 2013-07-23 21:49:07 UTC
MS Word filter is Ok.   Correct values of margins and padding have been determined, LO determined 0 values.

It's a layout issue as can be seen on attachment 81304 [details] and attachment 81305 [details], which  display output of the filter in Words and LO.  The picture is below the page area.  

Attachment 81303 [details] contains only the 1st page of the original test data.
Comment 8 Camilla Boemann 2015-02-09 21:29:47 UTC
Git commit 7b7162d6f4a3da08c913ec92bbefe98cdae25593 by C. Boemann.
Committed on 09/02/2015 at 11:37.
Pushed by boemann into branch 'calligra/2.9'.

Page layout of footer that is larger than the two times bottom pagemargin would disappear
from the first page because we looked at the center position of the footer when finding it
so it would eventually grow below the bottom of the page

Also fixed that we looked at a header setting when layouting the footer

M  +7    -6    words/part/frames/KWFrameLayout.cpp

http://commits.kde.org/calligra/7b7162d6f4a3da08c913ec92bbefe98cdae25593