On Fri, 21 Aug 2015 12:33:58 -0700 "Dennis E. Hamilton" <dennis.hamil...@acm.org> wrote:
> Rory, concerning difficulties setting styles on sections, > > Do you mean you used multiple sections or did you make multiple copies of the > same section? The situation was that the original poster needed a sample document where each Chapter had endnotes at the chapter end. The way to do this in OpenOffice is to place the chapter in an OpenOffice Section and select to have the endnotes at the section end. I had to repeat this section definition for each intended chapter and then give instructions for the user to allow him generate a new section containing a chapter if I had not provided sufficient chapters. It would have been much simpler if I could have instructed him to access a "Section styles" menu, and insert a section with a named style. That's what started me thinking about whether this might be possible or not. From my own personal point of view I have no difficulty in inserting a section - I use them all the time to give local background page colouration to distinguish each chapter of my writings (purely as a convenience when writing/editing). It is possible to edit the content.xml file and make sections point to the same style definition, but that is post-processing a "finished" file; not quite as interactive as dynamic interaction at the writing/editing level. I'll read your analysis below carefully (and probably have to go and lie down afterwards...) I may not take this any further - I can see more important improvements. These include variations/improvements on Organon (http://extensions.openoffice.org/en/project/organon) AuthorSupportTool (https://sourceforge.net/projects/astool/ - I now have this running on OO 4.1.1) Plume Creator (https://github.com/jacquetc/plume-creator/tree/develop) oStoryBook (https://sourceforge.net/projects/ostorybook/files/?source=navbar) Organon, Plume Creator and oStoryBook are all under active development, AuthorSupportTool was a term project at Univ of Bremen c2008 and is stalled. They all, more or less, allow some form of outlining and reordering of a Writer document (originally mooted in Bugzilla https://bz.apache.org/ooo/show_bug.cgi?id=3959) Rory > > I am not clear how OpenOffice handles the copying of sections as well as > linking of one section for content/styles of another. > > The ODF 1.2 specification definitely allows section-level styling. The > styles that are allowed at the section level are the "text" styles and also a > <style:section-properties> element that provides some margin, color, > background, and column controls as part of a section style. > > The question now becomes whether or not any of the OpenOffice.org descendants > allow section styles to be specified and what do they do with an ODF document > that uses them? > > (You may read in various places that OpenOffice and LibreOffice provide full > implementations of ODF. I see those claims too. I don't make them.) > > - Dennis > > ANALYSIS > > In the ODF 1.2 specification, section 5.4 on <text:section> elements > stipulates that > > "Sections specify formatting properties for a region > Of text or text that is automatically acquired > From an external data source or document, or another > Text section." > > The <text:section> start tag may have a <text:style-name> attribute for > introducing a named style at the section level. That style name specifies a > "section family style" for a section. > > However, the style:family attribute does not have "section" as a specifiable > family in the text of section 19.476, although the schema does define > "section" as a specifiable value. Furthermore, section 16.28.3 specifies how > to tell a section style, but nothing about what they might have in them. > However, section 16.27.28 on the <style:text-properties> element specifies > that this element can specify formatting properties for text and for > sections. It can be used with a <style:style> definition element of > style:family="section" then. > > > -----Original Message----- > >From: Rory O'Farrell [mailto:ofarr...@iol.ie] > Sent: Friday, August 21, 2015 11:36 > To: dev@openoffice.apache.org > Subject: Section styles? > > I recently had to make a trial document for a forum user. In it I used > multiple copies of a section. Is there any reason why one cannot have > Section styles (similar to Paragraph, Page, List styles etc), so that it > would not e necessary to create each such repeated section from scratch? > > I am looking into the OpenDocument definitions; I know that Rob and Dennis > (possibly other list-members also) have experience with the OpenDocument > format and wonder if they may remember why this was not included in the > specification? > > -- > Rory O'Farrell <ofarr...@iol.ie> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > > -- Rory O'Farrell <ofarr...@iol.ie> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org