LibreOffice Module svtools (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SvtMatchContext_Impl Class Reference
Inheritance diagram for SvtMatchContext_Impl:
[legend]
Collaboration diagram for SvtMatchContext_Impl:
[legend]

Public Member Functions

 SvtMatchContext_Impl (SvtURLBox *pBoxP, OUString aText)
 
void Stop ()
 
- Public Member Functions inherited from salhelper::Thread
 Thread (char const *name)
 
void launch ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

 DECL_LINK (Select_Impl, void *, void)
 
virtual ~SvtMatchContext_Impl () override
 
virtual void execute () override
 
void doExecute ()
 
void Insert (const OUString &rCompletion, const OUString &rURL, bool bForce=false)
 
void ReadFolder (const OUString &rURL, const OUString &rMatch, bool bSmart)
 

Static Private Member Functions

static void FillPicklist (std::vector< OUString > &rPickList)
 

Private Attributes

std::vector< OUString > aPickList
 
std::vector< OUString > aCompletions
 
std::vector< OUString > aURLs
 
svtools::AsynchronLink aLink
 
OUString aText
 
SvtURLBoxpBox
 
bool bOnlyDirectories
 
bool bNoSelection
 
std::mutex mutex_
 
bool stopped_
 
css::uno::Reference< css::ucb::XCommandProcessor > processor_
 
sal_Int32 commandId_
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::Thread
static void * operator new (std::size_t size)
 
static void operator delete (void *pointer)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::Thread
virtual ~Thread () SAL_OVERRIDE
 
virtual void execute ()=0
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 84 of file inettbc.cxx.

Constructor & Destructor Documentation

◆ ~SvtMatchContext_Impl()

SvtMatchContext_Impl::~SvtMatchContext_Impl ( )
overrideprivatevirtual

Definition at line 137 of file inettbc.cxx.

References aLink.

◆ SvtMatchContext_Impl()

SvtMatchContext_Impl::SvtMatchContext_Impl ( SvtURLBox pBoxP,
OUString  aText 
)

Definition at line 124 of file inettbc.cxx.

References aPickList, FillPicklist(), and LINK.

Member Function Documentation

◆ DECL_LINK()

SvtMatchContext_Impl::DECL_LINK ( Select_Impl  ,
void *  ,
void   
)
private

◆ doExecute()

void SvtMatchContext_Impl::doExecute ( )
private

◆ execute()

void SvtMatchContext_Impl::execute ( )
overrideprivatevirtual

Implements salhelper::Thread.

Definition at line 174 of file inettbc.cxx.

References aLink, and doExecute().

◆ FillPicklist()

void SvtMatchContext_Impl::FillPicklist ( std::vector< OUString > &  rPickList)
staticprivate

Definition at line 142 of file inettbc.cxx.

References aURL, SvtHistoryOptions::GetList(), nCount, and INetURLObject::WithCharset.

Referenced by SvtMatchContext_Impl().

◆ Insert()

void SvtMatchContext_Impl::Insert ( const OUString &  rCompletion,
const OUString &  rURL,
bool  bForce = false 
)
private

Definition at line 237 of file inettbc.cxx.

References aCompletions, aURLs, and find().

Referenced by doExecute(), and ReadFolder().

◆ ReadFolder()

void SvtMatchContext_Impl::ReadFolder ( const OUString &  rURL,
const OUString &  rMatch,
bool  bSmart 
)
private

◆ Stop()

void SvtMatchContext_Impl::Stop ( )

Definition at line 156 of file inettbc.cxx.

References commandId_, mutex_, processor_, and stopped_.

Member Data Documentation

◆ aCompletions

std::vector<OUString> SvtMatchContext_Impl::aCompletions
private

Definition at line 87 of file inettbc.cxx.

Referenced by doExecute(), and Insert().

◆ aLink

svtools::AsynchronLink SvtMatchContext_Impl::aLink
private

Definition at line 89 of file inettbc.cxx.

Referenced by execute(), and ~SvtMatchContext_Impl().

◆ aPickList

std::vector<OUString> SvtMatchContext_Impl::aPickList
private

Definition at line 86 of file inettbc.cxx.

Referenced by doExecute(), and SvtMatchContext_Impl().

◆ aText

OUString SvtMatchContext_Impl::aText
private

Definition at line 90 of file inettbc.cxx.

Referenced by doExecute(), and ReadFolder().

◆ aURLs

std::vector<OUString> SvtMatchContext_Impl::aURLs
private

Definition at line 88 of file inettbc.cxx.

Referenced by doExecute(), and Insert().

◆ bNoSelection

bool SvtMatchContext_Impl::bNoSelection
private

Definition at line 93 of file inettbc.cxx.

◆ bOnlyDirectories

bool SvtMatchContext_Impl::bOnlyDirectories
private

Definition at line 92 of file inettbc.cxx.

Referenced by doExecute(), and ReadFolder().

◆ commandId_

sal_Int32 SvtMatchContext_Impl::commandId_
private

Definition at line 98 of file inettbc.cxx.

Referenced by doExecute(), and Stop().

◆ mutex_

std::mutex SvtMatchContext_Impl::mutex_
private

Definition at line 95 of file inettbc.cxx.

Referenced by doExecute(), and Stop().

◆ pBox

SvtURLBox* SvtMatchContext_Impl::pBox
private

Definition at line 91 of file inettbc.cxx.

Referenced by doExecute().

◆ processor_

css::uno::Reference< css::ucb::XCommandProcessor > SvtMatchContext_Impl::processor_
private

Definition at line 97 of file inettbc.cxx.

Referenced by doExecute(), and Stop().

◆ stopped_

bool SvtMatchContext_Impl::stopped_
private

Definition at line 96 of file inettbc.cxx.

Referenced by doExecute(), and Stop().


The documentation for this class was generated from the following file: