Issue 53420 - Add "Chapter no. without separator" to the Insert Index/Table dialog
Summary: Add "Chapter no. without separator" to the Insert Index/Table dialog
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 2.0 Beta
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
: 23562 (view as issue list)
Depends on:
Blocks: 85995
  Show dependency tree
 
Reported: 2005-08-17 00:08 UTC by aaronforjesus
Modified: 2013-08-07 14:43 UTC (History)
4 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Example of the Insert Index/Table dialog with the Chapter no. without separator button (40.27 KB, image/png)
2005-08-17 00:09 UTC, aaronforjesus
no flags Details
Example document created “chapter-page†index. (154.17 KB, application/vnd.oasis.opendocument.text)
2007-01-14 13:54 UTC, Giuseppe Castagno (aka beppec56)
no flags Details
patch for discussion (23.69 KB, patch)
2007-01-19 11:07 UTC, Giuseppe Castagno (aka beppec56)
no flags Details | Diff
updated version of the above patch (more complete) (32.20 KB, patch)
2007-02-28 13:50 UTC, Giuseppe Castagno (aka beppec56)
no flags Details | Diff
updated patch to 2.3.1 version, for discussion and reference only ! (32.35 KB, patch)
2007-11-29 14:02 UTC, Giuseppe Castagno (aka beppec56)
no flags Details | Diff
Writer document used for test (80.61 KB, text/plain)
2008-02-22 08:01 UTC, Giuseppe Castagno (aka beppec56)
no flags Details
A bare extension containing only the Basic code to generate all the six indexes (3.57 KB, application/x-compressed)
2008-02-22 08:03 UTC, Giuseppe Castagno (aka beppec56)
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description aaronforjesus 2005-08-17 00:08:30 UTC
This is a request to include a "Chapter no. without separator" button to the 
Insert Index/Table dialog. This will allow chapter numbers such as A-1 when the
Chapter (for example a Heading 1) has a numbering of Appendix A, with the
"Appendix" being part of the separator before the number. This will make
creating Table of Contents easier in large documents without resorting to
manually editing a Table of Contents. This is similar to what occurs when you
can insert a field in a footer that either has a Chapter no. or a Chapter no.
without separator.
Comment 1 aaronforjesus 2005-08-17 00:09:47 UTC
Created attachment 28834 [details]
Example of the Insert Index/Table dialog with the Chapter no. without separator button
Comment 2 michael.ruess 2005-08-17 08:53:43 UTC
MRU->ES: pls evaluate.
Comment 3 eric.savary 2005-08-17 10:25:05 UTC
Reassigned to Requirements
Comment 4 eric.savary 2005-08-18 08:28:47 UTC
.
Comment 5 aaronforjesus 2005-09-06 19:51:27 UTC
After thinking about it, and some testing, I believe Issue 14725 would be far
more useful than this feature enhancement. This is because this issue would
display the paragraph number in front of the page number which would not match
the page number of the reference. Example:

In the body of a document, there would be on page A-1:
A Heading 1 text
A.1 Heading 2 text

However, the TOC would display:

A Heading 1 text...........................A-1
A.1 Heading 2 text.......................A.1-1

The above could be a problem. So I wouldn't be suprised if this Issue is closed
as WONTFIX as it wouldn't be too useful for page numbers.
Comment 6 Giuseppe Castagno (aka beppec56) 2007-01-04 13:28:52 UTC
cc myself
Comment 7 Giuseppe Castagno (aka beppec56) 2007-01-14 13:53:09 UTC
I'm going to attach a writer document created with an OOo patched version, to be
used in the technical discussion that took part here:
http://sw.openoffice.org/servlets/BrowseList?list=dev&by=thread&from=1621869 

The example contains indexes that can be thought as an example for Issue 14725
as well.
Comment 8 Giuseppe Castagno (aka beppec56) 2007-01-14 13:54:36 UTC
Created attachment 42146 [details]
Example document created “chapter-page†index.
Comment 9 Giuseppe Castagno (aka beppec56) 2007-01-19 11:05:59 UTC
The patch I'm going to attach can be used to derive an OOo version able to
obtain the document proposed in #desc9 above.
It should not be used for a product OOo, since it can provide a mean to generate
the index body, not a new index source (e.g. the index generation data is not
saved in the ODT document, whereas the index body is).
See ML thread indicated in #desc8 above.
Comment 10 Giuseppe Castagno (aka beppec56) 2007-01-19 11:07:24 UTC
Created attachment 42300 [details]
patch for discussion
Comment 11 Giuseppe Castagno (aka beppec56) 2007-02-28 13:50:36 UTC
Created attachment 43436 [details]
updated version of the above patch (more complete)
Comment 12 Oliver-Rainer Wittmann 2007-03-01 06:11:34 UTC
adding me as CC
Comment 13 davidwlegg 2007-03-01 10:09:02 UTC
See also issue 23562.
Comment 14 Mathias_Bauer 2007-11-29 07:39:46 UTC
changed type to "patch"
Comment 15 Giuseppe Castagno (aka beppec56) 2007-11-29 14:02:16 UTC
Created attachment 49999 [details]
updated patch to 2.3.1 version, for discussion and reference only !
Comment 16 frank.meies 2008-01-22 11:18:52 UTC
.
Comment 17 Giuseppe Castagno (aka beppec56) 2008-01-24 14:02:18 UTC
Accepted, started
Comment 18 Giuseppe Castagno (aka beppec56) 2008-02-22 08:00:47 UTC
-> mru. I'm going to attach two files.
The first is a Writer test document I used to check the feature, and the second
is a bare OOo extension containing the Basic macros used to generate the index
for testing.
Both could be used to derive some stuff for QA, I think.
Comment 19 Giuseppe Castagno (aka beppec56) 2008-02-22 08:01:59 UTC
Created attachment 51647 [details]
Writer document used for test
Comment 20 Giuseppe Castagno (aka beppec56) 2008-02-22 08:03:12 UTC
Created attachment 51648 [details]
A bare extension containing only the Basic code to generate all the six indexes
Comment 21 Giuseppe Castagno (aka beppec56) 2008-02-28 18:58:21 UTC
-> mru: please verify in CWS beppec56index01
Comment 22 Giuseppe Castagno (aka beppec56) 2008-02-29 09:56:21 UTC
-> mru: please verify in CWS beppec56index01
Comment 23 michael.ruess 2008-03-05 17:16:58 UTC
Verified in CWS beppec56index01. Looks very good in my eyes!
Comment 24 michael.ruess 2008-03-20 14:33:59 UTC
Checked in DEV300m3 build.
Comment 25 Uwe Fischer 2008-04-17 15:04:54 UTC
I cannot find the new button in DEV300_m2 and not in DEV300_m8
Comment 26 Uwe Fischer 2008-04-17 15:58:42 UTC
OK, the additional button is not there because the first attachment is outdated,
but no one told us.
The Spec Doc
http://specs.openoffice.org/writer/index/index_and_tables_dialog_enhancement.odt
states that an additional Levels spinbox exists, which I did not see at first
try because the Entries tab page UI changes according to which element got
activated in the "consruction line" of that tab page. 
BTW, I only could find the Spec Doc by reading the feature announcement. The
Spec Doc is currently not linked from specs.openoffice.org.
Comment 27 Uwe Fischer 2008-04-17 15:59:43 UTC
closed again
Comment 28 Oliver-Rainer Wittmann 2008-05-21 13:28:32 UTC
*** Issue 23562 has been marked as a duplicate of this issue. ***