OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: proposal: enhance chapter information for indexes


Dear TC members,

I post this proposal in the name of Guiseppe Castagno (Acca Esse
http://www.acca-esse.eu, giuseppe.castagno@acca-esse.eu), an individual
contributor to OpenOffice.org (beppec56@openoffice.org). The proposal
results from a corresponding enhancement request to OpenOffice.org.
I support this proposal.

It's proposed to enhance the chapter information for indexes
<text:index-entry-chapter> by the attributes and attributes values,
which are already supported by the chapter field <text:chapter>.
Values for attribute text:display are extended by plain-number and
plain-number-and-name:
<define name="text-index-entry-chapter-attrs">
	<optional>
		<attribute name="text:display" a:defaultValue="number">
			<choice>
				<value>name</value>
				<value>number</value>
				<value>number-and-name</value>
				<value>plain-number</value>
				<value>plain-number-and-name</value>
			</choice>
		</attribute>
	</optional>
</define>

Attribute text:outline-level is added to <text:index-entry-chapter>:
<define name="text-index-entry-chapter-attrs">
	<optional>
		<attribute name="text:outline-level">
			<ref name="positiveInteger"/>
		</attribute>
	</optional>
</define>
If attribute text:outline-level is missing, it's assumed that it equals
the outline level, at which the source of the entry occurs in the text
document.

It's also proposed to include the chapter information
<text:entry-index-chapter> also in the indexes of Illustrations, Tables
and Objects.

The main purpose of this proposal to create index entries like the
following ones:
- index entry of table of contents:
A.3.2 Heading 3.............................A-3
The plain chapter number of heading on outline level 1 is inserted in
front of the page number, separated by a manual inserted dash.

- index entry of index of tables:
Table 1: Fruit numbers....................A.3-3
The number of heading on outline level 2 is inserted in front of the
page number, separated by a manual inserted dash.

- index entry of alphabetical index for chapter A:
OpenDocument................................3-3
The plain number of heading on outline level 2 is inserted in front of
the page number, separated by a manual inserted dash.

I've also attached an OpenDocument text document, which is prepared by
Giuseppe, and shows how such indexes look like - open attached file
issue-i53420-demo-ooo-patched.odt with e.g. OpenOffice.org

Regards, Oliver.

issue-i53420-demo-ooo-patched.odt



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]