19#ifndef INCLUDED_SVX_SRCHDLG_HXX
20#define INCLUDED_SVX_SRCHDLG_HXX
60 sal_uInt16
Count()
const {
return SrchAttrItemList::size(); }
62 {
return SrchAttrItemList::operator[](
nPos ); }
64 {
return SrchAttrItemList::operator[](
nPos ); }
68 { SrchAttrItemList::push_back( rItem ); }
90 std::shared_ptr<SvxSearchDialog>
dialog;
98 static void SetSearchLabel(
const OUString& sStr);
99 static OUString GetSearchLabel();
120 virtual void ChildWinDispose()
override;
121 virtual void Close()
override;
124 virtual void Activate()
override;
127 {
return pSearchList.get(); }
129 {
return pReplaceList.get(); }
133 void SetSaveToModule(
bool b);
135 void SetSearchLabel(
const OUString& rStr);
161 std::unique_ptr<SearchDlg_Impl>
pImpl;
173 bool m_executingSubDialog =
false;
248 SVX_DLLPRIVATE void Remember_Impl(
const OUString &rStr,
bool bSearch );
250 SVX_DLLPRIVATE OUString& BuildAttrText_Impl( OUString& rStr,
bool bSrchFlag )
const;
void Insert(const SearchAttrItem &rItem)
SearchAttrItem & GetObject(sal_uInt16 nPos)
SearchAttrItem & operator[](sal_uInt16 nPos)
TransliterationFlags GetTransliterationFlags() const
std::shared_ptr< SvxSearchDialog > dialog
SFX_DECL_CHILDWINDOW_WITHID(SvxSearchDialogWrapper)
SvxSearchDialog * getDialog()
In this modeless dialog the attributes for a search are configured and a search is started from it.
std::unique_ptr< weld::ComboBox > m_xReplaceTmplLB
std::unique_ptr< weld::Label > m_xReplaceAttrText
DECL_DLLPRIVATE_LINK(TimeoutHdl_Impl, Timer *, void)
std::unique_ptr< weld::Button > m_xSearchComponent2PB
std::unique_ptr< weld::CheckButton > m_xMatchCaseCB
std::vector< OUString > aSearchStrings
DECL_DLLPRIVATE_LINK(FormatHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xCalcStrFT
std::unique_ptr< weld::CheckButton > m_xSearchFormattedCB
DECL_DLLPRIVATE_LINK(LBSelectHdl_Impl, weld::ComboBox &, void)
std::unique_ptr< weld::Button > m_xSearchAllBtn
std::unique_ptr< weld::CheckButton > m_xIncludeKashida
std::unique_ptr< weld::Label > m_xCalcSearchDirFT
std::unique_ptr< weld::Button > m_xAttributeBtn
std::unique_ptr< weld::CheckButton > m_xSelectionBtn
std::unique_ptr< weld::CheckButton > m_xJapMatchFullHalfWidthCB
std::unique_ptr< weld::Button > m_xBackSearchBtn
std::unique_ptr< SvxSearchController > pSearchController
std::unique_ptr< weld::Frame > m_xComponentFrame
std::unique_ptr< SvxSearchItem > pSearchItem
std::unique_ptr< weld::CheckButton > m_xSimilarityBox
std::unique_ptr< weld::CheckButton > m_xIncludeDiacritics
DECL_DLLPRIVATE_LINK(CommandHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::ComboBox > m_xReplaceLB
std::unique_ptr< weld::Frame > m_xReplaceFrame
std::unique_ptr< SearchAttrItemList > pReplaceList
std::unique_ptr< weld::CheckButton > m_xAllSheetsCB
std::unique_ptr< weld::CheckButton > m_xRegExpBtn
std::unique_ptr< weld::CheckButton > m_xJapOptionsCB
std::unique_ptr< weld::RadioButton > m_xColumnsBtn
DECL_DLLPRIVATE_LINK(LoseFocusHdl_Impl, weld::Widget &, void)
std::unique_ptr< SearchDlg_Impl > pImpl
DECL_DLLPRIVATE_LINK(ModifyHdl_Impl, weld::ComboBox &, void)
std::unique_ptr< weld::CheckButton > m_xLayoutBtn
std::unique_ptr< weld::ComboBox > m_xCalcSearchInLB
const SearchAttrItemList * GetReplaceItemList() const
std::unique_ptr< weld::Button > m_xJapOptionsBtn
std::unique_ptr< weld::Expander > m_xOtherOptionsExpander
std::unique_ptr< weld::Button > m_xCloseBtn
std::unique_ptr< weld::CheckButton > m_xWordBtn
std::unique_ptr< weld::Button > m_xSearchBtn
DECL_DLLPRIVATE_LINK(TemplateHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xNotesBtn
std::unique_ptr< SvxSearchController > pOptionsController
std::unique_ptr< weld::Button > m_xSimilarityBtn
std::vector< OUString > aReplaceStrings
TransliterationFlags nTransliterationFlags
std::unique_ptr< weld::RadioButton > m_xRowsBtn
std::unique_ptr< weld::CheckButton > m_xWildcardBtn
const SearchAttrItemList * GetSearchItemList() const
DECL_DLLPRIVATE_LINK(NoFormatHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xSearchAttrText
std::unique_ptr< weld::Button > m_xFormatBtn
OUString aLayoutWriterStr
DECL_DLLPRIVATE_LINK(PresentTimeoutHdl_Impl, Timer *, void)
std::unique_ptr< weld::Button > m_xNoFormatBtn
std::unique_ptr< weld::Label > m_xCalcSearchInFT
std::unique_ptr< weld::Frame > m_xSearchFrame
std::unique_ptr< weld::ComboBox > m_xSearchLB
std::unique_ptr< weld::Button > m_xSearchComponent1PB
std::unique_ptr< weld::Button > m_xReplaceBtn
std::unique_ptr< SvxSearchController > pFamilyController
std::unique_ptr< weld::CheckButton > m_xReplaceBackwardsCB
std::unique_ptr< weld::Button > m_xReplaceAllBtn
std::unique_ptr< weld::Widget > m_xCalcGrid
DECL_DLLPRIVATE_LINK(FocusHdl_Impl, weld::Widget &, void)
DECL_DLLPRIVATE_LINK(AttributeHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::ComboBox > m_xSearchTmplLB
std::unique_ptr< weld::Label > m_xSearchLabel
SearchOptionFlags nOptions
std::unique_ptr< SearchAttrItemList > pSearchList
DECL_DLLPRIVATE_LINK(FlagHdl_Impl, weld::Toggleable &, void)
STDMETHOD() Get(VARIANT *val)=0
void Clear(EHistoryType eHistory)
std::vector< SearchAttrItem > SrchAttrItemList