Issue 119922

Summary: [From Symphony]Graphic in header and footer can not be displayed correctly
Product: Writer Reporter: Yan Ji <yanji.yj>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: bjdujing, chengjh, liushenf
Version: 3.4.0   
Target Milestone: 4.0.0   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
sample
none
Fix for graphic didn't display correctly in header/footer. jane73_kang: review?

Description Yan Ji 2012-06-08 08:45:51 UTC
Build AOO3.4

Open sample file, check the graphic in header footer.

Defect: Graphic in Header and Footer can not be displayed completely.

This is because "Instantly fit the height" check box in Header tab in Page Properties dialog does not work.
Comment 1 Yan Ji 2012-06-08 08:52:39 UTC
Created attachment 78196 [details]
sample
Comment 2 kang jian 2012-06-11 02:57:32 UTC
Created attachment 78224 [details]
Fix for graphic didn't display correctly in header/footer.

Root cause:
The "Follow text flow" property wasn't supported in previous version.So when the doc was opened in the latest version, default value for this property was set to true.This will result in that graphic in the header/footer wasn't displayed correctly. 

Solution:
Set "Follow text flow" to false for the previous version that didn't support "Follow text flow", when open it in the latest version.

Unit test:
  Test 1:
       1.Open the sample file in the build with fixed.
  Test 2:
       1.Tried insert some picture into header/footer/body.
  Test 3:
       1.Open the sample file in the build with fixed.
       2.Set the page body large enough.And Writer didn't hang.
Comment 3 Jian Hong Cheng 2012-06-26 01:30:29 UTC
Reviewed and Committed with Revision:1353791..Thanks for the patch.
Comment 4 Du Jing 2012-08-20 09:55:36 UTC
verified on the AOO3.5_r1374181
Comment 5 Shenfeng Liu 2012-10-09 09:35:35 UTC
set Target Milestone to AOO 3.5.0 for PM purpose.