23#include <rtl/ustring.hxx>
25#include <unordered_map>
154 size_t GetInfoID(
const OUString sPersonalInfo );
std::unordered_map< OUString, size_t > aInfoIDs
void SetMacroSecurityLevel(sal_Int32 _nLevel)
bool isTrustedLocationUri(OUString const &uri)
Check whether the given uri is a trusted location.
bool IsReadOnly(EOption eOption)
@ DocWarnRemovePersonalInfo
@ DocWarnRecommendPassword
@ BlockUntrustedRefererLinks
void SetSecureURLs(std::vector< OUString > &&urlList)
void SetTrustedAuthors(const std::vector< Certificate > &rAuthors)
sal_Int32 GetMacroSecurityLevel()
bool 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 refer...
bool isTrustedLocationUriForUpdatingLinks(OUString const &uri)
std::vector< SvtSecurityOptions::Certificate > GetTrustedAuthors()
bool isUntrustedReferer(OUString const &referer)
Check whether the given referer URI is untrusted, and links originating from it should not be accesse...
void SetOption(EOption eOption, bool bValue)
std::vector< OUString > GetSecureURLs()
bool IsOptionSet(EOption eOption)
bool operator==(const Certificate &other) const