LibreOffice Module filter (master) 1
|
Class security tab page. More...
#include <impdialog.hxx>
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 SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (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 () |
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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Class security tab page.
Definition at line 321 of file impdialog.hxx.
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.
|
overridevirtual |
Definition at line 1286 of file impdialog.cxx.
References mpPasswordDialog, mpUnsupportedMsgDialog, and RET_CANCEL.
|
static |
Definition at line 1294 of file impdialog.cxx.
Referenced by ImpPDFTabDialog::ImpPDFTabDialog().
|
private |
|
private |
Definition at line 1429 of file impdialog.cxx.
References SfxTabPage::GetDialogController(), ImpPDFTabDialog::getGeneralPage(), ImpPDFTabGeneralPage::IsPdfaSelected(), ImpPDFTabGeneralPage::IsPdfUaSelected(), m_xContainer, mbHaveOwnerPassword, mbHaveUserPassword, mxCbEnableAccessibility, mxChangesAllowed, mxContent, mxOwnerPwdPdfa, mxOwnerPwdSet, mxOwnerPwdUnset, mxPrintPermissions, mxUserPwdPdfa, mxUserPwdSet, and mxUserPwdUnset.
Referenced by ImplPDFASecurityControl(), and SetFilterConfigItem().
void ImpPDFTabSecurityPage::GetFilterConfigItem | ( | ImpPDFTabDialog * | paParent | ) |
Definition at line 1299 of file impdialog.cxx.
References ImpPDFTabDialog::maPreparedOwnerPassword, maPreparedOwnerPassword, ImpPDFTabDialog::mbCanCopyOrExtract, ImpPDFTabDialog::mbCanExtractForAccessibility, ImpPDFTabDialog::mbEncrypt, mbHaveOwnerPassword, mbHaveUserPassword, ImpPDFTabDialog::mbRestrictPermissions, ImpPDFTabDialog::mnChangesAllowed, ImpPDFTabDialog::mnPrint, mxCbEnableAccessibility, mxCbEnableCopy, ImpPDFTabDialog::mxPreparedPasswords, mxPreparedPasswords, mxRbChangesAnyNoCopy, mxRbChangesComment, mxRbChangesFillForm, mxRbChangesInsDel, mxRbPrintHighRes, and mxRbPrintLowRes.
|
inline |
Definition at line 370 of file impdialog.hxx.
References mbHaveOwnerPassword, and mbHaveUserPassword.
Referenced by IMPL_LINK_NOARG().
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().
void ImpPDFTabSecurityPage::SetFilterConfigItem | ( | const ImpPDFTabDialog * | paParent | ) |
Definition at line 1332 of file impdialog.cxx.
References enablePermissionControls(), ImpPDFTabDialog::getGeneralPage(), ImplPDFASecurityControl(), ImpPDFTabGeneralPage::IsPdfaSelected(), ImpPDFTabDialog::mbCanCopyOrExtract, ImpPDFTabDialog::mbCanExtractForAccessibility, ImpPDFTabDialog::mnChangesAllowed, ImpPDFTabDialog::mnPrint, mxCbEnableAccessibility, mxCbEnableCopy, mxRbChangesAnyNoCopy, mxRbChangesComment, mxRbChangesFillForm, mxRbChangesInsDel, mxRbChangesNone, mxRbPrintHighRes, mxRbPrintLowRes, and mxRbPrintNone.
|
private |
Definition at line 327 of file impdialog.hxx.
Referenced by GetFilterConfigItem().
|
private |
Definition at line 325 of file impdialog.hxx.
Referenced by enablePermissionControls(), GetFilterConfigItem(), and hasPassword().
|
private |
Definition at line 326 of file impdialog.hxx.
Referenced by enablePermissionControls(), GetFilterConfigItem(), and hasPassword().
|
private |
Definition at line 354 of file impdialog.hxx.
Referenced by ~ImpPDFTabSecurityPage().
|
private |
Definition at line 355 of file impdialog.hxx.
Referenced by ~ImpPDFTabSecurityPage().
|
private |
Definition at line 328 of file impdialog.hxx.
|
private |
Definition at line 323 of file impdialog.hxx.
Referenced by ImpPDFTabSecurityPage().
|
private |
Definition at line 324 of file impdialog.hxx.
|
private |
Definition at line 351 of file impdialog.hxx.
Referenced by enablePermissionControls(), GetFilterConfigItem(), and SetFilterConfigItem().
|
private |
Definition at line 350 of file impdialog.hxx.
Referenced by GetFilterConfigItem(), and SetFilterConfigItem().
|
private |
Definition at line 343 of file impdialog.hxx.
Referenced by enablePermissionControls().
|
private |
Definition at line 349 of file impdialog.hxx.
Referenced by enablePermissionControls().
|
private |
Definition at line 338 of file impdialog.hxx.
Referenced by enablePermissionControls().
|
private |
Definition at line 336 of file impdialog.hxx.
Referenced by enablePermissionControls().
|
private |
Definition at line 337 of file impdialog.hxx.
Referenced by enablePermissionControls().
|
private |
Definition at line 352 of file impdialog.hxx.
Referenced by ImpPDFTabSecurityPage().
|
private |
Definition at line 332 of file impdialog.hxx.
Referenced by ImpPDFTabSecurityPage().
|
private |
Definition at line 330 of file impdialog.hxx.
Referenced by GetFilterConfigItem().
|
private |
Definition at line 339 of file impdialog.hxx.
Referenced by enablePermissionControls().
|
private |
Definition at line 348 of file impdialog.hxx.
Referenced by GetFilterConfigItem(), and SetFilterConfigItem().
|
private |
Definition at line 347 of file impdialog.hxx.
Referenced by GetFilterConfigItem(), and SetFilterConfigItem().
|
private |
Definition at line 346 of file impdialog.hxx.
Referenced by GetFilterConfigItem(), and SetFilterConfigItem().
|
private |
Definition at line 345 of file impdialog.hxx.
Referenced by GetFilterConfigItem(), and SetFilterConfigItem().
|
private |
Definition at line 344 of file impdialog.hxx.
Referenced by SetFilterConfigItem().
|
private |
Definition at line 342 of file impdialog.hxx.
Referenced by GetFilterConfigItem(), and SetFilterConfigItem().
|
private |
Definition at line 341 of file impdialog.hxx.
Referenced by GetFilterConfigItem(), and SetFilterConfigItem().
|
private |
Definition at line 340 of file impdialog.hxx.
Referenced by SetFilterConfigItem().
|
private |
Definition at line 335 of file impdialog.hxx.
Referenced by enablePermissionControls().
|
private |
Definition at line 333 of file impdialog.hxx.
Referenced by enablePermissionControls().
|
private |
Definition at line 334 of file impdialog.hxx.
Referenced by enablePermissionControls().