this class implements a search or replace operation on a given page or a given sdrobj
More...
#include <unosrch.hxx>
|
| SdUnoSearchReplaceShape (css::drawing::XDrawPage *xPage) noexcept |
| this class implements a search or replace operation on a given page or a given sdrobj More...
|
|
virtual | ~SdUnoSearchReplaceShape () noexcept |
|
virtual css::uno::Reference< css::util::XReplaceDescriptor > SAL_CALL | createReplaceDescriptor () override |
|
virtual sal_Int32 SAL_CALL | replaceAll (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
|
virtual css::uno::Reference< css::util::XSearchDescriptor > SAL_CALL | createSearchDescriptor () override |
|
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL | findAll (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
|
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | findFirst (const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
|
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | findNext (const css::uno::Reference< css::uno::XInterface > &xStartAt, const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override |
|
|
css::uno::Reference< css::text::XTextRange > | Search (const css::uno::Reference< css::text::XTextRange > &xText, SdUnoSearchReplaceDescriptor *pDescr) |
|
bool | Search (const OUString &rText, sal_Int32 &nStartPos, sal_Int32 &nEndPos, SdUnoSearchReplaceDescriptor *pDescr) noexcept |
|
css::uno::Reference< css::drawing::XShape > | GetNextShape (const css::uno::Reference< css::container::XIndexAccess > &xShapes, const css::uno::Reference< css::drawing::XShape > &xCurrentShape) noexcept |
| this method returns the shape that follows xCurrentShape in the shape collection xShapes. More...
|
|
css::uno::Reference< css::drawing::XShape > | GetCurrentShape () const noexcept |
|
|
static ESelection | GetSelection (const css::uno::Reference< css::text::XTextRange > &xTextRange) noexcept |
|
static css::uno::Reference< css::drawing::XShape > | GetShape (const css::uno::Reference< css::text::XTextRange > &xTextRange) noexcept |
|
|
css::drawing::XDrawPage * | mpPage |
|
this class implements a search or replace operation on a given page or a given sdrobj
Definition at line 39 of file unosrch.hxx.
◆ SdUnoSearchReplaceShape()
SdUnoSearchReplaceShape::SdUnoSearchReplaceShape |
( |
css::drawing::XDrawPage * |
xPage | ) |
|
|
noexcept |
this class implements a search or replace operation on a given page or a given sdrobj
Definition at line 92 of file unosrch.cxx.
References mpPage.
◆ ~SdUnoSearchReplaceShape()
SdUnoSearchReplaceShape::~SdUnoSearchReplaceShape |
( |
| ) |
|
|
virtualnoexcept |
◆ createReplaceDescriptor()
uno::Reference< util::XReplaceDescriptor > SAL_CALL SdUnoSearchReplaceShape::createReplaceDescriptor |
( |
| ) |
|
|
overridevirtual |
◆ createSearchDescriptor()
uno::Reference< css::util::XSearchDescriptor > SAL_CALL SdUnoSearchReplaceShape::createSearchDescriptor |
( |
| ) |
|
|
overridevirtual |
◆ findAll()
uno::Reference< css::container::XIndexAccess > SAL_CALL SdUnoSearchReplaceShape::findAll |
( |
const css::uno::Reference< css::util::XSearchDescriptor > & |
xDesc | ) |
|
|
overridevirtual |
◆ findFirst()
uno::Reference< css::uno::XInterface > SAL_CALL SdUnoSearchReplaceShape::findFirst |
( |
const css::uno::Reference< css::util::XSearchDescriptor > & |
xDesc | ) |
|
|
overridevirtual |
◆ findNext()
uno::Reference< css::uno::XInterface > SAL_CALL SdUnoSearchReplaceShape::findNext |
( |
const css::uno::Reference< css::uno::XInterface > & |
xStartAt, |
|
|
const css::uno::Reference< css::util::XSearchDescriptor > & |
xDesc |
|
) |
| |
|
overridevirtual |
◆ GetCurrentShape()
uno::Reference< drawing::XShape > SdUnoSearchReplaceShape::GetCurrentShape |
( |
| ) |
const |
|
protectednoexcept |
◆ GetNextShape()
uno::Reference< drawing::XShape > SdUnoSearchReplaceShape::GetNextShape |
( |
const css::uno::Reference< css::container::XIndexAccess > & |
xShapes, |
|
|
const css::uno::Reference< css::drawing::XShape > & |
xCurrentShape |
|
) |
| |
|
protectednoexcept |
this method returns the shape that follows xCurrentShape in the shape collection xShapes.
It steps recursive into groupshapes and returns the xCurrentShape if it is the last shape in this collection
Definition at line 349 of file unosrch.cxx.
References i, and nCount.
Referenced by findNext().
◆ GetSelection()
ESelection SdUnoSearchReplaceShape::GetSelection |
( |
const css::uno::Reference< css::text::XTextRange > & |
xTextRange | ) |
|
|
staticprotectednoexcept |
◆ GetShape()
uno::Reference< drawing::XShape > SdUnoSearchReplaceShape::GetShape |
( |
const css::uno::Reference< css::text::XTextRange > & |
xTextRange | ) |
|
|
staticprotectednoexcept |
◆ replaceAll()
sal_Int32 SAL_CALL SdUnoSearchReplaceShape::replaceAll |
( |
const css::uno::Reference< css::util::XSearchDescriptor > & |
xDesc | ) |
|
|
overridevirtual |
◆ Search() [1/2]
css::uno::Reference< css::text::XTextRange > SdUnoSearchReplaceShape::Search |
( |
const css::uno::Reference< css::text::XTextRange > & |
xText, |
|
|
SdUnoSearchReplaceDescriptor * |
pDescr |
|
) |
| |
|
protected |
◆ Search() [2/2]
bool SdUnoSearchReplaceShape::Search |
( |
const OUString & |
rText, |
|
|
sal_Int32 & |
nStartPos, |
|
|
sal_Int32 & |
nEndPos, |
|
|
SdUnoSearchReplaceDescriptor * |
pDescr |
|
) |
| |
|
protectednoexcept |
◆ mpPage
css::drawing::XDrawPage* SdUnoSearchReplaceShape::mpPage |
|
private |
The documentation for this class was generated from the following files: