LibreOffice Module sfx2 (master) 1
Classes | Functions
securitypage.cxx File Reference
#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"
Include dependency graph for securitypage.cxx:

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)
 

Function Documentation

◆ IMPL_LINK_NOARG() [1/2]

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() [2/2]

IMPL_LINK_NOARG ( SfxSecurityPage_Impl  ,
RecordChangesCBToggleHdl  ,
weld::Toggleable ,
void   
)

◆ lcl_GetPassword()

static bool lcl_GetPassword ( weld::Window pParent,
bool  bProtect,
OUString &  rPassword 
)
static

◆ lcl_IsPasswordCorrect()

static bool lcl_IsPasswordCorrect ( weld::Window pParent,
std::u16string_view  rPassword 
)
static