Bug 275104 - Picture in the header is displaying only in the 1st page of the document (docx-filter produces wrong odd/even/uniform elements)
Summary: Picture in the header is displaying only in the 1st page of the document (doc...
Status: VERIFIED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: docx (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 09:52 UTC by swathi
Modified: 2011-06-29 05:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test data (409.61 KB, application/octet-stream)
2011-06-07 09:52 UTC, swathi
Details
Screenshot in MS Office (137.98 KB, image/x-png)
2011-06-07 09:53 UTC, swathi
Details
Screenshot in Latest calligra Words (92.41 KB, image/png)
2011-06-07 09:54 UTC, swathi
Details
Another test data with same issue (409.56 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2011-06-13 13:38 UTC, swathi
Details

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

Version: git checkout 9a54655da37b07ee9e670d9f537a8922afc26030
        (Using KDE 4.5.5)                
     OS: Kubuntu 10.10
Test data is in word 2007 format which has some picture in the header.
Open the same document in Calligra Words, check the display of the header in every page.

Expected outcome:
Picture in the header should be displayed in every page.
Actual outcome:
Picture is displaying only in the 1st page of the document.

Frequency:
Always.
Comment 1 swathi 2011-06-07 09:53:27 UTC
Created attachment 60729 [details]
Screenshot in MS Office
Comment 2 swathi 2011-06-07 09:54:19 UTC
Created attachment 60730 [details]
Screenshot in Latest calligra Words
Comment 3 swathi 2011-06-13 13:38:58 UTC
Created attachment 60959 [details]
Another test data with same issue

Even footer is also displaying in he 1st page only.
Comment 4 Sebastian Sauer 2011-06-15 18:31:08 UTC
Actually that is even correct. Odd headers/footers are only displayed on page 1,3,5,... while even headers/footers are only displayed on page 2,4,6,...

So, if it's wanted that we displayed the same image on every page then be need either make sure that the header-left/footer-left elements are not written so uniform-headers/footers are used or we need to write the same content into the header-left and header vs footer-left and footer elements in the styles.xml.
Comment 5 Sebastian Sauer 2011-06-15 19:22:27 UTC
Fixed with 0384cb3eb939ca58b15a88a5d3e7358fd0eab0e0
Comment 6 swathi 2011-06-29 05:41:40 UTC
Verified in  5f6f9401b53343b140d2bae8587ec3a01f103fe1.