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

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

◆ DocPasswordRequest() [1/2]

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

References getPassword().

◆ ~DocPasswordRequest()

comphelper::DocPasswordRequest::~DocPasswordRequest ( )
overridevirtual

Definition at line 142 of file docpasswordrequest.cxx.

◆ DocPasswordRequest() [2/2]

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

Member Function Documentation

◆ getContinuations()

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

Definition at line 171 of file docpasswordrequest.cxx.

References mxAbort, and mxPassword.

◆ getPassword()

OUString comphelper::DocPasswordRequest::getPassword ( ) const

Definition at line 151 of file docpasswordrequest.cxx.

References mxPassword.

◆ getPasswordToModify()

OUString comphelper::DocPasswordRequest::getPasswordToModify ( ) const

Definition at line 156 of file docpasswordrequest.cxx.

References mxPassword.

◆ getRecommendReadOnly()

bool comphelper::DocPasswordRequest::getRecommendReadOnly ( ) const

Definition at line 161 of file docpasswordrequest.cxx.

References mxPassword.

◆ getRequest()

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

Definition at line 166 of file docpasswordrequest.cxx.

References Any, and maRequest.

◆ isPassword()

bool comphelper::DocPasswordRequest::isPassword ( ) const

Definition at line 146 of file docpasswordrequest.cxx.

References mxPassword.

◆ operator=()

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

References getContinuations().

Member Data Documentation

◆ maRequest

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

Definition at line 100 of file docpasswordrequest.hxx.

Referenced by getRequest().

◆ mxAbort

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

Definition at line 101 of file docpasswordrequest.hxx.

Referenced by getContinuations().

◆ mxPassword

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

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