LibreOffice Module fpicker (master)  1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
svt::OFilePickerInteractionHandler Class Referencefinal

an InteractionHandler implementation which extends another handler with some customizability More...

#include <fpinteraction.hxx>

Inheritance diagram for svt::OFilePickerInteractionHandler:
[legend]
Collaboration diagram for svt::OFilePickerInteractionHandler:
[legend]

Public Types

enum  EInterceptedInteractions {
  E_NOINTERCEPTION = 0,
  E_DOESNOTEXIST = 1
}
 flags, which indicates special handled interactions These values will be used combined as flags - so they must in range [2^n]! More...
 

Public Member Functions

 OFilePickerInteractionHandler (const css::uno::Reference< css::task::XInteractionHandler > &_rxMaster)
 
void enableInterceptions (EInterceptedInteractions eInterceptions)
 
bool wasUsed () const
 
void resetUseState ()
 
void forgetRequest ()
 
bool wasAccessDenied () const
 

Private Member Functions

virtual void SAL_CALL handle (const css::uno::Reference< css::task::XInteractionRequest > &_rxRequest) override
 
virtual ~OFilePickerInteractionHandler () override
 

Private Attributes

css::uno::Reference< css::task::XInteractionHandler > m_xMaster
 
css::uno::Any m_aException
 
bool m_bUsed
 
EInterceptedInteractions m_eInterceptions
 

Detailed Description

an InteractionHandler implementation which extends another handler with some customizability

Definition at line 38 of file fpinteraction.hxx.

Member Enumeration Documentation

flags, which indicates special handled interactions These values will be used combined as flags - so they must in range [2^n]!

Enumerator
E_NOINTERCEPTION 
E_DOESNOTEXIST 

Definition at line 45 of file fpinteraction.hxx.

Constructor & Destructor Documentation

svt::OFilePickerInteractionHandler::OFilePickerInteractionHandler ( const css::uno::Reference< css::task::XInteractionHandler > &  _rxMaster)
explicit

Definition at line 37 of file fpinteraction.cxx.

References m_xMaster, and SAL_WARN_IF.

svt::OFilePickerInteractionHandler::~OFilePickerInteractionHandler ( )
overrideprivatevirtual

Definition at line 46 of file fpinteraction.cxx.

Member Function Documentation

void svt::OFilePickerInteractionHandler::enableInterceptions ( EInterceptedInteractions  eInterceptions)

Definition at line 112 of file fpinteraction.cxx.

References m_eInterceptions.

void svt::OFilePickerInteractionHandler::forgetRequest ( )

Definition at line 124 of file fpinteraction.cxx.

References Any, and m_aException.

Referenced by svt::SmartContent::bindTo().

virtual void SAL_CALL svt::OFilePickerInteractionHandler::handle ( const css::uno::Reference< css::task::XInteractionRequest > &  _rxRequest)
overrideprivatevirtual
void svt::OFilePickerInteractionHandler::resetUseState ( )

Definition at line 118 of file fpinteraction.cxx.

References m_bUsed.

Referenced by svt::SmartContent::bindTo().

bool svt::OFilePickerInteractionHandler::wasAccessDenied ( ) const

Definition at line 130 of file fpinteraction.cxx.

References m_aException.

bool svt::OFilePickerInteractionHandler::wasUsed ( ) const
inline

Definition at line 63 of file fpinteraction.hxx.

References m_bUsed.

Member Data Documentation

css::uno::Any svt::OFilePickerInteractionHandler::m_aException
private

Definition at line 54 of file fpinteraction.hxx.

Referenced by forgetRequest(), and wasAccessDenied().

bool svt::OFilePickerInteractionHandler::m_bUsed
private

Definition at line 55 of file fpinteraction.hxx.

Referenced by resetUseState(), and wasUsed().

EInterceptedInteractions svt::OFilePickerInteractionHandler::m_eInterceptions
private

Definition at line 56 of file fpinteraction.hxx.

Referenced by enableInterceptions().

css::uno::Reference< css::task::XInteractionHandler > svt::OFilePickerInteractionHandler::m_xMaster
private

Definition at line 53 of file fpinteraction.hxx.

Referenced by OFilePickerInteractionHandler().


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