LibreOffice LibreOffice 7.2 SDK API Reference

XForbiddenCharacters.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_i18n_XForbiddenCharacters_idl__
20#define __com_sun_star_i18n_XForbiddenCharacters_idl__
21
22#include <com/sun/star/i18n/ForbiddenCharacters.idl>
23#include <com/sun/star/lang/Locale.idl>
24#include <com/sun/star/container/NoSuchElementException.idl>
25
26
27
28module com { module sun { module star { module i18n {
29
30
38published interface XForbiddenCharacters : com::sun::star::uno::XInterface
39{
42 ForbiddenCharacters getForbiddenCharacters(
43 [in] com::sun::star::lang::Locale aLocale )
44 raises( com::sun::star::container::NoSuchElementException );
45
48 boolean hasForbiddenCharacters(
49 [in] com::sun::star::lang::Locale aLocale );
50
53 void setForbiddenCharacters(
54 [in] com::sun::star::lang::Locale aLocale,
55 [in] ForbiddenCharacters aForbiddenCharacters );
56
59 void removeForbiddenCharacters(
60 [in] com::sun::star::lang::Locale aLocale );
61};
62
63}; }; }; };
64
65#endif
66
67/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ForbiddenCharacters.idl
Locale.idl
NoSuchElementException.idl
com::sun::star::container::NoSuchElementException
is thrown by child access methods of collections, if the addressed child does not exist.
Definition: NoSuchElementException.idl:35
com::sun::star::i18n::XForbiddenCharacters
provides access to forbidden character settings in a document.
Definition: XForbiddenCharacters.idl:39
com::sun::star::i18n::XForbiddenCharacters::setForbiddenCharacters
void setForbiddenCharacters([in] com::sun::star::lang::Locale aLocale, [in] ForbiddenCharacters aForbiddenCharacters)
sets the forbidden characters for a given Locale.
com::sun::star::i18n::XForbiddenCharacters::hasForbiddenCharacters
boolean hasForbiddenCharacters([in] com::sun::star::lang::Locale aLocale)
determines if forbidden characters are set for a given locale.
com::sun::star::i18n::XForbiddenCharacters::getForbiddenCharacters
ForbiddenCharacters getForbiddenCharacters([in] com::sun::star::lang::Locale aLocale)
returns the forbidden characters for a given locale.
com::sun::star::i18n::XForbiddenCharacters::removeForbiddenCharacters
void removeForbiddenCharacters([in] com::sun::star::lang::Locale aLocale)
removes the setting of forbidden characters for a given locale.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com
Definition: Accessible.idl:22
com::sun::star::i18n::ForbiddenCharacters
Locale (mostly CJK) dependent characters that are forbidden at the start or end of a line.
Definition: ForbiddenCharacters.idl:36
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:48