LibreOffice Module sw (master) 1
Classes | Functions
viewsrch.cxx File Reference
#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>
Include dependency graph for viewsrch.cxx:

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...
 

Function Documentation

◆ lcl_addContainerToJson()

static void lcl_addContainerToJson ( boost::property_tree::ptree &  rTree,
const OString &  rKey,
const std::vector< OString > &  rMatches 
)
static

Adds rMatches using rKey as a key to the rTree tree.

Definition at line 73 of file viewsrch.cxx.

Referenced by lcl_emitSearchResultCallbacks().

◆ lcl_emitSearchResultCallbacks()

static void lcl_emitSearchResultCallbacks ( SvxSearchItem const *  pSearchItem,
SwWrtShell const *  pWrtShell,
bool  bHighlightAll 
)
static