LibreOffice Module test (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TestInteractionHandler Class Reference

#include <testinteractionhandler.hxx>

Inheritance diagram for TestInteractionHandler:
Collaboration diagram for TestInteractionHandler:

Public Member Functions

 TestInteractionHandler (const OUString &sPassword)
bool wasPasswordRequested ()
virtual OUString SAL_CALL getImplementationName () override
virtual sal_Bool SAL_CALL supportsService (OUString const &rServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
virtual void SAL_CALL initialize (css::uno::Sequence< css::uno::Any > const &) override
virtual void SAL_CALL handle (css::uno::Reference< css::task::XInteractionRequest > const &rRequest) override
virtual sal_Bool SAL_CALL handleInteractionRequest (const css::uno::Reference< css::task::XInteractionRequest > &rRequest) override
bool handlePasswordRequest (const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &rContinuations, const css::uno::Any &rRequest)

Private Member Functions

 TestInteractionHandler (const TestInteractionHandler &)=delete
TestInteractionHandleroperator= (const TestInteractionHandler &)=delete

Private Attributes

OUString msPassword
bool mbPasswordRequested

Detailed Description

Definition at line 27 of file testinteractionhandler.hxx.

Constructor & Destructor Documentation

◆ TestInteractionHandler() [1/2]

TestInteractionHandler::TestInteractionHandler ( const TestInteractionHandler )

◆ TestInteractionHandler() [2/2]

TestInteractionHandler::TestInteractionHandler ( const OUString &  sPassword)

Definition at line 38 of file testinteractionhandler.hxx.

Member Function Documentation

◆ getImplementationName()

virtual OUString SAL_CALL TestInteractionHandler::getImplementationName ( )

Definition at line 48 of file testinteractionhandler.hxx.

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL TestInteractionHandler::getSupportedServiceNames ( )

Definition at line 58 of file testinteractionhandler.hxx.

◆ handle()

virtual void SAL_CALL TestInteractionHandler::handle ( css::uno::Reference< css::task::XInteractionRequest > const &  rRequest)

Definition at line 70 of file testinteractionhandler.hxx.

References handleInteractionRequest().

◆ handleInteractionRequest()

virtual sal_Bool SAL_CALL TestInteractionHandler::handleInteractionRequest ( const css::uno::Reference< css::task::XInteractionRequest > &  rRequest)

Definition at line 75 of file testinteractionhandler.hxx.

References handlePasswordRequest(), and mbPasswordRequested.

Referenced by handle().

◆ handlePasswordRequest()

bool TestInteractionHandler::handlePasswordRequest ( const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &  rContinuations,
const css::uno::Any &  rRequest 

Definition at line 95 of file testinteractionhandler.hxx.

References mbPasswordRequested, mode, and msPassword.

Referenced by handleInteractionRequest().

◆ initialize()

virtual void SAL_CALL TestInteractionHandler::initialize ( css::uno::Sequence< css::uno::Any > const &  )

Definition at line 67 of file testinteractionhandler.hxx.

◆ operator=()

TestInteractionHandler & TestInteractionHandler::operator= ( const TestInteractionHandler )

◆ supportsService()

virtual sal_Bool SAL_CALL TestInteractionHandler::supportsService ( OUString const &  rServiceName)

Definition at line 53 of file testinteractionhandler.hxx.

References cppu::supportsService().

◆ wasPasswordRequested()

bool TestInteractionHandler::wasPasswordRequested ( )

Definition at line 43 of file testinteractionhandler.hxx.

References mbPasswordRequested.

Member Data Documentation

◆ mbPasswordRequested

bool TestInteractionHandler::mbPasswordRequested

◆ msPassword

OUString TestInteractionHandler::msPassword

Definition at line 31 of file testinteractionhandler.hxx.

Referenced by handlePasswordRequest().

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