LibreOffice Module sw (master) 1
|
#include <swuilabimp.hxx>
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 |
SwLabDlg * | GetParentSwLabDlg () |
void | SetToBusinessCard () |
void | InitDatabaseBox () |
void | SetDBManager (SwDBManager *pDBManager_) |
SwDBManager * | GetDBManager () const |
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 *rSet) |
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 | |
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 () |
SwLabRec * | GetSelectedEntryPos () |
Private Attributes | |
SwDBManager * | m_pDBManager |
OUString | m_sActDBName |
SwLabItem | m_aItem |
std::unique_ptr< weld::Widget > | m_xAddressFrame |
std::unique_ptr< weld::CheckButton > | m_xAddrBox |
std::unique_ptr< weld::TextView > | m_xWritingEdit |
std::unique_ptr< weld::ComboBox > | m_xDatabaseLB |
std::unique_ptr< weld::ComboBox > | m_xTableLB |
std::unique_ptr< weld::Button > | m_xInsertBT |
std::unique_ptr< weld::ComboBox > | m_xDBFieldLB |
std::unique_ptr< weld::RadioButton > | m_xContButton |
std::unique_ptr< weld::RadioButton > | m_xSheetButton |
std::unique_ptr< weld::ComboBox > | m_xMakeBox |
std::unique_ptr< weld::ComboBox > | m_xTypeBox |
std::unique_ptr< weld::ComboBox > | m_xHiddenSortTypeBox |
std::unique_ptr< weld::Label > | m_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 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 26 of file swuilabimp.hxx.
SwLabPage::SwLabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 210 of file label1.cxx.
References Get(), SfxTabPage::GetFrameWeld(), InitDatabaseBox(), LINK, m_xAddrBox, m_xContButton, m_xDatabaseLB, m_xDBFieldLB, m_xHiddenSortTypeBox, m_xInsertBT, m_xMakeBox, m_xSheetButton, m_xTableLB, m_xTypeBox, m_xWritingEdit, rSet, and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 261 of file label1.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 440 of file label1.cxx.
|
static |
|
overridevirtual |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 381 of file label1.cxx.
References Application::CreateBuilder(), GetDfltMetric(), SfxTabPage::GetFrameWeld(), GetSelectedEntryPos(), m_aItem, SwLabItem::m_aLstType, SwLabRec::m_aType, SwLabRec::m_nCols, SwLabRec::m_nHeight, SwLabRec::m_nRows, SwLabRec::m_nWidth, m_xFormatInfo, SetFieldUnit(), and setfldval().
void SwLabPage::FillItem | ( | SwLabItem & | rItem | ) |
Definition at line 453 of file label1.cxx.
References SwLabRec::FillItem(), GetSelectedEntryPos(), SwLabItem::m_aLstMake, SwLabItem::m_aLstType, SwLabItem::m_aMake, SwLabItem::m_aType, SwLabItem::m_aWriting, SwLabItem::m_bAddr, SwLabItem::m_bCont, m_sActDBName, SwLabItem::m_sDBName, m_xAddrBox, m_xContButton, m_xMakeBox, m_xTypeBox, and m_xWritingEdit.
Referenced by FillItemSet().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 469 of file label1.cxx.
References FillItem(), m_aItem, SfxItemSet::Put(), and rSet.
Referenced by DeactivatePage().
|
inline |
Definition at line 76 of file swuilabimp.hxx.
References m_pDBManager.
Referenced by InitDatabaseBox().
|
inline |
Definition at line 70 of file swuilabimp.hxx.
References SfxTabPage::GetDialogController().
Referenced by GetSelectedEntryPos(), and Reset().
|
private |
Definition at line 406 of file label1.cxx.
References GetParentSwLabDlg(), SwLabDlg::GetRecord(), m_xContButton, and m_xTypeBox.
Referenced by DisplayFormat(), and FillItem().
void SwLabPage::InitDatabaseBox | ( | ) |
Definition at line 413 of file label1.cxx.
References DB_DELIM, SwDBManager::GetColumnNames(), GetDBManager(), SwDBManager::GetExistingDatabaseNames(), m_sActDBName, m_xDatabaseLB, m_xDBFieldLB, and m_xTableLB.
Referenced by SwLabPage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 477 of file label1.cxx.
References convertLineEnd(), SfxItemSet::Get(), GetParentSwLabDlg(), GetSystemLineEnd(), i, m_aItem, SwLabItem::m_aLstMake, SwLabItem::m_aMake, SwLabItem::m_aType, SwLabItem::m_aWriting, SwLabItem::m_bAddr, SwLabItem::m_bCont, SwLabItem::m_sDBName, m_xAddrBox, m_xContButton, m_xDatabaseLB, m_xMakeBox, m_xSheetButton, m_xTypeBox, m_xWritingEdit, SwLabDlg::Makes(), nCount, rSet, sType, and SwLabDlg::UpdateGroup().
Referenced by ActivatePage().
|
inline |
Definition at line 75 of file swuilabimp.hxx.
References m_pDBManager.
void SwLabPage::SetToBusinessCard | ( | ) |
Definition at line 265 of file label1.cxx.
References HID_BUSINESS_FMT_PAGE, HID_BUSINESS_FMT_PAGE_BRAND, HID_BUSINESS_FMT_PAGE_CONT, HID_BUSINESS_FMT_PAGE_SHEET, HID_BUSINESS_FMT_PAGE_TYPE, m_xContainer, m_xContButton, m_xMakeBox, m_xSheetButton, and m_xTypeBox.
|
private |
Definition at line 30 of file swuilabimp.hxx.
Referenced by DisplayFormat(), FillItemSet(), and Reset().
|
private |
Definition at line 28 of file swuilabimp.hxx.
Referenced by GetDBManager(), and SetDBManager().
|
private |
Definition at line 29 of file swuilabimp.hxx.
Referenced by FillItem(), and InitDatabaseBox().
|
private |
Definition at line 33 of file swuilabimp.hxx.
Referenced by FillItem(), Reset(), and SwLabPage().
|
private |
Definition at line 32 of file swuilabimp.hxx.
|
private |
Definition at line 39 of file swuilabimp.hxx.
Referenced by FillItem(), GetSelectedEntryPos(), Reset(), SetToBusinessCard(), and SwLabPage().
|
private |
Definition at line 35 of file swuilabimp.hxx.
Referenced by InitDatabaseBox(), Reset(), and SwLabPage().
|
private |
Definition at line 38 of file swuilabimp.hxx.
Referenced by InitDatabaseBox(), and SwLabPage().
|
private |
Definition at line 44 of file swuilabimp.hxx.
Referenced by DisplayFormat().
|
private |
Definition at line 43 of file swuilabimp.hxx.
Referenced by SwLabPage().
|
private |
Definition at line 37 of file swuilabimp.hxx.
Referenced by SwLabPage().
|
private |
Definition at line 41 of file swuilabimp.hxx.
Referenced by FillItem(), Reset(), SetToBusinessCard(), and SwLabPage().
|
private |
Definition at line 40 of file swuilabimp.hxx.
Referenced by Reset(), SetToBusinessCard(), and SwLabPage().
|
private |
Definition at line 36 of file swuilabimp.hxx.
Referenced by InitDatabaseBox(), and SwLabPage().
|
private |
Definition at line 42 of file swuilabimp.hxx.
Referenced by FillItem(), GetSelectedEntryPos(), Reset(), SetToBusinessCard(), and SwLabPage().
|
private |
Definition at line 34 of file swuilabimp.hxx.
Referenced by FillItem(), Reset(), and SwLabPage().