LibreOffice Module cui (master) 1
Classes | Functions | Variables
optinet2.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <officecfg/Inet.hxx>
#include <officecfg/Office/Common.hxx>
#include <officecfg/Office/Security.hxx>
#include <vcl/weld.hxx>
#include <sfx2/filedlghelper.hxx>
#include <vcl/svapp.hxx>
#include <unotools/securityoptions.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <dialmgr.hxx>
#include "optinet2.hxx"
#include <strings.hrc>
#include <com/sun/star/security/DocumentDigitalSignatures.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
#include <sal/types.h>
#include <rtl/ustring.hxx>
#include <osl/file.hxx>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/util/XChangesBatch.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/task/PasswordContainer.hpp>
#include <com/sun/star/task/XPasswordContainer2.hpp>
#include "securityoptions.hxx"
#include "webconninfo.hxx"
#include "certpath.hxx"
#include "tsaurls.hxx"
#include <svtools/restartdialog.hxx>
Include dependency graph for optinet2.cxx:

Go to the source code of this file.

Classes

struct  SvxEMailTabPage_Impl
 

Functions

 IMPL_LINK (SvxProxyTabPage, PortChangedHdl, weld::Entry &, rEdit, void)
 
 IMPL_STATIC_LINK (SvxProxyTabPage, NumberOnlyTextFilterHdl, OUString &, rTest, bool)
 
 IMPL_STATIC_LINK (SvxProxyTabPage, NoSpaceTextFilterHdl, OUString &, rTest, bool)
 
 IMPL_LINK (SvxProxyTabPage, ProxyHdl_Impl, weld::ComboBox &, rBox, void)
 
 IMPL_STATIC_LINK (SvxProxyTabPage, LoseFocusHdl_Impl, weld::Widget &, rControl, void)
 
 IMPL_LINK_NOARG (SvxSecurityTabPage, CertMgrPBHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SvxSecurityTabPage, SecurityOptionsHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SvxSecurityTabPage, SavePasswordHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (SvxSecurityTabPage, MasterPasswordHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SvxSecurityTabPage, MasterPasswordCBHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (SvxSecurityTabPage, ShowPasswordsHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SvxSecurityTabPage, CertPathPBHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SvxSecurityTabPage, TSAURLsPBHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SvxSecurityTabPage, MacroSecPBHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SvxEMailTabPage, FileDialogHdl_Impl, weld::Button &, void)
 

Variables

constexpr OUStringLiteral g_aProxyModePN = u"ooInetProxyType"
 
constexpr OUStringLiteral g_aHttpProxyPN = u"ooInetHTTPProxyName"
 
constexpr OUStringLiteral g_aHttpPortPN = u"ooInetHTTPProxyPort"
 
constexpr OUStringLiteral g_aHttpsProxyPN = u"ooInetHTTPSProxyName"
 
constexpr OUStringLiteral g_aHttpsPortPN = u"ooInetHTTPSProxyPort"
 
constexpr OUStringLiteral g_aFtpProxyPN = u"ooInetFTPProxyName"
 
constexpr OUStringLiteral g_aFtpPortPN = u"ooInetFTPProxyPort"
 
constexpr OUStringLiteral g_aNoProxyDescPN = u"ooInetNoProxy"
 

Function Documentation

◆ IMPL_LINK() [1/2]

IMPL_LINK ( SvxProxyTabPage  ,
PortChangedHdl  ,
weld::Entry ,
rEdit  ,
void   
)

Definition at line 85 of file optinet2.cxx.

References Application::CreateMessageDialog(), CuiResId(), and GetFrameWeld().

◆ IMPL_LINK() [2/2]

IMPL_LINK ( SvxProxyTabPage  ,
ProxyHdl_Impl  ,
weld::ComboBox ,
rBox  ,
void   
)

Definition at line 456 of file optinet2.cxx.

References nPos.

◆ IMPL_LINK_NOARG() [1/10]

IMPL_LINK_NOARG ( SvxEMailTabPage  ,
FileDialogHdl_Impl  ,
weld::Button ,
void   
)

Definition at line 968 of file optinet2.cxx.

References aHelper, ERRCODE_NONE, and GetFrameWeld().

◆ IMPL_LINK_NOARG() [2/10]

IMPL_LINK_NOARG ( SvxSecurityTabPage  ,
CertMgrPBHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [3/10]

IMPL_LINK_NOARG ( SvxSecurityTabPage  ,
CertPathPBHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [4/10]

IMPL_LINK_NOARG ( SvxSecurityTabPage  ,
MacroSecPBHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [5/10]

IMPL_LINK_NOARG ( SvxSecurityTabPage  ,
MasterPasswordCBHdl  ,
weld::Toggleable ,
void   
)

Definition at line 651 of file optinet2.cxx.

References Exception, and comphelper::getProcessComponentContext().

◆ IMPL_LINK_NOARG() [6/10]

IMPL_LINK_NOARG ( SvxSecurityTabPage  ,
MasterPasswordHdl  ,
weld::Button ,
void   
)

Definition at line 633 of file optinet2.cxx.

References Exception, and comphelper::getProcessComponentContext().

◆ IMPL_LINK_NOARG() [7/10]

IMPL_LINK_NOARG ( SvxSecurityTabPage  ,
SavePasswordHdl  ,
weld::Toggleable ,
void   
)

◆ IMPL_LINK_NOARG() [8/10]

IMPL_LINK_NOARG ( SvxSecurityTabPage  ,
SecurityOptionsHdl  ,
weld::Button ,
void   
)

Definition at line 565 of file optinet2.cxx.

References GetFrameWeld().

◆ IMPL_LINK_NOARG() [9/10]

IMPL_LINK_NOARG ( SvxSecurityTabPage  ,
ShowPasswordsHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [10/10]

IMPL_LINK_NOARG ( SvxSecurityTabPage  ,
TSAURLsPBHdl  ,
weld::Button ,
void   
)

Definition at line 730 of file optinet2.cxx.

References GetFrameWeld(), and weld::DialogController::run().

◆ IMPL_STATIC_LINK() [1/3]

IMPL_STATIC_LINK ( SvxProxyTabPage  ,
LoseFocusHdl_Impl  ,
weld::Widget ,
rControl  ,
void   
)

Definition at line 469 of file optinet2.cxx.

References weld::Entry::get_text(), and weld::Entry::set_text().

◆ IMPL_STATIC_LINK() [2/3]

IMPL_STATIC_LINK ( SvxProxyTabPage  ,
NoSpaceTextFilterHdl  ,
OUString &  ,
rTest  ,
bool   
)

Definition at line 117 of file optinet2.cxx.

◆ IMPL_STATIC_LINK() [3/3]

IMPL_STATIC_LINK ( SvxProxyTabPage  ,
NumberOnlyTextFilterHdl  ,
OUString &  ,
rTest  ,
bool   
)

Definition at line 105 of file optinet2.cxx.

References i.

Variable Documentation

◆ g_aFtpPortPN

constexpr OUStringLiteral g_aFtpPortPN = u"ooInetFTPProxyPort"
constexpr

◆ g_aFtpProxyPN

constexpr OUStringLiteral g_aFtpProxyPN = u"ooInetFTPProxyName"
constexpr

◆ g_aHttpPortPN

constexpr OUStringLiteral g_aHttpPortPN = u"ooInetHTTPProxyPort"
constexpr

◆ g_aHttpProxyPN

constexpr OUStringLiteral g_aHttpProxyPN = u"ooInetHTTPProxyName"
constexpr

◆ g_aHttpsPortPN

constexpr OUStringLiteral g_aHttpsPortPN = u"ooInetHTTPSProxyPort"
constexpr

◆ g_aHttpsProxyPN

constexpr OUStringLiteral g_aHttpsProxyPN = u"ooInetHTTPSProxyName"
constexpr

◆ g_aNoProxyDescPN

constexpr OUStringLiteral g_aNoProxyDescPN = u"ooInetNoProxy"
constexpr

◆ g_aProxyModePN

constexpr OUStringLiteral g_aProxyModePN = u"ooInetProxyType"
constexpr