Dear list: After posting those clueless followup questions, I dig some further
digging and found the answers. But before I could post back to the list, Michael was
so kind as to write to me (inadvertently off-list), not only with answers to the
questions but with additional info that the current version of the ODT spec is v.1.3
(for LO 7)
<https://www.oasis-open.org/news/announcements/open-document-format-for-office-applications-opendocument-v1-3-from-the-opendocum>.
For anyone else who might be equally as clueless as I was,
- Michael was referring to ODT spec v.1.2 (the version applicable to LO 6)
<https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office>.
- .fodt files are just the format you get when choosing "Flat XML ODF Text Document
(*.fodt)" when saving a document.
None of that gets to clarity on my original question, about the relationship between a
style's Organizer tab "Contains" section and the attributes defined in the
style, but that may come from more more digging through the spec. If so, I will post back
to complete the thread. This is basic to understanding how styles are structured and used
in a document.
John
On 2020-05-05 23:31, John Kaufmann wrote:
On 2020-05-05 17:51, Michael H wrote:
I tried approaching this from the dialogs, and eventually gave up trying to
map it back to the spec.
Michael, I begin by observing that, while you have dropped many intriguing
hints, you are way ahead of me, so I hope you will excuse a couple of novice
questions. Like you, I tried working from the dialogs (the user view of the
style definition), but you were already a step ahead: to what spec were you
mapping? Where do you find it?
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.
Great tip, but [sorry, novice question again] where are these .fodt files?
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..
By "actual xml", you mean the document file? If so, wouldn't the page
definition naturally be there?
I appreciate you pointing me in the right direction,
John
--
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy