LibreOffice Module sw (master) 1
|
#include <string>
#include <memory>
#include <boost/property_tree/json_parser.hpp>
#include <hintids.hxx>
#include <sal/log.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/ctloptions.hxx>
#include <svx/pageitem.hxx>
#include <svl/whiter.hxx>
#include <sfx2/viewfrm.hxx>
#include <svl/eitem.hxx>
#include <svl/srchitem.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/request.hxx>
#include <sfx2/lokhelper.hxx>
#include <svx/srchdlg.hxx>
#include <swmodule.hxx>
#include <swwait.hxx>
#include <workctrl.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
#include <swundo.hxx>
#include <uitool.hxx>
#include <cmdid.h>
#include <docsh.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <comphelper/lok.hxx>
#include <comphelper/string.hxx>
#include <strings.hrc>
#include <SwRewriter.hxx>
#include <PostItMgr.hxx>
Go to the source code of this file.
Classes | |
struct | SwSearchOptions |
Functions | |
static void | lcl_addContainerToJson (boost::property_tree::ptree &rTree, const OString &rKey, const std::vector< OString > &rMatches) |
Adds rMatches using rKey as a key to the rTree tree. More... | |
static void | lcl_emitSearchResultCallbacks (SvxSearchItem const *pSearchItem, SwWrtShell const *pWrtShell, bool bHighlightAll) |
Emits LOK callbacks (count, selection) for search results. More... | |
|
static |
Adds rMatches using rKey as a key to the rTree tree.
Definition at line 73 of file viewsrch.cxx.
Referenced by lcl_emitSearchResultCallbacks().
|
static |
Emits LOK callbacks (count, selection) for search results.
Definition at line 89 of file viewsrch.cxx.
References SwCursorShell::GetCursor(), sw::Ring< value_type >::GetRingContainer(), SvxSearchItem::GetSearchString(), SwViewShell::GetSfxViewShell(), comphelper::string::join(), lcl_addContainerToJson(), SfxViewShell::libreOfficeKitViewCallback(), SfxLokHelper::notifyOtherViewsUpdatePerViewId(), and SfxLokHelper::notifyUpdate().
Referenced by SwView::ExecSearch().