diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-27 09:06:29 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-27 09:32:44 +0200 |
commit | 69578bf06d206e234ea8fd4a5f8331edfd9eb590 (patch) | |
tree | 65002288a81fb0acfa25d659e8437a4836c9a318 /sw/inc/textboxhelper.hxx | |
parent | f1dae10ca512084a04d08e3f0268723223a92e38 (diff) |
SwXDrawPage::getByIndex(): ignore textboxes
Change-Id: I643ca4268e15af1882adb168af152835ef216cd9
Diffstat (limited to 'sw/inc/textboxhelper.hxx')
-rw-r--r-- | sw/inc/textboxhelper.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/textboxhelper.hxx b/sw/inc/textboxhelper.hxx index bac2dcc0463b..d3532c068c61 100644 --- a/sw/inc/textboxhelper.hxx +++ b/sw/inc/textboxhelper.hxx @@ -14,6 +14,7 @@ #include <com/sun/star/uno/Any.h> #include <com/sun/star/uno/Type.h> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> class SdrPage; class SwFrmFmt; @@ -43,6 +44,8 @@ public: static std::list<SwFrmFmt*> findTextBoxes(SwDoc* pDoc); /// Count number of shapes in the document, excluding TextBoxes. static sal_Int32 getCount(SdrPage* pPage, std::list<SwFrmFmt*>& rTextBoxes); + /// Get a shape by index, excluding TextBoxes. + static css::uno::Any getByIndex(SdrPage* pPage, sal_Int32 nIndex, std::list<SwFrmFmt*>& rTextBoxes) throw(css::lang::IndexOutOfBoundsException); }; #endif // INCLUDED_SW_INC_TEXTBOXHELPER_HXX |