1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com
{ module sun
{ module star
{ module text
{
24 /** These constants define the type of the source of a reference field.
26 published constants ReferenceFieldSource
28 /** The source is a reference mark.
30 const short REFERENCE_MARK
= 0;
32 /** The source is a number sequence field.
34 const short SEQUENCE_FIELD
= 1;
36 /** The source is a bookmark.
38 const short BOOKMARK
= 2;
40 /** The source is a footnote.
42 const short FOOTNOTE
= 3;
44 /** The source is an endnote.
46 const short ENDNOTE
= 4;
48 /** The source is a style.
49 @since LibreOffice 24.2
51 const short STYLE
= 5;
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */