LibreOffice Module sw (master)
1
|
#include <vbafind.hxx>
Public Member Functions | |
SwVbaFind (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::text::XTextRange > &xTextRange) | |
virtual | ~SwVbaFind () override |
virtual OUString SAL_CALL | getText () override |
virtual void SAL_CALL | setText (const OUString &_text) override |
virtual css::uno::Any SAL_CALL | getReplacement () override |
virtual void SAL_CALL | setReplacement (const css::uno::Any &_replacement) override |
virtual sal_Bool SAL_CALL | getForward () override |
virtual void SAL_CALL | setForward (sal_Bool _forward) override |
virtual ::sal_Int32 SAL_CALL | getWrap () override |
virtual void SAL_CALL | setWrap (::sal_Int32 _wrap) override |
virtual sal_Bool SAL_CALL | getFormat () override |
virtual void SAL_CALL | setFormat (sal_Bool _format) override |
virtual sal_Bool SAL_CALL | getMatchCase () override |
virtual void SAL_CALL | setMatchCase (sal_Bool _matchcase) override |
virtual sal_Bool SAL_CALL | getMatchWholeWord () override |
virtual void SAL_CALL | setMatchWholeWord (sal_Bool _matchwholeword) override |
virtual sal_Bool SAL_CALL | getMatchWildcards () override |
virtual void SAL_CALL | setMatchWildcards (sal_Bool _matchwildcards) override |
virtual sal_Bool SAL_CALL | getMatchSoundsLike () override |
virtual void SAL_CALL | setMatchSoundsLike (sal_Bool _matchsoundslike) override |
virtual sal_Bool SAL_CALL | getMatchAllWordForms () override |
virtual void SAL_CALL | setMatchAllWordForms (sal_Bool _matchallwordforms) override |
virtual css::uno::Any SAL_CALL | getStyle () override |
virtual void SAL_CALL | setStyle (const css::uno::Any &_style) override |
virtual sal_Bool SAL_CALL | Execute (const css::uno::Any &FindText, const css::uno::Any &MatchCase, const css::uno::Any &MatchWholeWord, const css::uno::Any &MatchWildcards, const css::uno::Any &MatchSoundsLike, const css::uno::Any &MatchAllWordForms, const css::uno::Any &Forward, const css::uno::Any &Wrap, const css::uno::Any &Format, const css::uno::Any &ReplaceWith, const css::uno::Any &Replace, const css::uno::Any &MatchKashida, const css::uno::Any &MatchDiacritics, const css::uno::Any &MatchAlefHamza, const css::uno::Any &MatchControl, const css::uno::Any &MatchPrefix, const css::uno::Any &MatchSuffix, const css::uno::Any &MatchPhrase, const css::uno::Any &IgnoreSpace, const css::uno::Any &IgnorePunct) override |
virtual void SAL_CALL | ClearFormatting () override |
virtual OUString | getServiceImplName () override |
virtual css::uno::Sequence< OUString > | getServiceNames () override |
![]() | |
InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
![]() | |
InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
virtual ::sal_Int32 SAL_CALL | getCreator () override |
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL | getParent () override |
virtual css::uno::Any SAL_CALL | Application () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Private Member Functions | |
bool | InRange (const css::uno::Reference< css::text::XTextRange > &xCurrentRange) |
bool | InEqualRange (const css::uno::Reference< css::text::XTextRange > &xCurrentRange) |
void | SetReplace (sal_Int32 type) |
void | SetReplaceWith (const OUString &rText) |
OUString | GetReplaceWith () |
css::uno::Reference< css::text::XTextRange > | FindOneElement () |
bool | SearchReplace () |
Private Attributes | |
css::uno::Reference< css::frame::XModel > | mxModel |
css::uno::Reference< css::text::XTextRange > | mxTextRange |
css::uno::Reference< css::util::XReplaceable > | mxReplaceable |
css::uno::Reference< css::util::XPropertyReplace > | mxPropertyReplace |
css::uno::Reference< css::text::XTextViewCursor > | mxTVC |
css::uno::Reference< css::view::XSelectionSupplier > | mxSelSupp |
bool | mbReplace |
sal_Int32 | mnReplaceType |
sal_Int32 | mnWrap |
Additional Inherited Members | |
![]() | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 32 of file vbafind.hxx.
SwVbaFind::SwVbaFind | ( | const css::uno::Reference< ooo::vba::XHelperInterface > & | rParent, |
const css::uno::Reference< css::uno::XComponentContext > & | rContext, | ||
const css::uno::Reference< css::frame::XModel > & | xModel, | ||
const css::uno::Reference< css::text::XTextRange > & | xTextRange | ||
) |
css::uno::RuntimeException |
Definition at line 30 of file vbafind.cxx.
References ooo::vba::word::getXTextViewCursor(), mxModel, mxModel, mxPropertyReplace, mxReplaceable, mxSelSupp, and mxTVC.
|
overridevirtual |
Definition at line 39 of file vbafind.cxx.
|
overridevirtual |
Definition at line 384 of file vbafind.cxx.
References mxPropertyReplace.
|
overridevirtual |
Definition at line 304 of file vbafind.cxx.
References uno::Any::hasValue(), nValue, result, SearchReplace(), setFormat(), setForward(), setMatchAllWordForms(), setMatchCase(), setMatchSoundsLike(), setMatchWholeWord(), setMatchWildcards(), SetReplace(), SetReplaceWith(), setText(), and setWrap().
|
private |
css::uno::RuntimeException |
Definition at line 70 of file vbafind.cxx.
References getForward(), getWrap(), InEqualRange(), InRange(), mxPropertyReplace, mxReplaceable, mxTextRange, and mxTVC.
Referenced by SearchReplace().
|
overridevirtual |
Definition at line 218 of file vbafind.cxx.
References mxPropertyReplace.
|
overridevirtual |
Definition at line 193 of file vbafind.cxx.
References mxPropertyReplace.
Referenced by FindOneElement().
|
overridevirtual |
Definition at line 277 of file vbafind.cxx.
References mxPropertyReplace, and value.
|
overridevirtual |
Definition at line 228 of file vbafind.cxx.
References mxPropertyReplace, and value.
|
overridevirtual |
Definition at line 264 of file vbafind.cxx.
References mxPropertyReplace, and value.
|
overridevirtual |
Definition at line 240 of file vbafind.cxx.
References mxPropertyReplace, and value.
|
overridevirtual |
Definition at line 252 of file vbafind.cxx.
References mxPropertyReplace, and value.
|
overridevirtual |
Definition at line 183 of file vbafind.cxx.
References InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, and mxPropertyReplace.
|
private |
css::uno::RuntimeException |
Definition at line 61 of file vbafind.cxx.
References mxPropertyReplace.
Referenced by SearchReplace().
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 391 of file vbafind.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 397 of file vbafind.cxx.
References aServiceNames.
|
overridevirtual |
Definition at line 293 of file vbafind.cxx.
|
overridevirtual |
Definition at line 173 of file vbafind.cxx.
References mxPropertyReplace.
|
override |
|
private |
css::uno::RuntimeException |
Definition at line 49 of file vbafind.cxx.
References mxTextRange.
Referenced by FindOneElement().
|
private |
css::uno::RuntimeException |
Definition at line 43 of file vbafind.cxx.
References mxTextRange.
Referenced by FindOneElement(), and SearchReplace().
|
private |
css::uno::RuntimeException |
Definition at line 115 of file vbafind.cxx.
References FindOneElement(), GetReplaceWith(), i, InRange(), mbReplace, mnReplaceType, mnWrap, mxPropertyReplace, mxReplaceable, mxSelSupp, and result.
Referenced by Execute().
|
private |
Definition at line 65 of file vbafind.cxx.
References mbReplace, and mnReplaceType.
Referenced by Execute().
|
overridevirtual |
Definition at line 188 of file vbafind.cxx.
|
private |
css::uno::RuntimeException |
Definition at line 55 of file vbafind.cxx.
References mbReplace, and mxPropertyReplace.
Referenced by Execute().
|
overridevirtual |
Definition at line 298 of file vbafind.cxx.
|
overridevirtual |
|
overridevirtual |
|
private |
Definition at line 41 of file vbafind.hxx.
Referenced by SearchReplace(), SetReplace(), and SetReplaceWith().
|
private |
Definition at line 42 of file vbafind.hxx.
Referenced by SearchReplace(), and SetReplace().
|
private |
Definition at line 43 of file vbafind.hxx.
Referenced by getWrap(), SearchReplace(), and setWrap().
|
private |
Definition at line 35 of file vbafind.hxx.
Referenced by SwVbaFind().
|
private |
Definition at line 38 of file vbafind.hxx.
Referenced by ClearFormatting(), FindOneElement(), getFormat(), getForward(), getMatchAllWordForms(), getMatchCase(), getMatchSoundsLike(), getMatchWholeWord(), getMatchWildcards(), getReplacement(), GetReplaceWith(), getText(), SearchReplace(), setFormat(), setForward(), setMatchAllWordForms(), setMatchCase(), setMatchSoundsLike(), setMatchWholeWord(), setMatchWildcards(), SetReplaceWith(), setText(), and SwVbaFind().
|
private |
Definition at line 37 of file vbafind.hxx.
Referenced by FindOneElement(), SearchReplace(), and SwVbaFind().
|
private |
Definition at line 40 of file vbafind.hxx.
Referenced by SearchReplace(), and SwVbaFind().
|
private |
Definition at line 36 of file vbafind.hxx.
Referenced by FindOneElement(), InEqualRange(), and InRange().
|
private |
Definition at line 39 of file vbafind.hxx.
Referenced by FindOneElement(), and SwVbaFind().