[Libreoffice-ux-advise] [Bug 126608] Writer: Can't switch to Portrait

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 3 00:34:29 UTC 2019


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

--- Comment #52 from Todd <ToddAndMargo at zoho.com> ---
(In reply to V Stuart Foote from comment #49)
> (In reply to Todd from comment #48)
> 
> > 
> > My understanding is that "format->page" is "suppose" to only affect the
> > current page and subsequent new pages, not existing pages, even if under the
> > active page.
> > Only I can never figure out when it is the current page and when it is
> > global.
> > 
> 
> Nope, there is no "Direct Formatting" for Pages--you will always be working
> with a style when formatting pages.  And Page styles are one of the styles
> that will *always* AutoUpdate (i.e. there is no "Auto Update" checkbox
> selection on the Style editor's Organizer tab). You change it anywhere, and
> it will auto update (perhaps "autocorrupt") its use anywhere else in the
> document. Powerful stuff :-)
> 
> Not understanding that seems to be what continues to trip you up...

I am on Format->page->Page and I see not "AutoUpdate" button, so I am at your
mercy.

To me, what a style is and what is means is in the XML code.  For instance:

<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/>
   <style:footer-style/>
  </style:page-layout>

 <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>


And when you start typing ping on a page, the page tags itself to what style it
is using (pm1 and pm2 in the above).

So first you define (usually on the fly) what styles you are using, then you
tag your missive with what style you are want:

   <text:p text:style-name="P1">Page 1 Lanscape</text:p>
   <text:p text:style-name="P2">Page 2 Portrait</text:p>

(I am a little unclear how pm1 and pm2 got turned into P1 and P2.)

So when the tag "<text:p text:style-name="Px">" is encountered, everything
BEYOND that point takes on the properties of the tag.

So I just don't get why the side bar and the pull down do different thing. 
When are you and when are you not altering the the global definition of the
tag, when are you and when are you, making a new tag, and when are you saying
to not modify a tab, but to override one feature with a slight change.

And speaking of RTFM, OpenDocument-v1.2.pdf, pg 214, 5.3.2 Default List Style,
Are you even ALLOWED to change the Default Style.  I presume you what changes
and you create a new style: tm1, pm2, pm3, etc.. And all over the palce in the
spec, it states "...If there is no specified style available, the default style
is applied", so I really do not think you are allows to change the defautls,
but are allowed to create a new customer style.  I could be wrong.

So I actually do understand what "a" style is.  What I am having an issue with
is the flow control of where and how styles are applied.

I seriously think Regina's idea will put an end to all this.  I am actually a
bit in awe over how beautifully she laid it out and her thought process.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list