13 #ifndef HIGHLIGHT_STRING_GENERATOR_HPP
14 #define HIGHLIGHT_STRING_GENERATOR_HPP
16 #include <Poco/SharedPtr.h>
17 #include <Poco/UTF8String.h>
44 std::vector<WordPos>
stickWordOffsetMaps(std::vector<std::map<unsigned int, WordPos> > &wordOffsetMaps);
46 void joinOverlapElements(std::map<unsigned int, WordPos> &resultingMap, std::vector<WordPos> &ret);
51 inline void setContent(Poco::SharedPtr<std::string> _contentPtr);
53 inline void setHlEnd(std::string _hlEnd);
56 std::string
highlightStringGenerate(std::vector<std::vector<std::pair<SearchType, std::string> > > &vecSearchStrings);