|
LibreOffice Module sw (master) 1
|
#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 <comphelper/lok.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>Go to the source code of this file.
Classes | |
| class | SectRepr |
| IMPL_LINK | ( | SwEditRegionDlg | , |
| ChangeEditInReadonlyHdl | , | ||
| weld::Toggleable & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 865 of file uiregionsw.cxx.
References SectRepr::GetSectionData(), SwSectionData::SetEditInReadonlyFlag(), and TRISTATE_TRUE.
| IMPL_LINK | ( | SwEditRegionDlg | , |
| ChangeHideHdl | , | ||
| weld::Toggleable & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 847 of file uiregionsw.cxx.
References SectRepr::GetSectionData(), SwSectionData::SetHidden(), and TRISTATE_TRUE.
| IMPL_LINK | ( | SwEditRegionDlg | , |
| ChangeProtectHdl | , | ||
| weld::Toggleable & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 830 of file uiregionsw.cxx.
References SectRepr::GetSectionData(), SwSectionData::SetProtectFlag(), and TRISTATE_TRUE.
| IMPL_LINK | ( | SwEditRegionDlg | , |
| ConditionEditHdl | , | ||
| weld::Entry & | , | ||
| rEdit | , | ||
| void | |||
| ) |
Definition at line 1286 of file uiregionsw.cxx.
References SectRepr::GetSectionData(), and SwSectionData::SetCondition().
| IMPL_LINK | ( | SwEditRegionDlg | , |
| DDEHdl | , | ||
| weld::Toggleable & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 1157 of file uiregionsw.cxx.
References DdeLink, FileLink, SectRepr::GetSectionData(), SwSectionData::GetType(), comphelper::LibreOfficeKit::isActive(), SectRepr::SetFile(), SwSectionData::SetLinkFilePassword(), SwSectionData::SetType(), and u.
| IMPL_LINK | ( | SwEditRegionDlg | , |
| DlgClosedHdl | , | ||
| sfx2::FileDialogHelper * | , | ||
| _pFileDlg | , | ||
| void | |||
| ) |
Definition at line 1301 of file uiregionsw.cxx.
References ERRCODE_NONE, SectRepr::GetFile(), SectRepr::GetSectionData(), lcl_ReadSections(), INetURLObject::NONE, SectRepr::SetFile(), SectRepr::SetFilter(), and SwSectionData::SetLinkFilePassword().
| IMPL_LINK | ( | SwEditRegionDlg | , |
| FileNameComboBoxHdl | , | ||
| weld::ComboBox & | , | ||
| rEdit | , | ||
| void | |||
| ) |
Definition at line 1104 of file uiregionsw.cxx.
References SectRepr::SetSubRegion().
| IMPL_LINK | ( | SwEditRegionDlg | , |
| FileNameEntryHdl | , | ||
| weld::Entry & | , | ||
| rEdit | , | ||
| void | |||
| ) |
Definition at line 1116 of file uiregionsw.cxx.
References sfx2::cTokenSeparator, DdeLink, URIHelper::GetMaybeFileHdl(), SectRepr::GetSectionData(), SfxMedium::GetURLObject(), nPos, SectRepr::SetFile(), SwSectionData::SetLinkFileName(), SwSectionData::SetLinkFilePassword(), SwSectionData::SetType(), and URIHelper::SmartRel2Abs().
| IMPL_LINK | ( | SwEditRegionDlg | , |
| GetFirstEntryHdl | , | ||
| weld::TreeView & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 590 of file uiregionsw.cxx.
References Content, DdeLink, SwSectionData::GetCondition(), SectRepr::GetFile(), SwSectionData::GetPassword(), SectRepr::GetSectionData(), SectRepr::GetSubRegion(), SwSectionData::GetType(), SwSectionData::IsEditInReadonlyFlag(), SwSectionData::IsHidden(), SwSectionData::IsProtectFlag(), TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
| IMPL_LINK | ( | SwEditRegionDlg | , |
| UseFileHdl | , | ||
| weld::Toggleable & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 951 of file uiregionsw.cxx.
References Application::CreateMessageDialog(), SectRepr::GetSectionData(), SectRepr::IsContent(), m_xDialog, RET_NO, SectRepr::SetContent(), SectRepr::SetFile(), SwSectionData::SetLinkFilePassword(), SectRepr::SetSubRegion(), SwResId(), TRISTATE_TRUE, and u.
| IMPL_LINK | ( | SwInsertSectionTabPage | , |
| ChangeHideHdl | , | ||
| weld::Toggleable & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 1632 of file uiregionsw.cxx.
| IMPL_LINK | ( | SwInsertSectionTabPage | , |
| ChangeProtectHdl | , | ||
| weld::Toggleable & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 1639 of file uiregionsw.cxx.
| IMPL_LINK | ( | SwInsertSectionTabPage | , |
| DDEHdl | , | ||
| weld::Toggleable & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 1737 of file uiregionsw.cxx.
References comphelper::LibreOfficeKit::isActive().
| IMPL_LINK | ( | SwInsertSectionTabPage | , |
| DlgClosedHdl | , | ||
| sfx2::FileDialogHelper * | , | ||
| _pFileDlg | , | ||
| void | |||
| ) |
Definition at line 1764 of file uiregionsw.cxx.
References INetURLObject::decode(), ERRCODE_NONE, lcl_ReadSections(), INetURLObject::NONE, and INetURLObject::Unambiguous.
| IMPL_LINK | ( | SwInsertSectionTabPage | , |
| UseFileHdl | , | ||
| weld::Toggleable & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 1696 of file uiregionsw.cxx.
References Application::CreateMessageDialog(), GetFrameWeld(), RET_NO, and SwResId().
| IMPL_LINK | ( | SwSectionFootnoteEndTabPage | , |
| FootEndHdl | , | ||
| weld::Toggleable & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 1970 of file uiregionsw.cxx.
References weld::Toggleable::get_state(), SwNumberingTypeListBox::set_sensitive(), weld::Widget::set_sensitive(), and TRISTATE_TRUE.
| IMPL_LINK_NOARG | ( | SwEditRegionDlg | , |
| ChangeDismissHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 878 of file uiregionsw.cxx.
References SectRepr::GetArrPos(), SectRepr::IsSelected(), SectRepr::SetSelected(), and TRISTATE_FALSE.
| IMPL_LINK_NOARG | ( | SwEditRegionDlg | , |
| ChangePasswdHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 1263 of file uiregionsw.cxx.
| IMPL_LINK_NOARG | ( | SwEditRegionDlg | , |
| FileSearchHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 1006 of file uiregionsw.cxx.
| IMPL_LINK_NOARG | ( | SwEditRegionDlg | , |
| NameEditHdl | , | ||
| weld::Entry & | , | ||
| void | |||
| ) |
Definition at line 1270 of file uiregionsw.cxx.
References aName, SectRepr::GetSectionData(), and SwSectionData::SetSectionName().
| IMPL_LINK_NOARG | ( | SwEditRegionDlg | , |
| OkHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 751 of file uiregionsw.cxx.
References SwVectorModifyBase< Value >::clear(), SwAttrSet::Clone(), SectRepr::GetArrPos(), SwFormat::GetAttrSet(), SectRepr::GetBackground(), SectRepr::GetBalance(), SwFormat::GetBalancedColumns(), SectRepr::GetCol(), SwFormat::GetCol(), SwFormat::GetEndAtTextEnd(), SectRepr::GetEndNtAtEnd(), SwFormat::GetFootnoteAtTextEnd(), SectRepr::GetFootnoteNtAtEnd(), SectRepr::GetFrameDir(), SwFormat::GetFrameDir(), SectRepr::GetLRSpace(), SwFormat::GetLRSpace(), SwFormatsModifyBase< Value >::GetPos(), SectRepr::GetSectionData(), SwSectionData::IsProtectFlag(), m_xDialog, SwFormat::makeBackgroundBrushItem(), RET_OK, and SwSectionData::SetPassword().
| IMPL_LINK_NOARG | ( | SwEditRegionDlg | , |
| OptionsHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 1014 of file uiregionsw.cxx.
References SwVectorModifyBase< Value >::clear(), SvxBrushItem::Clone(), SvxLRSpaceItem::Clone(), SfxItemSet::Count(), SectRepr::GetArrPos(), SectRepr::GetBackground(), SectRepr::GetBalance(), SectRepr::GetCol(), SectRepr::GetEndNtAtEnd(), SectRepr::GetFootnoteNtAtEnd(), SectRepr::GetFrameDir(), SfxItemSet::GetItemIfSet(), SectRepr::GetLRSpace(), SfxTabDialogController::GetOutputItemSet(), SfxBoolItem::GetValue(), m_xDialog, RES_BACKGROUND(), RES_COL(), RES_COLUMNBALANCE(), RES_END_AT_TXTEND(), RES_FRAMEDIR(), RES_FRM_SIZE(), RES_FTN_AT_TXTEND(), RES_LR_SPACE(), RET_OK, SfxTabDialogController::run(), SfxBoolItem::SetValue(), Variable, XATTR_FILL_FIRST(), and XATTR_FILL_LAST().
| IMPL_LINK_NOARG | ( | SwEditRegionDlg | , |
| SubRegionEventHdl | , | ||
| weld::ComboBox & | , | ||
| void | |||
| ) |
Definition at line 1327 of file uiregionsw.cxx.
References INetURLObject::GetMainURL(), URIHelper::GetMaybeFileHdl(), SfxMedium::GetURLObject(), lcl_FillSubRegionList(), lcl_ReadSections(), INetURLObject::NONE, and URIHelper::SmartRel2Abs().
| IMPL_LINK_NOARG | ( | SwEditRegionDlg | , |
| TogglePasswdHdl | , | ||
| weld::Toggleable & | , | ||
| void | |||
| ) |
Definition at line 1258 of file uiregionsw.cxx.
| IMPL_LINK_NOARG | ( | SwInsertSectionTabPage | , |
| ChangePasswdHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 1683 of file uiregionsw.cxx.
| IMPL_LINK_NOARG | ( | SwInsertSectionTabPage | , |
| FileSearchHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 1731 of file uiregionsw.cxx.
References GetFrameWeld(), and LINK.
| IMPL_LINK_NOARG | ( | SwInsertSectionTabPage | , |
| NameEditHdl | , | ||
| weld::ComboBox & | , | ||
| void | |||
| ) |
Definition at line 1689 of file uiregionsw.cxx.
References aName.
| IMPL_LINK_NOARG | ( | SwInsertSectionTabPage | , |
| TogglePasswdHdl | , | ||
| weld::Toggleable & | , | ||
| void | |||
| ) |
Definition at line 1678 of file uiregionsw.cxx.
| IMPL_LINK_NOARG | ( | SwSectionIndentTabPage | , |
| IndentModifyHdl | , | ||
| weld::MetricSpinButton & | , | ||
| void | |||
| ) |
Definition at line 2136 of file uiregionsw.cxx.
|
static |
Definition at line 98 of file uiregionsw.cxx.
References weld::ComboBox::append_text(), SwSectionFormat::GetChildSections(), SwSectionFormat::GetParent(), SwSectionFormat::GetSection(), SwEditShell::GetSectionFormat(), SwEditShell::GetSectionFormatCount(), SwSection::GetSectionName(), SwSection::GetType(), i, SwSectionFormat::IsInNodesArr(), lcl_FillList(), nCount, Pos, ToxContent, and ToxHeader.
Referenced by lcl_FillList(), and lcl_FillSubRegionList().
|
static |
Definition at line 145 of file uiregionsw.cxx.
References weld::ComboBox::append_text(), weld::ComboBox::clear(), IDocumentMarkAccess::getBookmarksBegin(), IDocumentMarkAccess::getBookmarksEnd(), SwViewShell::getIDocumentMarkAccess(), and lcl_FillList().
Referenced by IMPL_LINK_NOARG(), and SwInsertSectionTabPage::SetWrtShell().
|
static |
Definition at line 1355 of file uiregionsw.cxx.
References sw::sidebar::aArr, weld::ComboBox::append_text(), weld::ComboBox::clear(), SotStorage::GetFormatID(), Reader::GetSectionList(), SfxMedium::GetStorage(), SfxMedium::IsStorage(), and SwGetReaderXML().
Referenced by IMPL_LINK(), and IMPL_LINK_NOARG().