LibreOffice
LibreOffice 26.2 SDK API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
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
20
module
com
{ module sun { module star { module util {
21
22
26
published
interface
XLocalizedAliases
:
com::sun::star::uno::XInterface
27
{
28
31
void
bindAlias
([in]
string
programmaticName,
32
[in]
com::sun::star::lang::Locale
locale,
33
[in]
string
alias)
34
raises (
com::sun::star::container::ElementExistException
);
37
void
unbindAlias
([in]
com::sun::star::lang::Locale
locale,
38
[in]
string
alias)
39
raises (
com::sun::star::container::NoSuchElementException
);
42
string
lookupAlias
([in]
com::sun::star::lang::Locale
locale,
43
[in]
string
Alias)
44
raises (
com::sun::star::container::NoSuchElementException
);
47
string
lookupProgrammatic
([in]
com::sun::star::lang::Locale
locale,
48
[in]
string
programmatic)
49
raises (
com::sun::star::container::NoSuchElementException
);
52
void
unbindAliases
([in]
string
programmaticName)
53
raises (
com::sun::star::container::NoSuchElementException
);
56
void
rebindAliases
([in]
string
currentProgrammatic,
57
[in]
string
newProgrammatic)
58
raises (
com::sun::star::container::NoSuchElementException
,
59
com::sun::star::container::ElementExistException
);
62
void
renameAlias
([in]
com::sun::star::lang::Locale
locale,
63
[in]
string
oldName,
64
[in]
string
aNewName)
65
raises (
com::sun::star::container::NoSuchElementException
,
66
com::sun::star::container::ElementExistException
);
75
sequence<AliasProgrammaticPair>
listAliases
([in]
com::sun::star::lang::Locale
locale);
76
};
77
78
79
}; }; }; };
80
81
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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:35
com::sun::star::container::NoSuchElementException
is thrown by child access methods of collections, if the addressed child does not exist.
Definition
NoSuchElementException.idl:31
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition
XInterface.idl:46
com::sun::star::util::XLocalizedAliases
is the interface for binding programmatic names to aliases.
Definition
XLocalizedAliases.idl:27
com::sun::star::util::XLocalizedAliases::bindAlias
void bindAlias([in]string programmaticName, [in]com::sun::star::lang::Locale locale, [in]string alias)
registers an alias for a programmatic name.
com::sun::star::util::XLocalizedAliases::lookupAlias
string lookupAlias([in]com::sun::star::lang::Locale locale, [in]string Alias)
retrieves a registered programmatic name identified by an alias.
com::sun::star::util::XLocalizedAliases::rebindAliases
void rebindAliases([in]string currentProgrammatic, [in]string newProgrammatic)
rebinds all aliases registered to a given URL to a new one.
com::sun::star::util::XLocalizedAliases::unbindAlias
void unbindAlias([in]com::sun::star::lang::Locale locale, [in]string alias)
revokes an alias for a programmatic name.
com::sun::star::util::XLocalizedAliases::listAliases
sequence< AliasProgrammaticPair > listAliases([in]com::sun::star::lang::Locale locale)
retrieves a list of all registered aliases for a certain language.
com::sun::star::util::XLocalizedAliases::unbindAliases
void unbindAliases([in]string programmaticName)
removes all aliases for a programmatic name.
com::sun::star::util::XLocalizedAliases::renameAlias
void renameAlias([in]com::sun::star::lang::Locale locale, [in]string oldName, [in]string aNewName)
renames an alias for a programmatic name.
com::sun::star::util::XLocalizedAliases::lookupProgrammatic
string lookupProgrammatic([in]com::sun::star::lang::Locale locale, [in]string programmatic)
retrieves a given alias for a programmatic name.
com
Definition
Ambiguous.idl:20
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition
Locale.idl:34
com
sun
star
util
XLocalizedAliases.idl
Generated by
1.17.0