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 (weld::Container *pPage, weld::DialogController *pController, 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
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () 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 SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, 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::Toggleable &, void)
 
 DECL_LINK (DatabaseHdl, weld::ComboBox &, void)
 
 DECL_LINK (FieldHdl, weld::Button &, void)
 
 DECL_LINK (PageHdl, weld::Toggleable &, void)
 
 DECL_LINK (MakeHdl, weld::ComboBox &, void)
 
 DECL_LINK (TypeHdl, weld::ComboBox &, void)
 
void DisplayFormat ()
 
SwLabRecGetSelectedEntryPos ()
 

Private Attributes

SwDBManagerm_pDBManager
 
OUString m_sActDBName
 
SwLabItem m_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 (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 SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 26 of file swuilabimp.hxx.

Constructor & Destructor Documentation

◆ SwLabPage()

SwLabPage::SwLabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

◆ ~SwLabPage()

SwLabPage::~SwLabPage ( )
overridevirtual

Definition at line 261 of file label1.cxx.

Member Function Documentation

◆ ActivatePage()

void SwLabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 440 of file label1.cxx.

References Reset(), and rSet.

◆ Create()

std::unique_ptr< SfxTabPage > SwLabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 435 of file label1.cxx.

References rSet.

Referenced by SwLabDlg::SwLabDlg().

◆ DeactivatePage()

DeactivateRC SwLabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 445 of file label1.cxx.

References FillItemSet().

◆ DECL_LINK() [1/6]

SwLabPage::DECL_LINK ( AddrHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/6]

SwLabPage::DECL_LINK ( DatabaseHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/6]

SwLabPage::DECL_LINK ( FieldHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/6]

SwLabPage::DECL_LINK ( MakeHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [5/6]

SwLabPage::DECL_LINK ( PageHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [6/6]

SwLabPage::DECL_LINK ( TypeHdl  ,
weld::ComboBox ,
void   
)
private

◆ DisplayFormat()

void SwLabPage::DisplayFormat ( )
private

◆ FillItem()

void SwLabPage::FillItem ( SwLabItem rItem)

◆ FillItemSet()

bool SwLabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 469 of file label1.cxx.

References FillItem(), m_aItem, SfxItemSet::Put(), and rSet.

Referenced by DeactivatePage().

◆ GetDBManager()

SwDBManager * SwLabPage::GetDBManager ( ) const
inline

Definition at line 76 of file swuilabimp.hxx.

References m_pDBManager.

Referenced by InitDatabaseBox().

◆ GetParentSwLabDlg()

SwLabDlg * SwLabPage::GetParentSwLabDlg ( )
inline

Definition at line 70 of file swuilabimp.hxx.

References SfxTabPage::GetDialogController().

Referenced by GetSelectedEntryPos(), and Reset().

◆ GetSelectedEntryPos()

SwLabRec * SwLabPage::GetSelectedEntryPos ( )
private

Definition at line 406 of file label1.cxx.

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

Referenced by DisplayFormat(), and FillItem().

◆ InitDatabaseBox()

void SwLabPage::InitDatabaseBox ( )

◆ Reset()

void SwLabPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetDBManager()

void SwLabPage::SetDBManager ( SwDBManager pDBManager_)
inline

Definition at line 75 of file swuilabimp.hxx.

References m_pDBManager.

◆ SetToBusinessCard()

void SwLabPage::SetToBusinessCard ( )

Member Data Documentation

◆ m_aItem

SwLabItem SwLabPage::m_aItem
private

Definition at line 30 of file swuilabimp.hxx.

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

◆ m_pDBManager

SwDBManager* SwLabPage::m_pDBManager
private

Definition at line 28 of file swuilabimp.hxx.

Referenced by GetDBManager(), and SetDBManager().

◆ m_sActDBName

OUString SwLabPage::m_sActDBName
private

Definition at line 29 of file swuilabimp.hxx.

Referenced by FillItem(), and InitDatabaseBox().

◆ m_xAddrBox

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

Definition at line 33 of file swuilabimp.hxx.

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

◆ m_xAddressFrame

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

Definition at line 32 of file swuilabimp.hxx.

◆ m_xContButton

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

Definition at line 39 of file swuilabimp.hxx.

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

◆ m_xDatabaseLB

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

Definition at line 35 of file swuilabimp.hxx.

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

◆ m_xDBFieldLB

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

Definition at line 38 of file swuilabimp.hxx.

Referenced by InitDatabaseBox(), and SwLabPage().

◆ m_xFormatInfo

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

Definition at line 44 of file swuilabimp.hxx.

Referenced by DisplayFormat().

◆ m_xHiddenSortTypeBox

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

Definition at line 43 of file swuilabimp.hxx.

Referenced by SwLabPage().

◆ m_xInsertBT

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

Definition at line 37 of file swuilabimp.hxx.

Referenced by SwLabPage().

◆ m_xMakeBox

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

Definition at line 41 of file swuilabimp.hxx.

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

◆ m_xSheetButton

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

Definition at line 40 of file swuilabimp.hxx.

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

◆ m_xTableLB

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

Definition at line 36 of file swuilabimp.hxx.

Referenced by InitDatabaseBox(), and SwLabPage().

◆ m_xTypeBox

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

Definition at line 42 of file swuilabimp.hxx.

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

◆ m_xWritingEdit

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

Definition at line 34 of file swuilabimp.hxx.

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


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