LibreOffice
LibreOffice 24.2 SDK API Reference
com
sun
star
smarttags
XSmartTagRecognizer.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 smarttags {
21
22
29
interface
XSmartTagRecognizer
:
com::sun::star::lang::XInitialization
30
{
39
string
getName( [in] ::
com::sun::star::lang::Locale
aLocale );
40
41
50
string
getDescription( [in] ::
com::sun::star::lang::Locale
aLocale );
51
52
56
[attribute, readonly]
long
SmartTagCount
;
57
58
74
string
getSmartTagName( [in]
long
nSmartTagIndex )
75
raises(
com::sun::star::lang::IndexOutOfBoundsException
);
76
77
92
string
getSmartTagDownloadURL( [in]
long
nSmartTagIndex )
93
raises(
com::sun::star::lang::IndexOutOfBoundsException
);
94
95
127
void
recognize( [in]
string
aText,
128
[in]
long
nStart,
129
[in]
long
nLength,
130
[in]
SmartTagRecognizerMode
eDataType,
131
[in]
com::sun::star::lang::Locale
aLocale,
132
[in]
com::sun::star::text::XTextMarkup
xTextMarkup,
133
[in]
string
aApplicationName,
134
[in]
com::sun::star::frame::XController
xController,
135
[in]
com::sun::star::i18n::XBreakIterator
xTokenizer );
136
154
boolean
hasPropertyPage( [in]
long
nSmartTagIndex,
155
[in] ::
com::sun::star::lang::Locale
aLocale )
156
raises(
com::sun::star::lang::IndexOutOfBoundsException
);
157
158
172
void
displayPropertyPage( [in]
long
nSmartTagIndex,
173
[in] ::
com::sun::star::lang::Locale
aLocale )
174
raises(
com::sun::star::lang::IndexOutOfBoundsException
);
175
176
};
177
178
}; }; }; };
179
180
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::smarttags::XSmartTagRecognizer::SmartTagCount
long SmartTagCount
The number of smart tag types supported by this recognizer component.
Definition:
XSmartTagRecognizer.idl:56
com::sun::star::lang::IndexOutOfBoundsException
This exception is thrown to indicate that a container has been accessed with an illegal index...
Definition:
IndexOutOfBoundsException.idl:30
com
Definition:
Ambiguous.idl:20
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition:
Locale.idl:33
com::sun::star::text::XTextMarkup
provides functionality to markup text.
Definition:
XTextMarkup.idl:29
com::sun::star::frame::XController
With this interface, components viewed in a Frame can serve events (by supplying dispatches).
Definition:
XController.idl:33
com::sun::star::lang::XInitialization
initializes an object directly after its creation.
Definition:
XInitialization.idl:40
com::sun::star::i18n::XBreakIterator
contains the base routines for iteration in Unicode string.
Definition:
XBreakIterator.idl:31
com::sun::star::smarttags::XSmartTagRecognizer
provides access to a smart tag recognizer.
Definition:
XSmartTagRecognizer.idl:29
com::sun::star::smarttags::SmartTagRecognizerMode
SmartTagRecognizerMode
specifies the which type of text is passed to XSmartTagRecognizer::recognize()
Definition:
SmartTagRecognizerMode.idl:30
Generated by
1.8.14