diff options
author | Jürgen Schmidt <jsc@apache.org> | 2013-03-20 14:15:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-23 11:55:26 +0100 |
commit | 5e059c1ee53b6be058f66a7c43af0e75f3cadfa1 (patch) | |
tree | 673236fae4643e65b3fa19962a76ef52bde01cfb /offapi | |
parent | 1959113eac6bb23310883c974ac40cba6f222493 (diff) |
Resolves: #i121731# extend XSmartTagAction->getActionCount...
with additional parameter to increase flexibility of context menus
Patch by: Kai Labusch
Review by: arielch, jsc
(cherry picked from commit 5898e201ae8bbc1203bf24629a389f8f3b3e02ee)
Conflicts:
svx/source/mnuctrls/SmartTagCtl.cxx
Change-Id: I91d50b94657c29db289864863ee752d4ce45db6c
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/smarttags/XSmartTagAction.idl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/offapi/com/sun/star/smarttags/XSmartTagAction.idl b/offapi/com/sun/star/smarttags/XSmartTagAction.idl index 3f85469e3b76..005eb6f25db4 100644 --- a/offapi/com/sun/star/smarttags/XSmartTagAction.idl +++ b/offapi/com/sun/star/smarttags/XSmartTagAction.idl @@ -82,7 +82,7 @@ interface XSmartTagAction: com::sun::star::lang::XInitialization @throws com::sun::star::lang::IndexOutOfBoundsException if nSmartTagIndex is greater than SmartTagCount. */ - string getSmartTagName( [in] long nSmartTagIndex ) + string getSmartTagName( [in] long nSmartTagIndex) raises( com::sun::star::lang::IndexOutOfBoundsException ); @@ -104,7 +104,7 @@ interface XSmartTagAction: com::sun::star::lang::XInitialization if nSmartTagIndex is greater than SmartTagCount */ string getSmartTagCaption( [in] long nSmartTagIndex, - [in] ::com::sun::star::lang::Locale aLocale ) + [in] ::com::sun::star::lang::Locale aLocale) raises( com::sun::star::lang::IndexOutOfBoundsException ); @@ -123,7 +123,8 @@ interface XSmartTagAction: com::sun::star::lang::XInitialization type. */ long getActionCount( [in] string aSmartTagName, - [in] com::sun::star::frame::XController xController ); + [in] com::sun::star::frame::XController xController, + [in] com::sun::star::container::XStringKeyMap xProperties); /** obtains a unique integer identifier for an action. @@ -210,7 +211,7 @@ interface XSmartTagAction: com::sun::star::lang::XInitialization if the ActionID is not recognized. */ string getActionNameFromID( [in] long nActionID, - [in] com::sun::star::frame::XController xController ) + [in] com::sun::star::frame::XController xController) raises( com::sun::star::lang::IllegalArgumentException ); |