https://bugs.documentfoundation.org/show_bug.cgi?id=126287

--- Comment #3 from Serge Krot (CIB) <[email protected]> ---
Here is a set of the same test cases (style, page setup, etc) with only one
difference at the end of the FODT XML file (which was modified directly in
XML-text editor). In spite of the structure of the documents is the same (it
always finished on first page with P1 style and second page starts with P1
style) the second page could have header (correct) or not (wrong).

See attached extended_test_cases.zip

case_1_big.fodt
- document ends with:
     <text:p text:style-name="Weisse_5f_Schrift"/>
     <text:p text:style-name="Weisse_5f_Schrift"/>
    </text:section>
   </text:section>
   <text:p text:style-name="P1">Lorem ipsum dolor sit amet ....</text:p>
  </office:text>
- header on second page = yes (CORRECT)

case_2_several_small.fodt
- document ends with:
     <text:p text:style-name="Weisse_5f_Schrift"/>
     <text:p text:style-name="Weisse_5f_Schrift"/>
    </text:section>
   </text:section>
   <text:p text:style-name="P1">Lorem</text:p>
   <text:p text:style-name="P1">Lorem</text:p>
   <text:p text:style-name="P1">Lorem</text:p>
   ...
   <text:p text:style-name="P1">Lorem</text:p>
  </office:text>
- header on second page = yes (CORRECT)

case_3_big_plus_empty.fodt
- the same as case_1_big.fodt but with one additional empty P1 paragraph at the
end.
- document ends with:
     <text:p text:style-name="Weisse_5f_Schrift"/>
     <text:p text:style-name="Weisse_5f_Schrift"/>
    </text:section>
   </text:section>
   <text:p text:style-name="P1">Lorem ipsum dolor sit amet ....</text:p>
   <text:p text:style-name="P1"/>
  </office:text>
- header on second page = no (WRONG)

case_3b_big_plus_empty.fodt
- The same as case_3_big_plus_empty.fodt but with text in last paragraph in
prev section
- document ends with:
     <text:p text:style-name="Weisse_5f_Schrift"/>
     <text:p text:style-name="Weisse_5f_Schrift">Weisse_5f_Schrift</text:p>
    </text:section>
   </text:section>
   <text:p text:style-name="P1">Lorem ipsum dolor sit amet ....</text:p>
   <text:p text:style-name="P1"/>
  </office:text>
- header on second page = yes (CORRECT)

case_4_big_plus_small.fodt
- the same as case_1_big.fodt but with one additional non empty P1 paragraph at
the end.
- document ends with:
     <text:p text:style-name="Weisse_5f_Schrift"/>
     <text:p text:style-name="Weisse_5f_Schrift"/>
    </text:section>
   </text:section>
   <text:p text:style-name="P1">Lorem ipsum dolor sit amet ....</text:p>
   <text:p text:style-name="P1">Lorem</text:p>
  </office:text>
- header on second page = no (WRONG)

case_4b_big_plus_small.fodt
- The same as case_4_big_plus_small.fodt but with text in last paragraph in
prev section
- document ends with:
     <text:p text:style-name="Weisse_5f_Schrift"/>
     <text:p text:style-name="Weisse_5f_Schrift">Weisse_5f_Schrift</text:p>
    </text:section>
   </text:section>
   <text:p text:style-name="P1">Lorem ipsum dolor sit amet ....</text:p>
   <text:p text:style-name="P1">Lorem</text:p>
  </office:text>
- header on second page = yes (CORRECT)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to