/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ module com { module sun { module star { module text { /** This service provides access to the structure of the levels of document indexes.
The element type is Sequence< PropertyValues >. Each element in this sequence represents a member of an index line. The following properties are part of such an element.
TokenType
Values:
TokenEntryNumber - chapter number, used in content indexes only
TokenEntryText - text of the entry
TokenTabStop - tab stop
TokenText - user defined text
TokenPageNumber - page number
TokenChapterInfo - chapter info, in illustration indexes, table indexes, user indexes, table of objects and alphabetical indexes only
TokenHyperlinkStart - start of a hyperlink
TokenHyperlinkEnd - end of a hyperlink
TokenBibliographyDataField - bibliographic data field
CharacterStyleName
Name of the character style applied to the element. Invalid in tab stops.
TabStopRightAligned
Tab stop is right aligned. Only valid for tab stops.
TabStopPosition
Position of the tab stop. Only valid for tab stops.
TabStopFillCharacter
Fill character in tab stops. Only valid for tab stops.
WithTab
If true insert tab character.
Text
Text. Only valid in user defined text.
ChapterFormat
Valid in chapter info and entry number only. See ChapterFormat.
Other information.
In chapter info only com.sun.star.text.ChapterFormat.NUMBER, com.sun.star.text.ChapterFormat.NAME, and com.sun.star.text.ChapterFormat.NAME_NUMBER constants are allowed.
In entry number only com.sun.star.text.ChapterFormat.NUMBER and com.sun.star.text.ChapterFormat.DIGIT constants are allowed.
ChapterLevel
Valid in chapter info and entry number only. Denotes the level up to which the chapter information is given. Values permitted 1 to 10 inclusive.