LibreOffice: com/sun/star/util/XLocalizedAliases.idl Source File

LibreOffice LibreOffice 5.1 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

XLocalizedAliases.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19 #ifndef __com_sun_star_util_XLocalizedAliases_idl__
20 #define __com_sun_star_util_XLocalizedAliases_idl__
21
22 #include <com/sun/star/lang/Locale.idl>
23
24 #include <com/sun/star/container/NoSuchElementException.idl>
25
26 #include <com/sun/star/container/ElementExistException.idl>
27
28 #include <com/sun/star/util/AliasProgrammaticPair.idl>
29
30 module com { module sun { module star { module util {
31
32
36 published interface XLocalizedAliases: com::sun::star::uno::XInterface
37 {
38
41 void bindAlias([in]string programmaticName,
42 [in]com::sun::star::lang::Locale locale,
43 [in]string alias)
44 raises (com::sun::star::container::ElementExistException);
47 void unbindAlias([in]com::sun::star::lang::Locale locale,
48 [in]string alias)
49 raises (com::sun::star::container::NoSuchElementException);
52 string lookupAlias([in]com::sun::star::lang::Locale locale,
53 [in]string Alias)
54 raises (com::sun::star::container::NoSuchElementException);
57 string lookupProgrammatic([in]com::sun::star::lang::Locale locale,
58 [in]string programmatic)
59 raises (com::sun::star::container::NoSuchElementException);
62 void unbindAliases([in]string programmaticName)
63 raises (com::sun::star::container::NoSuchElementException);
66 void rebindAliases([in]string currentProgrammatic,
67 [in]string newProgrammatic)
68 raises (com::sun::star::container::NoSuchElementException,
69 com::sun::star::container::ElementExistException);
72 void renameAlias([in]com::sun::star::lang::Locale locale,
73 [in]string oldName,
74 [in]string aNewName)
75 raises (com::sun::star::container::NoSuchElementException,
76 com::sun::star::container::ElementExistException);
85 sequence<AliasProgrammaticPair> listAliases([in]com::sun::star::lang::Locale locale);
86 };
87
88
89 }; }; }; };
90
91 #endif
92
93 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
NoSuchElementException.idl
ElementExistException.idl
com
Definition: Ambiguous.idl:22
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:52
com::sun::star::util::XLocalizedAliases
is the interface for binding programmatic names to aliases.
Definition: XLocalizedAliases.idl:36
Locale.idl
com::sun::star::container::NoSuchElementException
is thrown by child access methods of collections, if the addressed child does not exist...
Definition: NoSuchElementException.idl:34
AliasProgrammaticPair.idl
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:47
com::sun::star::container::ElementExistException
is thrown by container methods, if an element is added which is already a child of the container...
Definition: ElementExistException.idl:38