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:
Collaboration diagram for comphelper::DocPasswordRequest:

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 
comphelper::DocPasswordRequest::~DocPasswordRequest ( )

Definition at line 142 of file docpasswordrequest.cxx.

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

Member Function Documentation

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

Definition at line 171 of file docpasswordrequest.cxx.

References mxAbort, and mxPassword.

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

Definition at line 156 of file docpasswordrequest.cxx.

References mxPassword.

bool comphelper::DocPasswordRequest::getRecommendReadOnly ( ) const

Definition at line 161 of file docpasswordrequest.cxx.

References mxPassword.

Any SAL_CALL comphelper::DocPasswordRequest::getRequest ( )

Definition at line 166 of file docpasswordrequest.cxx.

References Any, and maRequest.

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

Member Data Documentation

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

Definition at line 100 of file docpasswordrequest.hxx.

Referenced by getRequest().

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

Definition at line 101 of file docpasswordrequest.hxx.

Referenced by getContinuations().

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

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