LibreOffice
LibreOffice 5.0 SDK API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
com
sun
star
smarttags
XSmartTagAction.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
#ifndef __com_sun_star_smarttags_XSmartTagAction_idl__
21
#define __com_sun_star_smarttags_XSmartTagAction_idl__
22
23
#include <
com/sun/star/container/XStringKeyMap.idl
>
24
#include <
com/sun/star/lang/XInitialization.idl
>
25
#include <
com/sun/star/lang/Locale.idl
>
26
#include <
com/sun/star/text/XTextRange.idl
>
27
#include <
com/sun/star/frame/XController.idl
>
28
#include <
com/sun/star/lang/IndexOutOfBoundsException.idl
>
29
#include <
com/sun/star/lang/IllegalArgumentException.idl
>
30
31
32
module com { module sun { module star { module smarttags {
33
34
40
interface
XSmartTagAction
:
com::sun::star::lang::XInitialization
41
{
50
string
getName( [in] ::
com::sun::star::lang::Locale
aLocale );
51
52
61
string
getDescription( [in] ::
com::sun::star::lang::Locale
aLocale );
62
63
67
[attribute, readonly]
long
SmartTagCount
;
68
69
85
string
getSmartTagName( [in]
long
nSmartTagIndex)
86
raises(
com::sun::star::lang::IndexOutOfBoundsException
);
87
88
106
string
getSmartTagCaption( [in]
long
nSmartTagIndex,
107
[in] ::
com::sun::star::lang::Locale
aLocale)
108
raises(
com::sun::star::lang::IndexOutOfBoundsException
);
109
110
125
long
getActionCount( [in]
string
aSmartTagName,
126
[in]
com::sun::star::frame::XController
xController,
127
[in]
com::sun::star::container::XStringKeyMap
xProperties);
128
148
long
getActionID( [in]
string
aSmartTagName, [in]
long
nActionIndex,
149
[in]
com::sun::star::frame::XController
xController )
150
raises(
com::sun::star::lang::IllegalArgumentException
);
151
152
188
string
getActionCaptionFromID( [in]
long
nActionID,
189
[in]
string
aApplicationName,
190
[in] ::
com::sun::star::lang::Locale
aLocale,
191
[in]
com::sun::star::container::XStringKeyMap
xProperties,
192
[in]
string
aText,
193
[in]
string
aXML,
194
[in]
com::sun::star::frame::XController
xController,
195
[in]
com::sun::star::text::XTextRange
xTarget )
196
raises(
com::sun::star::lang::IllegalArgumentException
);
197
198
213
string
getActionNameFromID( [in]
long
nActionID,
214
[in]
com::sun::star::frame::XController
xController)
215
raises(
com::sun::star::lang::IllegalArgumentException
);
216
217
249
void
invokeAction( [in]
long
nActionID,
250
[in]
string
aApplicationName,
251
[in]
com::sun::star::frame::XController
xController,
252
[in]
com::sun::star::text::XTextRange
xTarget,
253
[in]
com::sun::star::container::XStringKeyMap
xProperties,
254
[in]
string
aText,
255
[in]
string
aXML,
256
[in] ::
com::sun::star::lang::Locale
aLocale )
257
raises(
com::sun::star::lang::IllegalArgumentException
);
258
259
280
boolean
isCaptionDynamic( [in]
long
nActionID,
281
[in]
string
aApplicationName,
282
[in]
com::sun::star::frame::XController
xController,
283
[in] ::
com::sun::star::lang::Locale
aLocale )
284
raises(
com::sun::star::lang::IllegalArgumentException
);
285
286
308
boolean
isShowSmartTagIndicator( [in]
long
nActionID,
309
[in]
string
aApplicationName,
310
[in]
com::sun::star::frame::XController
xController,
311
[in] ::
com::sun::star::lang::Locale
aLocale )
312
raises(
com::sun::star::lang::IllegalArgumentException
);
313
};
314
315
}; }; }; };
316
317
#endif
318
319
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated by
1.8.4