LibreOffice Module filter (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ImpPDFTabSecurityPage Class Reference

Class security tab page. More...

#include <impdialog.hxx>

Inheritance diagram for ImpPDFTabSecurityPage:
[legend]
Collaboration diagram for ImpPDFTabSecurityPage:
[legend]

Public Member Functions

 ImpPDFTabSecurityPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 The Security preferences tab page. More...
 
virtual ~ImpPDFTabSecurityPage () override
 
void GetFilterConfigItem (ImpPDFTabDialog *paParent)
 
void SetFilterConfigItem (const ImpPDFTabDialog *paParent)
 
void ImplPDFASecurityControl (bool bEnableSecurity)
 
bool hasPassword () const
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

 DECL_LINK (ClickmaPbSetPwdHdl, weld::Button &, void)
 
void enablePermissionControls ()
 

Private Attributes

OUString msStrSetPwd
 
OUString msUserPwdTitle
 
bool mbHaveOwnerPassword
 
bool mbHaveUserPassword
 
css::uno::Sequence< css::beans::NamedValue > maPreparedOwnerPassword
 
OUString msOwnerPwdTitle
 
css::uno::Reference< css::beans::XMaterialHolder > mxPreparedPasswords
 
std::unique_ptr< weld::ButtonmxPbSetPwd
 
std::unique_ptr< weld::WidgetmxUserPwdSet
 
std::unique_ptr< weld::WidgetmxUserPwdUnset
 
std::unique_ptr< weld::WidgetmxUserPwdPdfa
 
std::unique_ptr< weld::WidgetmxOwnerPwdSet
 
std::unique_ptr< weld::WidgetmxOwnerPwdUnset
 
std::unique_ptr< weld::WidgetmxOwnerPwdPdfa
 
std::unique_ptr< weld::WidgetmxPrintPermissions
 
std::unique_ptr< weld::RadioButtonmxRbPrintNone
 
std::unique_ptr< weld::RadioButtonmxRbPrintLowRes
 
std::unique_ptr< weld::RadioButtonmxRbPrintHighRes
 
std::unique_ptr< weld::WidgetmxChangesAllowed
 
std::unique_ptr< weld::RadioButtonmxRbChangesNone
 
std::unique_ptr< weld::RadioButtonmxRbChangesInsDel
 
std::unique_ptr< weld::RadioButtonmxRbChangesFillForm
 
std::unique_ptr< weld::RadioButtonmxRbChangesComment
 
std::unique_ptr< weld::RadioButtonmxRbChangesAnyNoCopy
 
std::unique_ptr< weld::WidgetmxContent
 
std::unique_ptr< weld::CheckButtonmxCbEnableCopy
 
std::unique_ptr< weld::CheckButtonmxCbEnableAccessibility
 
std::unique_ptr< weld::LabelmxPasswordTitle
 
std::shared_ptr< SfxPasswordDialogmpPasswordDialog
 
std::shared_ptr< weld::MessageDialogmpUnsupportedMsgDialog
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Class security tab page.

Definition at line 321 of file impdialog.hxx.

Constructor & Destructor Documentation

◆ ImpPDFTabSecurityPage()

ImpPDFTabSecurityPage::ImpPDFTabSecurityPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

The Security preferences tab page.

Definition at line 1254 of file impdialog.cxx.

References LINK, msStrSetPwd, mxPasswordTitle, and mxPbSetPwd.

◆ ~ImpPDFTabSecurityPage()

ImpPDFTabSecurityPage::~ImpPDFTabSecurityPage ( )
overridevirtual

Definition at line 1286 of file impdialog.cxx.

References mpPasswordDialog, mpUnsupportedMsgDialog, and RET_CANCEL.

Member Function Documentation

◆ Create()

std::unique_ptr< SfxTabPage > ImpPDFTabSecurityPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrSet 
)
static

Definition at line 1294 of file impdialog.cxx.

Referenced by ImpPDFTabDialog::ImpPDFTabDialog().

◆ DECL_LINK()

ImpPDFTabSecurityPage::DECL_LINK ( ClickmaPbSetPwdHdl  ,
weld::Button ,
void   
)
private

◆ enablePermissionControls()

void ImpPDFTabSecurityPage::enablePermissionControls ( )
private

◆ GetFilterConfigItem()

void ImpPDFTabSecurityPage::GetFilterConfigItem ( ImpPDFTabDialog paParent)

◆ hasPassword()

bool ImpPDFTabSecurityPage::hasPassword ( ) const
inline

Definition at line 370 of file impdialog.hxx.

References mbHaveOwnerPassword, and mbHaveUserPassword.

Referenced by IMPL_LINK_NOARG().

◆ ImplPDFASecurityControl()

void ImpPDFTabSecurityPage::ImplPDFASecurityControl ( bool  bEnableSecurity)

Definition at line 1498 of file impdialog.cxx.

References enablePermissionControls(), and m_xContainer.

Referenced by IMPL_LINK_NOARG(), and SetFilterConfigItem().

◆ SetFilterConfigItem()

void ImpPDFTabSecurityPage::SetFilterConfigItem ( const ImpPDFTabDialog paParent)

Member Data Documentation

◆ maPreparedOwnerPassword

css::uno::Sequence< css::beans::NamedValue > ImpPDFTabSecurityPage::maPreparedOwnerPassword
private

Definition at line 327 of file impdialog.hxx.

Referenced by GetFilterConfigItem().

◆ mbHaveOwnerPassword

bool ImpPDFTabSecurityPage::mbHaveOwnerPassword
private

Definition at line 325 of file impdialog.hxx.

Referenced by enablePermissionControls(), GetFilterConfigItem(), and hasPassword().

◆ mbHaveUserPassword

bool ImpPDFTabSecurityPage::mbHaveUserPassword
private

Definition at line 326 of file impdialog.hxx.

Referenced by enablePermissionControls(), GetFilterConfigItem(), and hasPassword().

◆ mpPasswordDialog

std::shared_ptr< SfxPasswordDialog > ImpPDFTabSecurityPage::mpPasswordDialog
private

Definition at line 354 of file impdialog.hxx.

Referenced by ~ImpPDFTabSecurityPage().

◆ mpUnsupportedMsgDialog

std::shared_ptr< weld::MessageDialog > ImpPDFTabSecurityPage::mpUnsupportedMsgDialog
private

Definition at line 355 of file impdialog.hxx.

Referenced by ~ImpPDFTabSecurityPage().

◆ msOwnerPwdTitle

OUString ImpPDFTabSecurityPage::msOwnerPwdTitle
private

Definition at line 328 of file impdialog.hxx.

◆ msStrSetPwd

OUString ImpPDFTabSecurityPage::msStrSetPwd
private

Definition at line 323 of file impdialog.hxx.

Referenced by ImpPDFTabSecurityPage().

◆ msUserPwdTitle

OUString ImpPDFTabSecurityPage::msUserPwdTitle
private

Definition at line 324 of file impdialog.hxx.

◆ mxCbEnableAccessibility

std::unique_ptr<weld::CheckButton> ImpPDFTabSecurityPage::mxCbEnableAccessibility
private

◆ mxCbEnableCopy

std::unique_ptr<weld::CheckButton> ImpPDFTabSecurityPage::mxCbEnableCopy
private

Definition at line 350 of file impdialog.hxx.

Referenced by GetFilterConfigItem(), and SetFilterConfigItem().

◆ mxChangesAllowed

std::unique_ptr<weld::Widget> ImpPDFTabSecurityPage::mxChangesAllowed
private

Definition at line 343 of file impdialog.hxx.

Referenced by enablePermissionControls().

◆ mxContent

std::unique_ptr<weld::Widget> ImpPDFTabSecurityPage::mxContent
private

Definition at line 349 of file impdialog.hxx.

Referenced by enablePermissionControls().

◆ mxOwnerPwdPdfa

std::unique_ptr<weld::Widget> ImpPDFTabSecurityPage::mxOwnerPwdPdfa
private

Definition at line 338 of file impdialog.hxx.

Referenced by enablePermissionControls().

◆ mxOwnerPwdSet

std::unique_ptr<weld::Widget> ImpPDFTabSecurityPage::mxOwnerPwdSet
private

Definition at line 336 of file impdialog.hxx.

Referenced by enablePermissionControls().

◆ mxOwnerPwdUnset

std::unique_ptr<weld::Widget> ImpPDFTabSecurityPage::mxOwnerPwdUnset
private

Definition at line 337 of file impdialog.hxx.

Referenced by enablePermissionControls().

◆ mxPasswordTitle

std::unique_ptr<weld::Label> ImpPDFTabSecurityPage::mxPasswordTitle
private

Definition at line 352 of file impdialog.hxx.

Referenced by ImpPDFTabSecurityPage().

◆ mxPbSetPwd

std::unique_ptr<weld::Button> ImpPDFTabSecurityPage::mxPbSetPwd
private

Definition at line 332 of file impdialog.hxx.

Referenced by ImpPDFTabSecurityPage().

◆ mxPreparedPasswords

css::uno::Reference< css::beans::XMaterialHolder > ImpPDFTabSecurityPage::mxPreparedPasswords
private

Definition at line 330 of file impdialog.hxx.

Referenced by GetFilterConfigItem().

◆ mxPrintPermissions

std::unique_ptr<weld::Widget> ImpPDFTabSecurityPage::mxPrintPermissions
private

Definition at line 339 of file impdialog.hxx.

Referenced by enablePermissionControls().

◆ mxRbChangesAnyNoCopy

std::unique_ptr<weld::RadioButton> ImpPDFTabSecurityPage::mxRbChangesAnyNoCopy
private

Definition at line 348 of file impdialog.hxx.

Referenced by GetFilterConfigItem(), and SetFilterConfigItem().

◆ mxRbChangesComment

std::unique_ptr<weld::RadioButton> ImpPDFTabSecurityPage::mxRbChangesComment
private

Definition at line 347 of file impdialog.hxx.

Referenced by GetFilterConfigItem(), and SetFilterConfigItem().

◆ mxRbChangesFillForm

std::unique_ptr<weld::RadioButton> ImpPDFTabSecurityPage::mxRbChangesFillForm
private

Definition at line 346 of file impdialog.hxx.

Referenced by GetFilterConfigItem(), and SetFilterConfigItem().

◆ mxRbChangesInsDel

std::unique_ptr<weld::RadioButton> ImpPDFTabSecurityPage::mxRbChangesInsDel
private

Definition at line 345 of file impdialog.hxx.

Referenced by GetFilterConfigItem(), and SetFilterConfigItem().

◆ mxRbChangesNone

std::unique_ptr<weld::RadioButton> ImpPDFTabSecurityPage::mxRbChangesNone
private

Definition at line 344 of file impdialog.hxx.

Referenced by SetFilterConfigItem().

◆ mxRbPrintHighRes

std::unique_ptr<weld::RadioButton> ImpPDFTabSecurityPage::mxRbPrintHighRes
private

Definition at line 342 of file impdialog.hxx.

Referenced by GetFilterConfigItem(), and SetFilterConfigItem().

◆ mxRbPrintLowRes

std::unique_ptr<weld::RadioButton> ImpPDFTabSecurityPage::mxRbPrintLowRes
private

Definition at line 341 of file impdialog.hxx.

Referenced by GetFilterConfigItem(), and SetFilterConfigItem().

◆ mxRbPrintNone

std::unique_ptr<weld::RadioButton> ImpPDFTabSecurityPage::mxRbPrintNone
private

Definition at line 340 of file impdialog.hxx.

Referenced by SetFilterConfigItem().

◆ mxUserPwdPdfa

std::unique_ptr<weld::Widget> ImpPDFTabSecurityPage::mxUserPwdPdfa
private

Definition at line 335 of file impdialog.hxx.

Referenced by enablePermissionControls().

◆ mxUserPwdSet

std::unique_ptr<weld::Widget> ImpPDFTabSecurityPage::mxUserPwdSet
private

Definition at line 333 of file impdialog.hxx.

Referenced by enablePermissionControls().

◆ mxUserPwdUnset

std::unique_ptr<weld::Widget> ImpPDFTabSecurityPage::mxUserPwdUnset
private

Definition at line 334 of file impdialog.hxx.

Referenced by enablePermissionControls().


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