Issue 46917

Summary: WW8 : page orientation wrong after section break
Product: Writer Reporter: richlv <richlv>
Component: open-importAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 680m87   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Phases 1 to 80, different PDF export desscribing problem, also RTF files none

Description richlv 2005-04-07 11:06:54 UTC
[see issue 46915]
page 6 is orientated as landscape in msword, as portrait in oo.org
i was unable to reproduce this on a striped down document unfortunately...
Comment 1 michael.ruess 2005-04-07 15:31:47 UTC
MRU->FLR: I'll send you an excerpt of the document. The second page should be in
landscape. It looks, that the import ignores the section break  at the end of
page 1.
Comment 2 andreas.martens 2005-05-26 08:04:54 UTC
Considering the effort, the priority, the risk and our resource planning I've to
retarget this issue to OOo Later.
Comment 3 Mathias_Bauer 2006-08-30 14:56:03 UTC
assigned to hbrinkm
Comment 4 tmjura 2006-09-10 12:59:16 UTC
I think I have something to add this page orientation problem. 

I checked issues 24474, 7894, 8449 and 42790. They all refer to this page 
orientation problem.

I think that I have a concrete testcase to add here. Please be patient and I 
will go through it.
Comment 5 tmjura 2006-09-10 12:59:59 UTC
1. open Microsoft Word 2002 (10.6802.6735) SP 3
2. File => New   ( or Ctrl + N)
3. phases 4-7 is creation of the document "1_WORD_sections__1_to_6.rtf"
4. insert => Break => section break types => Next page
5. File => Page setup => Orientation => Potrait / Landscape

Repeat phases 4-5 and you have different sections
=>
____________________________
(section 1: portrait, made in Word 2002 (10.6802.6735) sp 3)
(section 2: landscape, made in Word 2002 (10.6802.6735) sp 3)
(section 3: portrait, made in Word 2002 (10.6802.6735) sp 3)
(section 4: landscape, made in Word 2002 (10.6802.6735) sp 3)
(section 5: portrait, made in Word 2002 (10.6802.6735) sp 3)
(section 6: landscape, made in Word 2002 (10.6802.6735) sp 3)

and you have text waiting to be separated:
(section 1B: landscape, will be made in OpenOffice 2.0.3.)
(section 2B: portrait, will be made in OpenOffice 2.0.3.)
(section 3B: landscape, will be made in OpenOffice 2.0.3.)
(section 4B: portrait, will be made in OpenOffice 2.0.3.)
(section 5B: landscape, will be made in OpenOffice 2.0.3.)
(section 6B: portrait, will be made in OpenOffice 2.0.3.)
____________________________

6. save document "1_WORD_sections__1_to_6.rtf"
((=>select RTF-format when asked))
7. close Microsoft Word 2002 (10.6802.6735) SP 3
8. Open document "1_WORD_sections__1_to_6.rtf" with OpenOffice 2.0.3
9. NICE - it is working - sections are shown nicely

10. save document as "2_OpenOffice_sections__1B_to_6B.rtf"
((=>select RTF-format when asked))
11. Go to section 1 (page 1)

(I have the Finnish version of OpenOffice 2.0.3, so I am purely translating next 
phases)
(If translated wrong I am sorry)

12. separate section 1B from section 1
ADD => Manual break => Page break => Style => First page => OK
13. NICE - section 1B separated.

14. go to section 1B, page 2
FORMAT => PAGE => Direction => LANDSCAPE => OK
15. NICE - section 1B now landscape as planned.

16. Export PDF file "phase_16.pdf"
17. Open PDF file "phase_16.pdf"
18. NICE - section 1B now landscape as planned.

19. go to section 2B, page 3
20. separate section 2B from section 2
ADD => Manual break => Page break => Style => First page => OK
21. NICE - section 2B separated.

22. go to section 2B, page 4
FORMAT => PAGE => Direction => PORTRAIT => OK
23. NICE - section 2B now PORTRAIT as planned.

24. Export PDF file "phase_24.pdf"
25. Open PDF file "phase_24.pdf"
26. NICE - section 2B now PORTRAIT as planned.

27. NOT SO NICE - SECTION 1B HAS CHANGED TO PORTRAIT - HOW ON EARTH THIS 
HAPPENED?

28. go to section 3B, page 5
29. separate section 3B from section 3
ADD => Manual break => Page break => Style => First page => OK
30. NICE - section 3B separated.

31. go to section 3B, page 6
FORMAT => PAGE => Direction => LANDSCAPE => OK
32. NICE - section 3B now LANDSCAPE as planned.

33. Export PDF file "phase_33.pdf"
34. Open PDF file "phase_33.pdf"
35. NICE - section 3B now LANDSCAPE as planned.

36. NOT SO NICE - SECTION 1B HAS CHANGED BACK TO PORTRAIT - HOW ON EARTH THIS 
HAPPENED?
37. NOT SO NICE - SECTION 2B HAS CHANGED TO LANDSCAPE - HOW ON EARTH THIS 
HAPPENED?

38. go to section 4B, page 7
39. separate section 4B from section 4
ADD => Manual break => Page break => Style => First page => OK
40. NICE - section 4B separated.

41. go to section 4B, page 8
FORMAT => PAGE => Direction => PORTRAIT => OK
42. NICE - section 4B now PORTRAIT as planned.

43. Export PDF file "phase_43.pdf"
44. Open PDF file "phase_43.pdf"
45. NICE - section 4B now PORTRAIT as planned.

46. NOT SO NICE - SECTION 1B IS NOW PORTRAIT - NO CHANGE, BUT NOT AS WANTED
47. NOT SO NICE - SECTION 2B IS HAS CHANGED TO PORTRAIT - HOW ON EARTH THIS 
HAPPENED?
48. NOT SO NICE - SECTION 3B IS CHANGED TO PORTRAIT - HOW ON EARTH THIS 
HAPPENED?

49. go to section 5B, page 9
50. separate section 5B from section 5
ADD => Manual break => Page break => Style => First page => OK
51. NICE - section 5B separated.

52. go to section 5B, page 10
FORMAT => PAGE => Direction => LANDSCAPE => OK
53. NICE - section 5B now LANDSCAPE as planned.

54. Export PDF file "phase_54.pdf"
55. Open PDF file "phase_54.pdf"
56. NICE - section 5B now LANDSCAPE as planned.

57. NICE - SECTION 1B IS NOW LANDSCAPE - BUT STILL UNWANTED CHANGE IN A WAY
58. NOT SO NICE - SECTION 2B IS STILL PORTRAIT
59. NOT SO NICE - SECTION 3B IS CHANGED TO LANDSCAPE - BUT IN THE PREVIOUS PHASE 
(48) IT WAS PORTRAIT
60. NOT SO NICE - SECTION 4B IS CHANGED TO LANDSCAPE - HOW ON EARTH THIS 
HAPPENED?

61. go to section 6B, page 11
62. separate section 6B from section 6
ADD => Manual break => Page break => Style => First page => OK
63. NICE - section 6B separated.

64. go to section 6B, page 12
FORMAT => PAGE => Direction => PORTRAIT => OK
65. NICE - section 6B now PORTRAIT as planned.

66. Export PDF file "phase_66.pdf"
67. Open PDF file "phase_66.pdf"
68. NICE - section 6B now LANDSCAPE as planned.

69. NOT SO NICE - SECTION 1B IS NOW PORTRAIT - HOW ON EARTH THIS HAPPENED?
70. SECTION 2B IS STILL PORTRAIT - BUT STILL UNWANTED CHANGE IN A WAY
71. SECTION 3B IS STILL LANDSCAPE - BUT IN THE PREVIOUS PHASE (48) IT WAS 
PORTRAIT
72. SECTION 4B IS CHANGED TO BACK TO PORTRAIT - BUT STILL UNWANTED CHANGE IN A 
WAY
73. NOT SO NICE - SECTION 5B IS CHANGED TO PORTRAIT - HOW ON EARTH THIS 
HAPPENED?

74. interesting - very interesting

75. NOT NICE AT ALL - UNREPEATABLE ??
76. I closed OpenOffice 2.0.3, and opened file "1_WORD_sections__1_to_6.rtf" 
again
77. then I tried to repeat phases 10-73 again, this time I save RTF-files in 
differen phases
78. It seemed that OpenOffice 2.0.3 created in one phase different portrait/
landscape than in the first test
79. is this somewhat randomized feature?

80. interesting - very interesting

Comment 6 tmjura 2006-09-10 13:05:51 UTC
Created attachment 39067 [details]
Phases 1 to 80, different PDF export desscribing problem, also RTF files
Comment 7 michael.ruess 2010-10-08 08:28:33 UTC
*** Issue 114986 has been marked as a duplicate of this issue. ***
Comment 8 biolisypal 2010-10-23 15:28:10 UTC
Created attachment 72479
Comment 9 Marcus 2017-05-20 11:24:31 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 10 Marcus 2017-05-20 11:25:57 UTC
Reset assigne to the default "issues@openoffice.apache.org".