LibreOffice Module comphelper (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
comphelper::DocPasswordRequest Class Reference

Implements the task.XInteractionRequest interface for requesting a password string for a document. More...

#include <docpasswordrequest.hxx>

Inheritance diagram for comphelper::DocPasswordRequest:
[legend]
Collaboration diagram for comphelper::DocPasswordRequest:
[legend]

Public Member Functions

 DocPasswordRequest (DocPasswordRequestType eType, css::task::PasswordRequestMode eMode, const OUString &rDocumentUrl, bool bPasswordToModify=false)
 
virtual ~DocPasswordRequest () override
 
bool isPassword () const
 
OUString getPassword () const
 
OUString getPasswordToModify () const
 
bool getRecommendReadOnly () const
 

Private Member Functions

 DocPasswordRequest (DocPasswordRequest const &)=delete
 
DocPasswordRequestoperator= (DocPasswordRequest const &)=delete
 
virtual css::uno::Any SAL_CALL getRequest () override
 
virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations () override
 

Private Attributes

css::uno::Any maRequest
 
css::uno::Reference< css::task::XInteractionAbort > mxAbort
 
rtl::Reference< PasswordContinuationmxPassword
 

Detailed Description

Implements the task.XInteractionRequest interface for requesting a password string for a document.

Definition at line 73 of file docpasswordrequest.hxx.

Constructor & Destructor Documentation

comphelper::DocPasswordRequest::DocPasswordRequest ( DocPasswordRequestType  eType,
css::task::PasswordRequestMode  eMode,
const OUString &  rDocumentUrl,
bool  bPasswordToModify = false 
)
explicit
comphelper::DocPasswordRequest::~DocPasswordRequest ( )
overridevirtual

Definition at line 140 of file docpasswordrequest.cxx.

comphelper::DocPasswordRequest::DocPasswordRequest ( DocPasswordRequest const &  )
privatedelete

Member Function Documentation

Sequence< Reference< XInteractionContinuation > > SAL_CALL comphelper::DocPasswordRequest::getContinuations ( )
overrideprivatevirtual

Definition at line 169 of file docpasswordrequest.cxx.

References mxAbort, and mxPassword.

OUString comphelper::DocPasswordRequest::getPassword ( ) const
OUString comphelper::DocPasswordRequest::getPasswordToModify ( ) const

Definition at line 154 of file docpasswordrequest.cxx.

References mxPassword.

bool comphelper::DocPasswordRequest::getRecommendReadOnly ( ) const

Definition at line 159 of file docpasswordrequest.cxx.

References mxPassword.

Any SAL_CALL comphelper::DocPasswordRequest::getRequest ( )
overrideprivatevirtual

Definition at line 164 of file docpasswordrequest.cxx.

References Any, and maRequest.

bool comphelper::DocPasswordRequest::isPassword ( ) const
DocPasswordRequest& comphelper::DocPasswordRequest::operator= ( DocPasswordRequest const &  )
privatedelete

Member Data Documentation

css::uno::Any comphelper::DocPasswordRequest::maRequest
private

Definition at line 100 of file docpasswordrequest.hxx.

Referenced by getRequest().

css::uno::Reference<css::task::XInteractionAbort> comphelper::DocPasswordRequest::mxAbort
private

Definition at line 101 of file docpasswordrequest.hxx.

Referenced by getContinuations().

rtl::Reference<PasswordContinuation> comphelper::DocPasswordRequest::mxPassword
private

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