LibreOffice Module sw (master) 1
|
#include <regionsw.hxx>
Public Member Functions | |
SwInsertSectionTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rAttrSet) | |
virtual | ~SwInsertSectionTabPage () override |
void | SetWrtShell (SwWrtShell &rSh) |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
Public Member Functions inherited from SfxTabPage | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
virtual void | PageCreated (const SfxAllItemSet &aSet) |
virtual void | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
void | ChangePasswd (bool bChange) |
DECL_LINK (ChangeHideHdl, weld::Toggleable &, void) | |
DECL_LINK (ChangeProtectHdl, weld::Toggleable &, void) | |
DECL_LINK (ChangePasswdHdl, weld::Button &, void) | |
DECL_LINK (TogglePasswdHdl, weld::Toggleable &, void) | |
DECL_LINK (NameEditHdl, weld::ComboBox &, void) | |
DECL_LINK (UseFileHdl, weld::Toggleable &, void) | |
DECL_LINK (FileSearchHdl, weld::Button &, void) | |
DECL_LINK (DDEHdl, weld::Toggleable &, void) | |
DECL_LINK (DlgClosedHdl, sfx2::FileDialogHelper *, void) | |
Private Attributes | |
OUString | m_sFileName |
OUString | m_sFilterName |
OUString | m_sFilePasswd |
css::uno::Sequence< sal_Int8 > | m_aNewPasswd |
SwWrtShell * | m_pWrtSh |
std::unique_ptr< sfx2::DocumentInserter > | m_pDocInserter |
std::unique_ptr< weld::EntryTreeView > | m_xCurName |
std::unique_ptr< weld::CheckButton > | m_xFileCB |
std::unique_ptr< weld::CheckButton > | m_xDDECB |
std::unique_ptr< weld::Label > | m_xDDECommandFT |
std::unique_ptr< weld::Label > | m_xFileNameFT |
std::unique_ptr< weld::Entry > | m_xFileNameED |
std::unique_ptr< weld::Button > | m_xFilePB |
std::unique_ptr< weld::Label > | m_xSubRegionFT |
std::unique_ptr< weld::ComboBox > | m_xSubRegionED |
std::unique_ptr< weld::CheckButton > | m_xProtectCB |
std::unique_ptr< weld::CheckButton > | m_xPasswdCB |
std::unique_ptr< weld::Button > | m_xPasswdPB |
std::unique_ptr< weld::CheckButton > | m_xHideCB |
std::unique_ptr< weld::Label > | m_xConditionFT |
std::unique_ptr< ConditionEdit > | m_xConditionED |
std::unique_ptr< weld::CheckButton > | m_xEditInReadonlyCB |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabPage | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 118 of file regionsw.hxx.
SwInsertSectionTabPage::SwInsertSectionTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rAttrSet | ||
) |
Definition at line 1469 of file uiregionsw.cxx.
References comphelper::LibreOfficeKit::isActive(), LINK, m_xCurName, m_xDDECB, m_xDDECommandFT, m_xFileCB, m_xFileNameED, m_xFileNameFT, m_xFilePB, m_xHideCB, m_xPasswdCB, m_xPasswdPB, m_xProtectCB, m_xSubRegionED, and m_xSubRegionFT.
|
overridevirtual |
Definition at line 1522 of file uiregionsw.cxx.
|
private |
Definition at line 1646 of file uiregionsw.cxx.
References Application::CreateMessageDialog(), SfxPasswordDialog::GetConfirm(), SfxTabPage::GetFrameWeld(), SvPasswordHelper::GetHashPassword(), SfxPasswordDialog::GetPassword(), m_aNewPasswd, m_xPasswdCB, RET_OK, SfxPasswordDialog::run(), SfxPasswordDialog::ShowExtras(), and SwResId().
|
static |
Definition at line 1626 of file uiregionsw.cxx.
Referenced by SwInsertSectionTabDialog::SwInsertSectionTabDialog().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1563 of file uiregionsw.cxx.
References Content, sfx2::cTokenSeparator, DdeLink, FileLink, SfxTabPage::GetDialogController(), SwView::GetDocShell(), URIHelper::GetMaybeFileHdl(), SfxObjectShell::GetMedium(), SfxMedium::GetURLObject(), SwWrtShell::GetView(), m_aNewPasswd, m_pWrtSh, m_sFilePasswd, m_sFilterName, m_xConditionED, m_xCurName, m_xDDECB, m_xEditInReadonlyCB, m_xFileCB, m_xFileNameED, m_xHideCB, m_xProtectCB, m_xSubRegionED, nPos, SwSectionData::SetCondition(), SwSectionData::SetEditInReadonlyFlag(), SwSectionData::SetHidden(), SwSectionData::SetLinkFileName(), SwSectionData::SetLinkFilePassword(), SwSectionData::SetPassword(), SwSectionData::SetProtectFlag(), SwSectionData::SetType(), and URIHelper::SmartRel2Abs().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1622 of file uiregionsw.cxx.
void SwInsertSectionTabPage::SetWrtShell | ( | SwWrtShell & | rSh | ) |
Definition at line 1526 of file uiregionsw.cxx.
References SfxTabPage::GetDialogController(), SwView::GetDocShell(), SwSectionData::GetLinkFileName(), SwSectionData::GetLinkFilePassword(), SwSectionData::GetSectionName(), SwEditShell::GetUniqueSectionName(), SwWrtShell::GetView(), SwSectionData::IsProtectFlag(), lcl_FillSubRegionList(), m_pWrtSh, m_sFileName, m_sFilePasswd, m_xConditionED, m_xConditionFT, m_xCurName, m_xDDECB, m_xDDECommandFT, m_xFileCB, m_xFileNameED, m_xHideCB, m_xProtectCB, and m_xSubRegionED.
|
private |
Definition at line 124 of file regionsw.hxx.
Referenced by ChangePasswd(), and FillItemSet().
|
private |
Definition at line 126 of file regionsw.hxx.
|
private |
Definition at line 125 of file regionsw.hxx.
Referenced by FillItemSet(), and SetWrtShell().
|
private |
Definition at line 120 of file regionsw.hxx.
Referenced by SetWrtShell().
|
private |
Definition at line 122 of file regionsw.hxx.
Referenced by FillItemSet(), and SetWrtShell().
|
private |
Definition at line 121 of file regionsw.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 142 of file regionsw.hxx.
Referenced by FillItemSet(), and SetWrtShell().
|
private |
Definition at line 141 of file regionsw.hxx.
Referenced by SetWrtShell().
|
private |
Definition at line 128 of file regionsw.hxx.
Referenced by FillItemSet(), SetWrtShell(), and SwInsertSectionTabPage().
|
private |
Definition at line 130 of file regionsw.hxx.
Referenced by FillItemSet(), SetWrtShell(), and SwInsertSectionTabPage().
|
private |
Definition at line 131 of file regionsw.hxx.
Referenced by SetWrtShell(), and SwInsertSectionTabPage().
|
private |
Definition at line 144 of file regionsw.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 129 of file regionsw.hxx.
Referenced by FillItemSet(), SetWrtShell(), and SwInsertSectionTabPage().
|
private |
Definition at line 133 of file regionsw.hxx.
Referenced by FillItemSet(), SetWrtShell(), and SwInsertSectionTabPage().
|
private |
Definition at line 132 of file regionsw.hxx.
Referenced by SwInsertSectionTabPage().
|
private |
Definition at line 134 of file regionsw.hxx.
Referenced by SwInsertSectionTabPage().
|
private |
Definition at line 140 of file regionsw.hxx.
Referenced by FillItemSet(), SetWrtShell(), and SwInsertSectionTabPage().
|
private |
Definition at line 138 of file regionsw.hxx.
Referenced by ChangePasswd(), and SwInsertSectionTabPage().
|
private |
Definition at line 139 of file regionsw.hxx.
Referenced by SwInsertSectionTabPage().
|
private |
Definition at line 137 of file regionsw.hxx.
Referenced by FillItemSet(), SetWrtShell(), and SwInsertSectionTabPage().
|
private |
Definition at line 136 of file regionsw.hxx.
Referenced by FillItemSet(), SetWrtShell(), and SwInsertSectionTabPage().
|
private |
Definition at line 135 of file regionsw.hxx.
Referenced by SwInsertSectionTabPage().