1d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5d1766043SAndrew Rist * distributed with this work for additional information 6d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10d1766043SAndrew Rist * 11d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12d1766043SAndrew Rist * 13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14d1766043SAndrew Rist * software distributed under the License is distributed on an 15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17d1766043SAndrew Rist * specific language governing permissions and limitations 18d1766043SAndrew Rist * under the License. 19d1766043SAndrew Rist * 20d1766043SAndrew Rist *************************************************************/ 21d1766043SAndrew Rist 22d1766043SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef __com_sun_star_text_fieldmaster_Bibliography_idl_ 25cdf0e10cSrcweir#define __com_sun_star_text_fieldmaster_Bibliography_idl_ 26cdf0e10cSrcweir 27cdf0e10cSrcweir#include <com/sun/star/text/TextFieldMaster.idl> 28cdf0e10cSrcweir#include <com/sun/star/beans/PropertyValues.idl> 29cdf0e10cSrcweir#include <com/sun/star/lang/Locale.idl> 30cdf0e10cSrcweir 31cdf0e10cSrcweir//============================================================================= 32cdf0e10cSrcweir 33cdf0e10cSrcweirmodule com { module sun { module star { module text { module fieldmaster { 34cdf0e10cSrcweir 35cdf0e10cSrcweir//============================================================================= 36cdf0e10cSrcweir/** specifies service of a Bibliography field master. 37cdf0e10cSrcweir @see com::sun::star::text::TextField 38cdf0e10cSrcweir*/ 39cdf0e10cSrcweirpublished service Bibliography 40cdf0e10cSrcweir{ 41cdf0e10cSrcweir service com::sun::star::text::TextFieldMaster; 42cdf0e10cSrcweir 43cdf0e10cSrcweir //------------------------------------------------------------------------ 44*d8faddccSMatthias Seidel /** determines whether the bibiliography text fields are numbered. If <FALSE/> the 45cdf0e10cSrcweir short name of the bibliography entry is displayed instead. 46cdf0e10cSrcweir */ 47cdf0e10cSrcweir [property] boolean IsNumberEntries; 48cdf0e10cSrcweir //------------------------------------------------------------------------ 49*d8faddccSMatthias Seidel /** determines whether the bibliography entries in a bibliography index are sorted 50*d8faddccSMatthias Seidel by the document position. If <FALSE/> the SortKey property determines the 51cdf0e10cSrcweir sorting of the entries. 52cdf0e10cSrcweir */ 53cdf0e10cSrcweir [property] boolean IsSortByPosition; 54cdf0e10cSrcweir //------------------------------------------------------------------------ 55*d8faddccSMatthias Seidel /** determines the opening bracket used to display the bibliography text fields. 56cdf0e10cSrcweir */ 57cdf0e10cSrcweir [property] string BracketBefore; 58cdf0e10cSrcweir //------------------------------------------------------------------------ 59*d8faddccSMatthias Seidel /** determines the closing bracket used to display the bibliography text fields. 60cdf0e10cSrcweir */ 61cdf0e10cSrcweir [property] string BracketAfter; 62cdf0e10cSrcweir //------------------------------------------------------------------------ 63*d8faddccSMatthias Seidel /** determines the sorting of the bibliography entries in a bibliography index. 64cdf0e10cSrcweir This property is used if the property IsSortByPosition is not set. 65cdf0e10cSrcweir Each contained element of the sequence is a sequence of the following 66cdf0e10cSrcweir two properties: 67cdf0e10cSrcweir <UL> 68cdf0e10cSrcweir <LI><P>[property] short SortKey;</P> 69cdf0e10cSrcweir <UL> 70*d8faddccSMatthias Seidel <LI><P>Determines the bibliography field that is used to sort by.</P> 71cdf0e10cSrcweir </UL> 72cdf0e10cSrcweir <LI><P>[property] boolean IsSortAscending;</P> 73cdf0e10cSrcweir <UL> 74*d8faddccSMatthias Seidel <LI><P>Determines wheter the sorting is ascending or descending. 75cdf0e10cSrcweir It uses the type <type scope="com::sun::star::text">BibliographyDataField</type></P> 76cdf0e10cSrcweir </UL> 77cdf0e10cSrcweir </UL> 78cdf0e10cSrcweir */ 79cdf0e10cSrcweir [property] sequence< com::sun::star::beans::PropertyValues > SortKeys; 80cdf0e10cSrcweir //------------------------------------------------------------------------ 81cdf0e10cSrcweir /** contains the locale of the field master 82cdf0e10cSrcweir */ 83cdf0e10cSrcweir [property] com::sun::star::lang::Locale Locale; 84cdf0e10cSrcweir //------------------------------------------------------------------------ 85cdf0e10cSrcweir /** contains the name of the sort algorithm that is used to sort the text fields. 86cdf0e10cSrcweir */ 87cdf0e10cSrcweir [property] string SortAlgorithm; 88cdf0e10cSrcweir 89cdf0e10cSrcweir}; 90cdf0e10cSrcweir 91cdf0e10cSrcweir//============================================================================= 92cdf0e10cSrcweir 93cdf0e10cSrcweir}; }; }; }; }; 94cdf0e10cSrcweir 95cdf0e10cSrcweir#endif 96cdf0e10cSrcweir 97