LibreOffice Module basctl (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
basctl::LibPage Class Referencefinal

#include <moduldlg.hxx>

Inheritance diagram for basctl::LibPage:
[legend]
Collaboration diagram for basctl::LibPage:
[legend]

Public Member Functions

 LibPage (weld::Container *pParent, OrganizeDialog *pDialog)
 
virtual ~LibPage () override
 
virtual void ActivatePage () override
 
virtual void ActivatePage ()=0
 

Private Types

typedef std::pair< const weld::TreeIter &, OUString > IterString
 

Private Member Functions

 DECL_LINK (TreeListHighlightHdl, weld::TreeView &, void)
 
 DECL_LINK (BasicSelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (ButtonHdl, weld::Button &, void)
 
 DECL_LINK (CheckPasswordHdl, SvxPasswordDialog *, bool)
 
 DECL_LINK (EditingEntryHdl, const weld::TreeIter &, bool)
 
 DECL_LINK (EditedEntryHdl, const IterString &, bool)
 
void CheckButtons ()
 
void DeleteCurrent ()
 
void NewLib ()
 
void InsertLib ()
 
void implExportLib (const OUString &aLibName, const OUString &aTargetURL, const css::uno::Reference< css::task::XInteractionHandler > &Handler)
 
void Export ()
 
void ExportAsPackage (const OUString &aLibName)
 
void ExportAsBasic (const OUString &aLibName)
 
void EndTabDialog ()
 
void FillListBox ()
 
void InsertListBoxEntry (const ScriptDocument &rDocument, LibraryLocation eLocation)
 
void SetCurLib ()
 
void ImpInsertLibEntry (const OUString &rLibName, int nPos)
 

Private Attributes

std::unique_ptr< weld::ComboBoxm_xBasicsBox
 
std::unique_ptr< weld::TreeViewm_xLibBox
 
std::unique_ptr< weld::Buttonm_xEditButton
 
std::unique_ptr< weld::Buttonm_xPasswordButton
 
std::unique_ptr< weld::Buttonm_xNewLibButton
 
std::unique_ptr< weld::Buttonm_xInsertLibButton
 
std::unique_ptr< weld::Buttonm_xExportButton
 
std::unique_ptr< weld::Buttonm_xDelButton
 
ScriptDocument m_aCurDocument
 
LibraryLocation m_eCurLocation
 

Additional Inherited Members

- Protected Member Functions inherited from basctl::OrganizePage
 OrganizePage (weld::Container *pParent, const OUString &rUIFile, const OUString &rName, OrganizeDialog *pDialog)
 
virtual ~OrganizePage ()
 
- Protected Attributes inherited from basctl::OrganizePage
OrganizeDialogm_pDialog
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 158 of file moduldlg.hxx.

Member Typedef Documentation

◆ IterString

typedef std::pair<const weld::TreeIter&, OUString> basctl::LibPage::IterString
private

Definition at line 177 of file moduldlg.hxx.

Constructor & Destructor Documentation

◆ LibPage()

basctl::LibPage::LibPage ( weld::Container pParent,
OrganizeDialog pDialog 
)
explicit

◆ ~LibPage()

basctl::LibPage::~LibPage ( )
overridevirtual

Definition at line 342 of file moduldl2.cxx.

References i, m_xBasicsBox, and nCount.

Member Function Documentation

◆ ActivatePage()

void basctl::LibPage::ActivatePage ( )
overridevirtual

Implements basctl::OrganizePage.

Definition at line 406 of file moduldl2.cxx.

References SetCurLib().

◆ CheckButtons()

void basctl::LibPage::CheckButtons ( )
private

◆ DECL_LINK() [1/6]

basctl::LibPage::DECL_LINK ( BasicSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/6]

basctl::LibPage::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/6]

basctl::LibPage::DECL_LINK ( CheckPasswordHdl  ,
SvxPasswordDialog *  ,
bool   
)
private

◆ DECL_LINK() [4/6]

basctl::LibPage::DECL_LINK ( EditedEntryHdl  ,
const IterString ,
bool   
)
private

◆ DECL_LINK() [5/6]

basctl::LibPage::DECL_LINK ( EditingEntryHdl  ,
const weld::TreeIter ,
bool   
)
private

◆ DECL_LINK() [6/6]

basctl::LibPage::DECL_LINK ( TreeListHighlightHdl  ,
weld::TreeView ,
void   
)
private

◆ DeleteCurrent()

void basctl::LibPage::DeleteCurrent ( )
private

◆ EndTabDialog()

void basctl::LibPage::EndTabDialog ( )
private

Definition at line 1168 of file moduldl2.cxx.

References RET_OK.

◆ Export()

void basctl::LibPage::Export ( )
private

Definition at line 906 of file moduldl2.cxx.

References basctl::E_SCRIPTS, basctl::QueryPassword(), and RET_OK.

◆ ExportAsBasic()

void basctl::LibPage::ExportAsBasic ( const OUString &  aLibName)
private

◆ ExportAsPackage()

void basctl::LibPage::ExportAsPackage ( const OUString &  aLibName)
private

◆ FillListBox()

void basctl::LibPage::FillListBox ( )
private

◆ ImpInsertLibEntry()

void basctl::LibPage::ImpInsertLibEntry ( const OUString &  rLibName,
int  nPos 
)
private

Definition at line 1229 of file moduldl2.cxx.

References basctl::E_SCRIPTS, and nPos.

◆ implExportLib()

void basctl::LibPage::implExportLib ( const OUString &  aLibName,
const OUString &  aTargetURL,
const css::uno::Reference< css::task::XInteractionHandler > &  Handler 
)
private

Definition at line 951 of file moduldl2.cxx.

References aTargetURL, basctl::E_DIALOGS, and basctl::E_SCRIPTS.

◆ InsertLib()

void basctl::LibPage::InsertLib ( )
private

◆ InsertListBoxEntry()

void basctl::LibPage::InsertListBoxEntry ( const ScriptDocument rDocument,
LibraryLocation  eLocation 
)
private

Definition at line 1185 of file moduldl2.cxx.

References basctl::ScriptDocument::getTitle(), sId, and weld::toId().

◆ NewLib()

void basctl::LibPage::NewLib ( )
private

◆ SetCurLib()

void basctl::LibPage::SetCurLib ( )
private

Member Data Documentation

◆ m_aCurDocument

ScriptDocument basctl::LibPage::m_aCurDocument
private

Definition at line 169 of file moduldlg.hxx.

Referenced by CheckButtons(), InsertLib(), and NewLib().

◆ m_eCurLocation

LibraryLocation basctl::LibPage::m_eCurLocation
private

Definition at line 170 of file moduldlg.hxx.

Referenced by CheckButtons().

◆ m_xBasicsBox

std::unique_ptr<weld::ComboBox> basctl::LibPage::m_xBasicsBox
private

Definition at line 160 of file moduldlg.hxx.

Referenced by LibPage(), and ~LibPage().

◆ m_xDelButton

std::unique_ptr<weld::Button> basctl::LibPage::m_xDelButton
private

Definition at line 167 of file moduldlg.hxx.

Referenced by CheckButtons(), and LibPage().

◆ m_xEditButton

std::unique_ptr<weld::Button> basctl::LibPage::m_xEditButton
private

Definition at line 162 of file moduldlg.hxx.

Referenced by LibPage().

◆ m_xExportButton

std::unique_ptr<weld::Button> basctl::LibPage::m_xExportButton
private

Definition at line 166 of file moduldlg.hxx.

Referenced by CheckButtons(), and LibPage().

◆ m_xInsertLibButton

std::unique_ptr<weld::Button> basctl::LibPage::m_xInsertLibButton
private

Definition at line 165 of file moduldlg.hxx.

Referenced by CheckButtons(), and LibPage().

◆ m_xLibBox

std::unique_ptr<weld::TreeView> basctl::LibPage::m_xLibBox
private

Definition at line 161 of file moduldlg.hxx.

Referenced by CheckButtons(), LibPage(), and NewLib().

◆ m_xNewLibButton

std::unique_ptr<weld::Button> basctl::LibPage::m_xNewLibButton
private

Definition at line 164 of file moduldlg.hxx.

Referenced by CheckButtons(), and LibPage().

◆ m_xPasswordButton

std::unique_ptr<weld::Button> basctl::LibPage::m_xPasswordButton
private

Definition at line 163 of file moduldlg.hxx.

Referenced by CheckButtons(), and LibPage().


The documentation for this class was generated from the following files: