LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwLabPage Class Reference

#include <swuilabimp.hxx>

Inheritance diagram for SwLabPage:
[legend]
Collaboration diagram for SwLabPage:
[legend]

Public Member Functions

 SwLabPage (TabPageParent pParent, const SfxItemSet &rSet)
 
virtual ~SwLabPage () override
 
virtual void ActivatePage (const SfxItemSet &rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
void FillItem (SwLabItem &rItem)
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
SwLabDlgGetParentSwLabDlg ()
 
void SetToBusinessCard ()
 
void InitDatabaseBox ()
 
void SetDBManager (SwDBManager *pDBManager_)
 
SwDBManagerGetDBManager () const
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
virtual void dispose () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
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 SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, const SfxItemSet *rSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (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

 DECL_LINK (AddrHdl, weld::ToggleButton &, void)
 
 DECL_LINK (DatabaseHdl, weld::ComboBox &, void)
 
 DECL_LINK (FieldHdl, weld::Button &, void)
 
 DECL_LINK (PageHdl, weld::ToggleButton &, void)
 
 DECL_LINK (MakeHdl, weld::ComboBox &, void)
 
 DECL_LINK (TypeHdl, weld::ComboBox &, void)
 
void DisplayFormat ()
 
SwLabRecGetSelectedEntryPos ()
 

Private Attributes

SwDBManagerpDBManager
 
OUString sActDBName
 
SwLabItem aItem
 
std::unique_ptr< weld::Widgetm_xAddressFrame
 
std::unique_ptr< weld::CheckButtonm_xAddrBox
 
std::unique_ptr< weld::TextViewm_xWritingEdit
 
std::unique_ptr< weld::ComboBoxm_xDatabaseLB
 
std::unique_ptr< weld::ComboBoxm_xTableLB
 
std::unique_ptr< weld::Buttonm_xInsertBT
 
std::unique_ptr< weld::ComboBoxm_xDBFieldLB
 
std::unique_ptr< weld::RadioButtonm_xContButton
 
std::unique_ptr< weld::RadioButtonm_xSheetButton
 
std::unique_ptr< weld::ComboBoxm_xMakeBox
 
std::unique_ptr< weld::ComboBoxm_xTypeBox
 
std::unique_ptr< weld::ComboBoxm_xHiddenSortTypeBox
 
std::unique_ptr< weld::Labelm_xFormatInfo
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 27 of file swuilabimp.hxx.

Constructor & Destructor Documentation

SwLabPage::SwLabPage ( TabPageParent  pParent,
const SfxItemSet rSet 
)
SwLabPage::~SwLabPage ( )
overridevirtual

Definition at line 273 of file label1.cxx.

Member Function Documentation

void SwLabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 453 of file label1.cxx.

References Reset().

VclPtr< SfxTabPage > SwLabPage::Create ( TabPageParent  pParent,
const SfxItemSet rSet 
)
static

Definition at line 448 of file label1.cxx.

References VclPtr< reference_type >::Create().

Referenced by SwLabDlg::SwLabDlg().

DeactivateRC SwLabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 458 of file label1.cxx.

References FillItemSet().

SwLabPage::DECL_LINK ( AddrHdl  ,
weld::ToggleButton ,
void   
)
private
SwLabPage::DECL_LINK ( DatabaseHdl  ,
weld::ComboBox ,
void   
)
private
SwLabPage::DECL_LINK ( FieldHdl  ,
weld::Button ,
void   
)
private
SwLabPage::DECL_LINK ( PageHdl  ,
weld::ToggleButton ,
void   
)
private
SwLabPage::DECL_LINK ( MakeHdl  ,
weld::ComboBox ,
void   
)
private
SwLabPage::DECL_LINK ( TypeHdl  ,
weld::ComboBox ,
void   
)
private
void SwLabPage::DisplayFormat ( )
private
void SwLabPage::FillItem ( SwLabItem rItem)
bool SwLabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 482 of file label1.cxx.

References aItem, FillItem(), and SfxItemSet::Put().

Referenced by DeactivatePage().

SwDBManager* SwLabPage::GetDBManager ( ) const
inline

Definition at line 79 of file swuilabimp.hxx.

References pDBManager.

Referenced by InitDatabaseBox().

SwLabDlg* SwLabPage::GetParentSwLabDlg ( )
inline

Definition at line 73 of file swuilabimp.hxx.

References SfxTabPage::GetDialogController().

Referenced by GetSelectedEntryPos(), and Reset().

SwLabRec * SwLabPage::GetSelectedEntryPos ( )
private

Definition at line 419 of file label1.cxx.

References GetParentSwLabDlg(), SwLabDlg::GetRecord(), m_xContButton, and m_xTypeBox.

Referenced by DisplayFormat(), and FillItem().

void SwLabPage::InitDatabaseBox ( )
void SwLabPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwLabPage::SetDBManager ( SwDBManager pDBManager_)
inline

Definition at line 78 of file swuilabimp.hxx.

void SwLabPage::SetToBusinessCard ( )

Member Data Documentation

SwLabItem SwLabPage::aItem
private

Definition at line 31 of file swuilabimp.hxx.

Referenced by DisplayFormat(), FillItemSet(), and Reset().

std::unique_ptr<weld::CheckButton> SwLabPage::m_xAddrBox
private

Definition at line 34 of file swuilabimp.hxx.

Referenced by FillItem(), Reset(), and SwLabPage().

std::unique_ptr<weld::Widget> SwLabPage::m_xAddressFrame
private

Definition at line 33 of file swuilabimp.hxx.

Referenced by SetToBusinessCard().

std::unique_ptr<weld::RadioButton> SwLabPage::m_xContButton
private

Definition at line 40 of file swuilabimp.hxx.

Referenced by FillItem(), GetSelectedEntryPos(), Reset(), SetToBusinessCard(), and SwLabPage().

std::unique_ptr<weld::ComboBox> SwLabPage::m_xDatabaseLB
private

Definition at line 36 of file swuilabimp.hxx.

Referenced by InitDatabaseBox(), Reset(), and SwLabPage().

std::unique_ptr<weld::ComboBox> SwLabPage::m_xDBFieldLB
private

Definition at line 39 of file swuilabimp.hxx.

Referenced by InitDatabaseBox(), and SwLabPage().

std::unique_ptr<weld::Label> SwLabPage::m_xFormatInfo
private

Definition at line 45 of file swuilabimp.hxx.

Referenced by DisplayFormat().

std::unique_ptr<weld::ComboBox> SwLabPage::m_xHiddenSortTypeBox
private

Definition at line 44 of file swuilabimp.hxx.

Referenced by SwLabPage().

std::unique_ptr<weld::Button> SwLabPage::m_xInsertBT
private

Definition at line 38 of file swuilabimp.hxx.

Referenced by SwLabPage().

std::unique_ptr<weld::ComboBox> SwLabPage::m_xMakeBox
private

Definition at line 42 of file swuilabimp.hxx.

Referenced by FillItem(), Reset(), SetToBusinessCard(), and SwLabPage().

std::unique_ptr<weld::RadioButton> SwLabPage::m_xSheetButton
private

Definition at line 41 of file swuilabimp.hxx.

Referenced by Reset(), SetToBusinessCard(), and SwLabPage().

std::unique_ptr<weld::ComboBox> SwLabPage::m_xTableLB
private

Definition at line 37 of file swuilabimp.hxx.

Referenced by InitDatabaseBox(), and SwLabPage().

std::unique_ptr<weld::ComboBox> SwLabPage::m_xTypeBox
private

Definition at line 43 of file swuilabimp.hxx.

Referenced by FillItem(), GetSelectedEntryPos(), Reset(), SetToBusinessCard(), and SwLabPage().

std::unique_ptr<weld::TextView> SwLabPage::m_xWritingEdit
private

Definition at line 35 of file swuilabimp.hxx.

Referenced by FillItem(), Reset(), and SwLabPage().

SwDBManager* SwLabPage::pDBManager
private

Definition at line 29 of file swuilabimp.hxx.

Referenced by GetDBManager().

OUString SwLabPage::sActDBName
private

Definition at line 30 of file swuilabimp.hxx.

Referenced by FillItem(), and InitDatabaseBox().


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