|
LibreOffice Module sfx2 (master) 1
|
#include <sfx2/htmlmode.hxx>#include <sfx2/sfxresid.hxx>#include <sfx2/sfxsids.hrc>#include <sfx2/objsh.hxx>#include <sfx2/viewsh.hxx>#include <sfx2/dispatch.hxx>#include <sfx2/passwd.hxx>#include <vcl/svapp.hxx>#include <vcl/weld.hxx>#include <svl/eitem.hxx>#include <svl/poolitem.hxx>#include <svl/intitem.hxx>#include <svl/PasswordHelper.hxx>#include <comphelper/docpasswordhelper.hxx>#include <sfx2/strings.hrc>#include "securitypage.hxx"Go to the source code of this file.
Classes | |
| struct | SfxSecurityPage_Impl |
Functions | |
| static bool | lcl_GetPassword (weld::Window *pParent, bool bProtect, OUString &rPassword) |
| static bool | lcl_IsPasswordCorrect (weld::Window *pParent, std::u16string_view rPassword) |
| IMPL_LINK_NOARG (SfxSecurityPage_Impl, RecordChangesCBToggleHdl, weld::Toggleable &, void) | |
| IMPL_LINK_NOARG (SfxSecurityPage_Impl, ChangeProtectionPBHdl, weld::Button &, void) | |
| IMPL_LINK_NOARG | ( | SfxSecurityPage_Impl | , |
| ChangeProtectionPBHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 384 of file securitypage.cxx.
References DBG_ASSERT, lcl_GetPassword(), and lcl_IsPasswordCorrect().
| IMPL_LINK_NOARG | ( | SfxSecurityPage_Impl | , |
| RecordChangesCBToggleHdl | , | ||
| weld::Toggleable & | , | ||
| void | |||
| ) |
Definition at line 335 of file securitypage.cxx.
References Application::CreateMessageDialog(), lcl_GetPassword(), lcl_IsPasswordCorrect(), RET_NO, and RET_YES.
|
static |
Definition at line 90 of file securitypage.cxx.
References CONFIRM, SfxPasswordDialog::GetPassword(), RET_OK, SfxPasswordDialog::run(), SfxPasswordDialog::SetMinLen(), and SfxPasswordDialog::ShowExtras().
Referenced by IMPL_LINK_NOARG().
|
static |
Definition at line 109 of file securitypage.cxx.
References SvPasswordHelper::CompareHashPassword(), comphelper::DocPasswordHelper::ConvertPasswordInfo(), Application::CreateMessageDialog(), SfxObjectShell::Current(), SfxObjectShell::GetDocumentProtectionFromGrabBag(), SvPasswordHelper::GetHashPassword(), SfxObjectShell::GetProtectionHash(), comphelper::DocPasswordHelper::IsModifyPasswordCorrect(), and SfxResId().
Referenced by IMPL_LINK_NOARG().