Bug 44592 - Alter heading options with "Restart Numbering"
Summary: Alter heading options with "Restart Numbering"
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 01:14 UTC by Dotan Cohen
Modified: 2015-06-05 14:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example ODT showing different "before" separators for headings. (13.77 KB, application/vnd.oasis.opendocument.text)
2014-01-27 00:36 UTC, Owen Genat (retired)
Details
document with two level 1 headings (13.10 KB, application/vnd.oasis.opendocument.text)
2015-06-05 14:07 UTC, Gordo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dotan Cohen 2012-01-09 01:14:54 UTC
A common LO usage scenario is the heading of chapters and appendices.
Appendices can have their auto-numbering begin from 1, but cannot have
the string "Appendix " prepended to the numbering. Please add this feature.

To reproduce:

1) Create the following first-level headings:
 In the beginning
 In the middle
 In the end
 References
 Definitions

2) On the first heading right-click and select Numbering/Bullets -> Outline -> pick a numbering type (I choose the upper-right hand corner type).

3) Switch to the "Options" tab, in the "Before" field put the string "Chapter ".

4) Press "OK"

5) On the "References" heading right-click and select "Restart Numbering".

Now, we need a way to change this:
 Chapter 1. In the beginning
 Chapter 2. In the middle
 Chapter 3. In the end
 Chapter 1. References
 Chapter 2. Definitions

To this:
 Chapter 1. In the beginning
 Chapter 2. In the middle
 Chapter 3. In the end
 Appendix 1. References
 Appendix 2. Definitions
Comment 1 sasha.libreoffice 2012-05-07 06:36:40 UTC
Thanks for new idea
May be in template should be additional style for Appendix chapters?
(numbering style, not paragraph)
Comment 2 Joel Madero 2012-07-13 16:52:36 UTC
Can you attach a document displaying current behavior? Going to mark as NEEDINFO until the attachment is made. Once you do this please move status back to UNCONFIRMED. Thanks for the suggestion
Comment 3 Dotan Cohen 2012-07-19 11:35:54 UTC
@Joel Madero:
What current behaviour would you like the document to display? There is no current behaviour, that is the crux of this bug. I have provided clear reproduction instructions to illustrate the missing feature. Shall I create and attach a document in which all the steps have been completed up to the step in which the needed feature is unavailable?
Comment 4 Joel Madero 2012-10-01 04:26:06 UTC
Confirmed, thanks for explaining, apologies for asking for a document that can't really be created. It would be helpful to show current behavior just so a developer can easily play around with it but it's not crucial, if you get around to it, please add the attachment that just shows:


1) Create the following first-level headings:
 In the beginning
 In the middle
 In the end
 References
 Definitions

2) On the first heading right-click and select Numbering/Bullets -> Outline -> pick a numbering type (I choose the upper-right hand corner type).

3) Switch to the "Options" tab, in the "Before" field put the string "Chapter ".

4) Press "OK"

5) On the "References" heading right-click and select "Restart Numbering".

Now, we need a way to change this:
 Chapter 1. In the beginning
 Chapter 2. In the middle
 Chapter 3. In the end
 Chapter 1. References
 Chapter 2. Definitions



Up to that point, I believe that this is possible. Prioritizing:

Enhancement

Low: Compared to a lot of other requests I don't believe a lot of people will benefit from this -- only people making relatively extensive documents.
Comment 5 Owen Genat (retired) 2014-01-27 00:36:28 UTC
Created attachment 92827 [details]
Example ODT showing different "before" separators for headings.

It is currently possible, via workaround, to obtain the difference in Before separator proposed in this enhancement. This report probably needs the summary to be amended for clarity i.e., allow different Before separating text for the same outline level. I am not sure how possible this would be, or even if ODF supports it, but that appears to be the general nature of this request.

In the attached example I have used outline numbering. Outline numbering only allows ten levels. The workaround is to set the endpaper headings to a different level to that of the headings in the main body.

In the example the "Heading 1" paragraph style is set (by default) to level 1 and the custom "Heading 1 appendix" paragraph style has been set to level 6. I could have alternatively amended the provided "Heading 6" paragraph style. In this manner level 1-5 can be used in the main body and levels 6-10 used in the endpapers.
Comment 6 Gordo 2015-06-05 14:07:40 UTC
Created attachment 116308 [details]
document with two level 1 headings

Create a new List style for the appendix.
Create a new style based on Heading 1 and set Outline level to Level 1 and Numbering style to the new list style.

Windows Vista 64
Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16