<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Writer: Can't switch to Portrait"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126608#c21">Comment # 21</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Writer: Can't switch to Portrait"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126608">bug 126608</a>
from <span class="vcard"><a class="email" href="mailto:ToddAndMargo@zoho.com" title="Todd <ToddAndMargo@zoho.com>"> <span class="fn">Todd</span></a>
</span></b>
<pre>Dear Design team,
I am quoting what I wrote over on
<a href="https://ask.libreoffice.org/en/question/202907/writer-raw-code-analyzer/?answer=203006">https://ask.libreoffice.org/en/question/202907/writer-raw-code-analyzer/?answer=203006</a>
I do believe, I am unable to correctly create pm1 and pm2 with the Linux
version. And that P3 is just picking up P1's settings.
Hi All,
What is going on is that I can not switch to Portrait from Landscape is I set
the first page to landscape.
I reported this over on
<a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Writer: Can't switch to Portrait"
href="show_bug.cgi?id=126608">https://bugs.documentfoundation.org/show_bug.cgi?id=126608</a>
Todd:
Fedora 30
LibreOffice-6.2.5-Linux_x86-64_rpm.tar.gz
Deiter:
Version: 6.2.5.2 (x64)
Build-ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win;
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
You will see two odt's a attachments on that bug. With Deiter's, I am able to
switch without issue. Mine (Todd's), if I set the first page to landscape, I
am stuck in landscape. If I set (leave the first page in Portrait, I can do
switch orientations with Manual Break without issue, but if I go back and erase
the first page so that the second page which is in Landscape is now the first
page, everything gets converted to Landscape.
Using fodt, I see in my document (Todd's attachment), after add a second page
with default style, and adding the text "page 2" to the document, I get
<text:p text:style-name="P1"/>
<text:p text:style-name="P1">Good luck with that!</text:p>
<text:p text:style-name="P1"/>
<text:p text:style-name="P1"/>
<text:p text:style-name="P3">page 2</text:p> <-- manual beak
was support to be "Default Style"
</office:text>
</office:body>
</office:document>
And looking up P3, I see
<style:style style:name="P3" style:family="paragraph"
style:parent-style-name="Standard" style:master-page-name="Standard">
No sign of "Portrait in P3"
And although "pm1" is not used in my document, I see do seelandscape
<style:page-layout style:name="pm1">
<style:page-layout-properties fo:page-width="11in"
fo:page-height="8.5in" style:num-format="1" style:print-orientation="landscape"
fo:margin-top="0.7874in" fo:margin-bottom="0.7874in" fo:margin-left="0.7874in"
fo:margin-right="0.7874in" style:writing-mode="lr-tb"
style:layout-grid-color="#c0c0c0" style:layout-grid-lines="20"
style:layout-grid-base-height="0.278in" style:layout-grid-ruby-height="0.139in"
style:layout-grid-mode="none" style:layout-grid-ruby-below="false"
style:layout-grid-print="false" style:layout-grid-display="false"
style:footnote-max-height="0in">
<style:footnote-sep style:width="0.0071in"
style:distance-before-sep="0.0398in" style:distance-after-sep="0.0398in"
style:line-style="solid" style:adjustment="left" style:rel-width="25%"
style:color="#000000"/>
</style:page-layout-properties>
<style:header-style/>
I do not have a pm2
Looking at Deiter's document, I see pm1 (portrait):
<style:page-layout style:name="pm1">
<style:page-layout-properties fo:page-width="8.2681in"
fo:page-height="11.6929in" style:num-format="1"
style:print-orientation="portrait" fo:margin-top="0.7874in"
fo:margin-bottom="0.7874in" fo:margin-left="0.7874in"
fo:margin-right="0.7874in" style:writing-mode="lr-tb"
style:layout-grid-color="#c0c0c0" style:layout-grid-lines="20"
style:layout-grid-base-height="0.278in" style:layout-grid-ruby-height="0.139in"
style:layout-grid-mode="none" style:layout-grid-ruby-below="false"
style:layout-grid-print="false" style:layout-grid-display="false"
style:footnote-max-height="0in">
<style:footnote-sep style:width="0.0071in"
style:distance-before-sep="0.0398in" style:distance-after-sep="0.0398in"
style:line-style="solid" style:adjustment="left" style:rel-width="25%"
style:color="#000000"/>
</style:page-layout-properties>
<style:header-style/>
<style:footer-style/>
</style:page-layout>
And a pm2 (landscape):
<style:page-layout style:name="pm2">
<style:page-layout-properties fo:page-width="11.6929in"
fo:page-height="8.2681in" style:num-format="1"
style:print-orientation="landscape" fo:margin-top="0.7874in"
fo:margin-bottom="0.7874in" fo:margin-left="0.7874in"
fo:margin-right="0.7874in" style:writing-mode="lr-tb"
style:layout-grid-color="#c0c0c0" style:layout-grid-lines="20"
style:layout-grid-base-height="0.278in" style:layout-grid-ruby-height="0.139in"
style:layout-grid-mode="none" style:layout-grid-ruby-below="false"
style:layout-grid-print="false" style:layout-grid-display="false"
style:footnote-max-height="0in">
<style:footnote-sep style:width="0.0071in"
style:distance-before-sep="0.0398in" style:distance-after-sep="0.0398in"
style:line-style="solid" style:adjustment="left" style:rel-width="25%"
style:color="#000000"/>
</style:page-layout-properties>
<style:header-style/>
<style:footer-style/>
And by the way, if I use Deiter's document as a template, it works perfectly.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>