LibreOffice Module sw (master) 1
Classes | Functions
uiregionsw.cxx File Reference
#include <hintids.hxx>
#include <regionsw.hxx>
#include <svl/urihelper.hxx>
#include <svl/PasswordHelper.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <svl/stritem.hxx>
#include <svl/eitem.hxx>
#include <sfx2/passwd.hxx>
#include <sfx2/docfilt.hxx>
#include <sfx2/request.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/linkmgr.hxx>
#include <sfx2/docinsert.hxx>
#include <sfx2/filedlghelper.hxx>
#include <editeng/sizeitem.hxx>
#include <svtools/htmlcfg.hxx>
#include <osl/diagnose.h>
#include <o3tl/string_view.hxx>
#include <uitool.hxx>
#include <IMark.hxx>
#include <section.hxx>
#include <docary.hxx>
#include <doc.hxx>
#include <wdocsh.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
#include <column.hxx>
#include <fmtclbl.hxx>
#include <fmtfsize.hxx>
#include <frmatr.hxx>
#include <shellio.hxx>
#include <cmdid.h>
#include <strings.hrc>
#include <bitmaps.hlst>
#include <sfx2/bindings.hxx>
#include <sfx2/sfxdlg.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/dialogs.hrc>
#include <svx/flagsdef.hxx>
#include <memory>
#include <string_view>
Include dependency graph for uiregionsw.cxx:

Go to the source code of this file.

Classes

class  SectRepr
 

Functions

static void lcl_ReadSections (SfxMedium &rMedium, weld::ComboBox &rBox)
 
static void lcl_FillList (SwWrtShell &rSh, weld::ComboBox &rSubRegions, weld::ComboBox *pAvailNames, const SwSectionFormat *pNewFormat)
 
static void lcl_FillSubRegionList (SwWrtShell &rSh, weld::ComboBox &rSubRegions, weld::ComboBox *pAvailNames)
 
 IMPL_LINK (SwEditRegionDlg, GetFirstEntryHdl, weld::TreeView &, rBox, void)
 
 IMPL_LINK_NOARG (SwEditRegionDlg, OkHdl, weld::Button &, void)
 
 IMPL_LINK (SwEditRegionDlg, ChangeProtectHdl, weld::Toggleable &, rButton, void)
 
 IMPL_LINK (SwEditRegionDlg, ChangeHideHdl, weld::Toggleable &, rButton, void)
 
 IMPL_LINK (SwEditRegionDlg, ChangeEditInReadonlyHdl, weld::Toggleable &, rButton, void)
 
 IMPL_LINK_NOARG (SwEditRegionDlg, ChangeDismissHdl, weld::Button &, void)
 
 IMPL_LINK (SwEditRegionDlg, UseFileHdl, weld::Toggleable &, rButton, void)
 
 IMPL_LINK_NOARG (SwEditRegionDlg, FileSearchHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwEditRegionDlg, OptionsHdl, weld::Button &, void)
 
 IMPL_LINK (SwEditRegionDlg, FileNameComboBoxHdl, weld::ComboBox &, rEdit, void)
 
 IMPL_LINK (SwEditRegionDlg, FileNameEntryHdl, weld::Entry &, rEdit, void)
 
 IMPL_LINK (SwEditRegionDlg, DDEHdl, weld::Toggleable &, rButton, void)
 
 IMPL_LINK_NOARG (SwEditRegionDlg, TogglePasswdHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (SwEditRegionDlg, ChangePasswdHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwEditRegionDlg, NameEditHdl, weld::Entry &, void)
 
 IMPL_LINK (SwEditRegionDlg, ConditionEditHdl, weld::Entry &, rEdit, void)
 
 IMPL_LINK (SwEditRegionDlg, DlgClosedHdl, sfx2::FileDialogHelper *, _pFileDlg, void)
 
 IMPL_LINK_NOARG (SwEditRegionDlg, SubRegionEventHdl, weld::ComboBox &, void)
 
 IMPL_LINK (SwInsertSectionTabPage, ChangeHideHdl, weld::Toggleable &, rBox, void)
 
 IMPL_LINK (SwInsertSectionTabPage, ChangeProtectHdl, weld::Toggleable &, rBox, void)
 
 IMPL_LINK_NOARG (SwInsertSectionTabPage, TogglePasswdHdl, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (SwInsertSectionTabPage, ChangePasswdHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwInsertSectionTabPage, NameEditHdl, weld::ComboBox &, void)
 
 IMPL_LINK (SwInsertSectionTabPage, UseFileHdl, weld::Toggleable &, rButton, void)
 
 IMPL_LINK_NOARG (SwInsertSectionTabPage, FileSearchHdl, weld::Button &, void)
 
 IMPL_LINK (SwInsertSectionTabPage, DDEHdl, weld::Toggleable &, rButton, void)
 
 IMPL_LINK (SwInsertSectionTabPage, DlgClosedHdl, sfx2::FileDialogHelper *, _pFileDlg, void)
 
 IMPL_LINK (SwSectionFootnoteEndTabPage, FootEndHdl, weld::Toggleable &, rBox, void)
 
 IMPL_LINK_NOARG (SwSectionIndentTabPage, IndentModifyHdl, weld::MetricSpinButton &, void)
 

Function Documentation

◆ IMPL_LINK() [1/16]

IMPL_LINK ( SwEditRegionDlg  ,
ChangeEditInReadonlyHdl  ,
weld::Toggleable ,
rButton  ,
void   
)

◆ IMPL_LINK() [2/16]

IMPL_LINK ( SwEditRegionDlg  ,
ChangeHideHdl  ,
weld::Toggleable ,
rButton  ,
void   
)

◆ IMPL_LINK() [3/16]

IMPL_LINK ( SwEditRegionDlg  ,
ChangeProtectHdl  ,
weld::Toggleable ,
rButton  ,
void   
)

◆ IMPL_LINK() [4/16]

IMPL_LINK ( SwEditRegionDlg  ,
ConditionEditHdl  ,
weld::Entry ,
rEdit  ,
void   
)

Definition at line 1275 of file uiregionsw.cxx.

References SectRepr::GetSectionData(), and SwSectionData::SetCondition().

◆ IMPL_LINK() [5/16]

IMPL_LINK ( SwEditRegionDlg  ,
DDEHdl  ,
weld::Toggleable ,
rButton  ,
void   
)

Definition at line 1147 of file uiregionsw.cxx.

References DdeLink, FileLink, SectRepr::GetSectionData(), rData, SectRepr::SetFile(), and u.

◆ IMPL_LINK() [6/16]

IMPL_LINK ( SwEditRegionDlg  ,
DlgClosedHdl  ,
sfx2::FileDialogHelper ,
_pFileDlg  ,
void   
)

◆ IMPL_LINK() [7/16]

IMPL_LINK ( SwEditRegionDlg  ,
FileNameComboBoxHdl  ,
weld::ComboBox ,
rEdit  ,
void   
)

Definition at line 1094 of file uiregionsw.cxx.

References SectRepr::SetSubRegion().

◆ IMPL_LINK() [8/16]

IMPL_LINK ( SwEditRegionDlg  ,
FileNameEntryHdl  ,
weld::Entry ,
rEdit  ,
void   
)

◆ IMPL_LINK() [9/16]

IMPL_LINK ( SwEditRegionDlg  ,
GetFirstEntryHdl  ,
weld::TreeView ,
rBox  ,
void   
)

◆ IMPL_LINK() [10/16]

IMPL_LINK ( SwEditRegionDlg  ,
UseFileHdl  ,
weld::Toggleable ,
rButton  ,
void   
)

◆ IMPL_LINK() [11/16]

IMPL_LINK ( SwInsertSectionTabPage  ,
ChangeHideHdl  ,
weld::Toggleable ,
rBox  ,
void   
)

Definition at line 1606 of file uiregionsw.cxx.

◆ IMPL_LINK() [12/16]

IMPL_LINK ( SwInsertSectionTabPage  ,
ChangeProtectHdl  ,
weld::Toggleable ,
rBox  ,
void   
)

Definition at line 1613 of file uiregionsw.cxx.

◆ IMPL_LINK() [13/16]

IMPL_LINK ( SwInsertSectionTabPage  ,
DDEHdl  ,
weld::Toggleable ,
rButton  ,
void   
)

Definition at line 1711 of file uiregionsw.cxx.

◆ IMPL_LINK() [14/16]

IMPL_LINK ( SwInsertSectionTabPage  ,
DlgClosedHdl  ,
sfx2::FileDialogHelper ,
_pFileDlg  ,
void   
)

◆ IMPL_LINK() [15/16]

IMPL_LINK ( SwInsertSectionTabPage  ,
UseFileHdl  ,
weld::Toggleable ,
rButton  ,
void   
)

Definition at line 1670 of file uiregionsw.cxx.

References Application::CreateMessageDialog(), GetFrameWeld(), RET_NO, and SwResId().

◆ IMPL_LINK() [16/16]

IMPL_LINK ( SwSectionFootnoteEndTabPage  ,
FootEndHdl  ,
weld::Toggleable ,
rBox  ,
void   
)

◆ IMPL_LINK_NOARG() [1/13]

IMPL_LINK_NOARG ( SwEditRegionDlg  ,
ChangeDismissHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [2/13]

IMPL_LINK_NOARG ( SwEditRegionDlg  ,
ChangePasswdHdl  ,
weld::Button ,
void   
)

Definition at line 1252 of file uiregionsw.cxx.

◆ IMPL_LINK_NOARG() [3/13]

IMPL_LINK_NOARG ( SwEditRegionDlg  ,
FileSearchHdl  ,
weld::Button ,
void   
)

Definition at line 996 of file uiregionsw.cxx.

References LINK, and m_xDialog.

◆ IMPL_LINK_NOARG() [4/13]

IMPL_LINK_NOARG ( SwEditRegionDlg  ,
NameEditHdl  ,
weld::Entry ,
void   
)

◆ IMPL_LINK_NOARG() [5/13]

IMPL_LINK_NOARG ( SwEditRegionDlg  ,
OkHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [6/13]

IMPL_LINK_NOARG ( SwEditRegionDlg  ,
OptionsHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [7/13]

IMPL_LINK_NOARG ( SwEditRegionDlg  ,
SubRegionEventHdl  ,
weld::ComboBox ,
void   
)

◆ IMPL_LINK_NOARG() [8/13]

IMPL_LINK_NOARG ( SwEditRegionDlg  ,
TogglePasswdHdl  ,
weld::Toggleable ,
void   
)

Definition at line 1247 of file uiregionsw.cxx.

◆ IMPL_LINK_NOARG() [9/13]

IMPL_LINK_NOARG ( SwInsertSectionTabPage  ,
ChangePasswdHdl  ,
weld::Button ,
void   
)

Definition at line 1657 of file uiregionsw.cxx.

◆ IMPL_LINK_NOARG() [10/13]

IMPL_LINK_NOARG ( SwInsertSectionTabPage  ,
FileSearchHdl  ,
weld::Button ,
void   
)

Definition at line 1705 of file uiregionsw.cxx.

References GetFrameWeld(), and LINK.

◆ IMPL_LINK_NOARG() [11/13]

IMPL_LINK_NOARG ( SwInsertSectionTabPage  ,
NameEditHdl  ,
weld::ComboBox ,
void   
)

Definition at line 1663 of file uiregionsw.cxx.

References aName.

◆ IMPL_LINK_NOARG() [12/13]

IMPL_LINK_NOARG ( SwInsertSectionTabPage  ,
TogglePasswdHdl  ,
weld::Toggleable ,
void   
)

Definition at line 1652 of file uiregionsw.cxx.

◆ IMPL_LINK_NOARG() [13/13]

IMPL_LINK_NOARG ( SwSectionIndentTabPage  ,
IndentModifyHdl  ,
weld::MetricSpinButton ,
void   
)

Definition at line 2109 of file uiregionsw.cxx.

◆ lcl_FillList()

static void lcl_FillList ( SwWrtShell rSh,
weld::ComboBox rSubRegions,
weld::ComboBox pAvailNames,
const SwSectionFormat pNewFormat 
)
static

◆ lcl_FillSubRegionList()

static void lcl_FillSubRegionList ( SwWrtShell rSh,
weld::ComboBox rSubRegions,
weld::ComboBox pAvailNames 
)
static

◆ lcl_ReadSections()

static void lcl_ReadSections ( SfxMedium rMedium,
weld::ComboBox rBox 
)
static