Re: Section styles?

2015-08-21 Thread Rory O'Farrell
On Fri, 21 Aug 2015 12:33:58 -0700
"Dennis E. Hamilton"  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 
>  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  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  start tag may have a  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  element specifies 
> that this element can specify formatting properties for text and for 
> sections.  It can be used with a  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 ma

Re: Section styles?

2015-08-21 Thread Regina Henschel

Hi Rory,

Rory O'Farrell schrieb:

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?



I find no reason in the spec. It is a missing feature of AOO, that it 
does not support a section style in  but only in 
.


Kind regards
Regina

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



RE: Section styles?

2015-08-21 Thread Dennis E. Hamilton
Rory, concerning difficulties setting styles on sections,

Do you mean you used multiple sections or did you make multiple copies of the 
same section?  

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 
 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  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  start tag may have a  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  element specifies that this 
element can specify formatting properties for text and for sections.  It can be 
used with a  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 

-
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



Section styles?

2015-08-21 Thread Rory O'Farrell
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 

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org