[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libreoffice-users] LO Styles organization
- Subject: Re: [libreoffice-users] LO Styles organization
- From: Michael H <firstname.lastname@example.org>
- Date: Tue, 5 May 2020 16:51:31 -0500
- To: John Kaufmann <email@example.com>
- Cc: LibreOffice Users <firstname.lastname@example.org>
I tried approaching this from the dialogs, and eventually gave up trying to
map it back to the spec.
However, when I found flat file format, I found that it's easier to
understand how it works by opening the .fodt files in a plain text editor,
and especially doing 'diff' style comparison between the same file saved as
flat file format before and after making only a couple changes to the
dialog in question.
However, pages are more complex than paragraph styles. There's 3 (?)
different spots that changes to page definition reside in the actual xml,
and understanding their relationship is fun..
On Tue, May 5, 2020 at 4:29 PM John Kaufmann <email@example.com> wrote:
> I'm trying to understand what is contained in LO styles [which I know
> changes according to style class (for Writer: Paragraph, Page, etc)]. To
> simplify this question, I have decided to:
> (a) focus on a Page style (instead of the more complex Paragraph
> style) to understand the principles;
> (b) limit the initial inquiry to the relationship between the
> attributes defined in the tabs of that style definition and the attributes
> summarized in the Organizer tab's "Contains" section.
> For example, for a custom Page style "Booklet" (used for 7.5"x8"
> folded/stapled booklets), the Organizer tab lists:
> 8.5 inch + From top 0.5 inch, From bottom 0.5 inch + No header +
> No footer + No grid + Text direction left-to-
> right (horizontal) + Page Description: Arabic, Portrait, All +
> Booklet + Not register-true
> "Contains" uses "+" [rather than, say, \n] to separate attributes. [BTW:
> is there a better term than "attribute" to use here?]
> In this case it lists 9 attributes (including the 2-part top/bottom
> margins attribute and the 3-part Page Description attribute):
> - 2 (not all) attributes from the Page tab,
> - 2 attributes from other tabs;
> - 1 attribute defined in "Tools > Options > LibreOffice Writer (or
> is it LibreOffice Writer/Web?) > Grid";
> - 2 attributes (Text direction, Page Description) defined nowhere
> that I can find;
> - 1 attribute (the style name: "Booklet") defined in the Organizer
> - 1 more attribute (Not register-true) defined in the Page tab.
> With the background provided by that example, I ask these questions about
> the Organizer tab "Contains" section:
> (1) What is the significance of this section? Does it have any
> formal significance or functional use?
> (2) Why does it list attributes not defined in the style?
> [Any further questions would be clarified by the answers to those
> To unsubscribe e-mail to: firstname.lastname@example.org
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
To unsubscribe e-mail to: email@example.com
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
|Re: [libreoffice-users] LO Styles organization||John Kaufmann <firstname.lastname@example.org>|
|[libreoffice-users] LO Styles organization||John Kaufmann <email@example.com>|
- Prev by Date: [libreoffice-users] LO Styles organization
- Next by Date: Re: [libreoffice-users] Range names
- Previous by thread: [libreoffice-users] LO Styles organization
- Next by thread: Re: [libreoffice-users] LO Styles organization