LibreOffice Module unotools (master) 1
|
#include <unotools/securityoptions.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/configitem.hxx>
#include <unotools/ucbhelper.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <comphelper/propertyvalue.hxx>
#include <comphelper/sequence.hxx>
#include <tools/urlobj.hxx>
#include <unotools/pathoptions.hxx>
#include <officecfg/Office/Common.hxx>
Go to the source code of this file.
Namespaces | |
namespace | SvtSecurityOptions |
Functions | |
bool | SvtSecurityOptions::IsReadOnly (EOption eOption) |
std::vector< OUString > | SvtSecurityOptions::GetSecureURLs () |
void | SvtSecurityOptions::SetSecureURLs (std::vector< OUString > &&urlList) |
bool | SvtSecurityOptions::isSecureMacroUri (OUString const &uri, OUString const &referer) |
Check whether the given uri is either no dangerous macro-execution URI at all or else the given referer is a trusted source. More... | |
bool | SvtSecurityOptions::isUntrustedReferer (OUString const &referer) |
Check whether the given referer URI is untrusted, and links originating from it should not be accessed. More... | |
bool | SvtSecurityOptions::isTrustedLocationUri (OUString const &uri) |
Check whether the given uri is a trusted location. More... | |
bool | SvtSecurityOptions::isTrustedLocationUriForUpdatingLinks (OUString const &uri) |
sal_Int32 | SvtSecurityOptions::GetMacroSecurityLevel () |
void | SvtSecurityOptions::SetMacroSecurityLevel (sal_Int32 _nLevel) |
bool | SvtSecurityOptions::IsMacroDisabled () |
std::vector< SvtSecurityOptions::Certificate > | SvtSecurityOptions::GetTrustedAuthors () |
void | SvtSecurityOptions::SetTrustedAuthors (const std::vector< Certificate > &rAuthors) |
bool | SvtSecurityOptions::IsOptionSet (EOption eOption) |
void | SvtSecurityOptions::SetOption (EOption eOption, bool bValue) |
Variables | |
constexpr OUStringLiteral | PROPERTYNAME_MACRO_TRUSTEDAUTHORS = u"TrustedAuthors" |
constexpr OUStringLiteral | PROPERTYNAME_TRUSTEDAUTHOR_SUBJECTNAME = u"SubjectName" |
constexpr OUStringLiteral | PROPERTYNAME_TRUSTEDAUTHOR_SERIALNUMBER = u"SerialNumber" |
constexpr OUStringLiteral | PROPERTYNAME_TRUSTEDAUTHOR_RAWDATA = u"RawData" |
|
constexpr |
Definition at line 39 of file securityoptions.cxx.
Referenced by SvtSecurityOptions::GetTrustedAuthors(), and SvtSecurityOptions::SetTrustedAuthors().
|
constexpr |
Definition at line 42 of file securityoptions.cxx.
Referenced by SvtSecurityOptions::GetTrustedAuthors(), and SvtSecurityOptions::SetTrustedAuthors().
|
constexpr |
Definition at line 41 of file securityoptions.cxx.
Referenced by SvtSecurityOptions::GetTrustedAuthors(), and SvtSecurityOptions::SetTrustedAuthors().
|
constexpr |
Definition at line 40 of file securityoptions.cxx.
Referenced by SvtSecurityOptions::GetTrustedAuthors(), and SvtSecurityOptions::SetTrustedAuthors().