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

#include <label.hxx>

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

Public Member Functions

 SwLabDlg (weld::Window *pParent, const SfxItemSet &rSet, SwDBManager *pDBManager, bool bLabel)
 
virtual ~SwLabDlg () override
 
SwLabRecGetRecord (std::u16string_view rRecName, bool bCont)
 
void GetLabItem (SwLabItem &rItem)
 
SwLabRecsRecs ()
 
const SwLabRecsRecs () const
 
std::vector< sal_uInt16 > & TypeIds ()
 
const std::vector< sal_uInt16 > & TypeIds () const
 
std::vector< OUString > & Makes ()
 
const std::vector< OUString > & Makes () const
 
PrinterGetPrt ()
 
void ReplaceGroup (const OUString &rMake)
 
void UpdateGroup (const OUString &rMake)
 
const OUString & GetBusinessCardStr () const
 
SwLabelConfigGetLabelsConfig ()
 
- Public Member Functions inherited from SfxTabDialogController
 SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false)
 
virtual ~SfxTabDialogController () override
 
void AddTabPage (const OUString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc)
 
void AddTabPage (const OUString &rName, sal_uInt16 nPageCreateId)
 
void AddTabPage (const OUString &rName, const OUString &rLabel, CreateTabPage pCreateFunc)
 
void AddTabPage (const OUString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId)
 
void RemoveTabPage (const OUString &rName)
 
void SetCurPageId (const OUString &rName)
 
void ShowPage (const OUString &rName)
 
OUString GetCurPageId () const
 
SfxTabPageGetCurTabPage () const
 
const WhichRangesContainerGetInputRanges (const SfxItemPool &)
 
void SetInputSet (const SfxItemSet *pInSet)
 
const SfxItemSetGetOutputItemSet () const
 
virtual weld::ButtonGetOKButton () const override
 
weld::ButtonGetCancelButton () const
 
weld::ButtonGetUserButton () const
 
weld::ButtonGetStandardButton () const
 
weld::ButtonGetApplyButton () const
 
weld::ButtonGetResetButton () const
 
void RemoveResetButton ()
 
void RemoveStandardButton ()
 
virtual short run () override
 
virtual const SfxItemSetGetExampleSet () const override
 
void SetApplyHandler (const Link< weld::Button &, void > &_rHdl)
 
bool Apply ()
 
void Applied ()
 
std::vector< OUString > getAllPageUIXMLDescriptions () const
 
bool selectPageByUIXMLDescription (const OUString &rUIXMLDescription)
 
BitmapEx createScreenshot () const
 
OUString GetScreenshotId () const
 
- Public Member Functions inherited from SfxOkDialogController
 SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 
virtual weld::ButtonGetOKButton () const=0
 
virtual const SfxItemSetGetExampleSet () const=0
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 

Static Public Member Functions

static void UpdateFieldInformation (css::uno::Reference< css::frame::XModel > const &xModel, const SwLabItem &rItem)
 
- Static Public Member Functions inherited from SfxTabDialogController
static bool runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &)
 

Private Member Functions

void ReplaceGroup_ (const OUString &rMake)
 
virtual void PageCreated (const OUString &rId, SfxTabPage &rPage) override
 

Private Attributes

SwLabelConfig m_aLabelsCfg
 
SwDBManagerm_pDBManager
 
SwLabPrtPagem_pPrtPage
 
std::vector< sal_uInt16 > m_aTypeIds
 
std::vector< OUString > m_aMakes
 
std::unique_ptr< SwLabRecsm_pRecs
 
OUString m_aLstGroup
 
OUString m_sBusinessCardDlg
 
bool m_bLabel
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabDialogController
 DECL_LINK (OkHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (ResetHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (BaseFmtHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (UserHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void)
 
virtual short Ok ()
 
virtual void RefreshInputSet ()
 
virtual SfxItemSetCreateInputItemSet (const OUString &rName)
 
virtual void PageCreated (const OUString &rName, SfxTabPage &rPage)
 
virtual void ActivatePage (const OUString &rPage)
 
bool DeactivatePage (std::u16string_view aPage)
 
SfxItemSetGetInputSetImpl ()
 
SfxTabPageGetTabPage (std::u16string_view rPageId) const
 
bool PrepareLeaveCurrentPage ()
 
void SavePosAndId ()
 
- Protected Attributes inherited from SfxTabDialogController
std::unique_ptr< weld::Notebookm_xTabCtrl
 
std::unique_ptr< SfxItemSetm_xExampleSet
 

Detailed Description

Definition at line 32 of file label.hxx.

Constructor & Destructor Documentation

◆ SwLabDlg()

SwLabDlg::SwLabDlg ( weld::Window pParent,
const SfxItemSet rSet,
SwDBManager pDBManager,
bool  bLabel 
)

◆ ~SwLabDlg()

SwLabDlg::~SwLabDlg ( )
overridevirtual

Definition at line 153 of file label1.cxx.

References m_pRecs.

Member Function Documentation

◆ GetBusinessCardStr()

const OUString & SwLabDlg::GetBusinessCardStr ( ) const
inline

Definition at line 76 of file label.hxx.

References m_sBusinessCardDlg.

◆ GetLabelsConfig()

SwLabelConfig & SwLabDlg::GetLabelsConfig ( )
inline

Definition at line 78 of file label.hxx.

References m_aLabelsCfg.

Referenced by SwSaveLabelDlg::SwSaveLabelDlg().

◆ GetLabItem()

void SwLabDlg::GetLabItem ( SwLabItem rItem)

◆ GetPrt()

Printer * SwLabDlg::GetPrt ( )

Definition at line 202 of file label1.cxx.

References SwLabPrtPage::GetPrt(), and m_pPrtPage.

◆ GetRecord()

SwLabRec * SwLabDlg::GetRecord ( std::u16string_view  rRecName,
bool  bCont 
)

Definition at line 179 of file label1.cxx.

References i, SwLabRec::m_aType, SwLabRec::m_bCont, nCount, Recs(), and SwResId().

Referenced by GetLabItem(), and SwLabPage::GetSelectedEntryPos().

◆ Makes() [1/2]

std::vector< OUString > & SwLabDlg::Makes ( )
inline

Definition at line 63 of file label.hxx.

References m_aMakes.

Referenced by SwLabPage::Reset().

◆ Makes() [2/2]

const std::vector< OUString > & SwLabDlg::Makes ( ) const
inline

Definition at line 64 of file label.hxx.

References m_aMakes.

◆ PageCreated()

void SwLabDlg::PageCreated ( const OUString &  rId,
SfxTabPage rPage 
)
overrideprivatevirtual

Reimplemented from SfxTabDialogController.

Definition at line 75 of file label1.cxx.

References m_bLabel, m_pDBManager, and m_pPrtPage.

◆ Recs() [1/2]

SwLabRecs & SwLabDlg::Recs ( )
inline

Definition at line 57 of file label.hxx.

References m_pRecs.

Referenced by SwLabFormatPage::FillItem(), and GetRecord().

◆ Recs() [2/2]

const SwLabRecs & SwLabDlg::Recs ( ) const
inline

Definition at line 58 of file label.hxx.

References m_pRecs.

◆ ReplaceGroup()

void SwLabDlg::ReplaceGroup ( const OUString &  rMake)
inline

Definition at line 67 of file label.hxx.

References m_aLstGroup, and ReplaceGroup_().

◆ ReplaceGroup_()

void SwLabDlg::ReplaceGroup_ ( const OUString &  rMake)
private

Definition at line 67 of file label1.cxx.

References SwLabelConfig::FillLabels(), m_aLabelsCfg, m_aLstGroup, and m_pRecs.

Referenced by ReplaceGroup(), SwLabDlg(), and UpdateGroup().

◆ TypeIds() [1/2]

std::vector< sal_uInt16 > & SwLabDlg::TypeIds ( )
inline

Definition at line 60 of file label.hxx.

References m_aTypeIds.

◆ TypeIds() [2/2]

const std::vector< sal_uInt16 > & SwLabDlg::TypeIds ( ) const
inline

Definition at line 61 of file label.hxx.

References m_aTypeIds.

◆ UpdateFieldInformation()

void SwLabDlg::UpdateFieldInformation ( css::uno::Reference< css::frame::XModel > const &  xModel,
const SwLabItem rItem 
)
static

◆ UpdateGroup()

void SwLabDlg::UpdateGroup ( const OUString &  rMake)
inline

Definition at line 73 of file label.hxx.

References ReplaceGroup_().

Referenced by SwLabPage::Reset().

Member Data Documentation

◆ m_aLabelsCfg

SwLabelConfig SwLabDlg::m_aLabelsCfg
private

Definition at line 34 of file label.hxx.

Referenced by GetLabelsConfig(), ReplaceGroup_(), and SwLabDlg().

◆ m_aLstGroup

OUString SwLabDlg::m_aLstGroup
private

Definition at line 42 of file label.hxx.

Referenced by ReplaceGroup(), and ReplaceGroup_().

◆ m_aMakes

std::vector<OUString> SwLabDlg::m_aMakes
private

Definition at line 39 of file label.hxx.

Referenced by Makes(), and SwLabDlg().

◆ m_aTypeIds

std::vector<sal_uInt16> SwLabDlg::m_aTypeIds
private

Definition at line 38 of file label.hxx.

Referenced by TypeIds().

◆ m_bLabel

bool SwLabDlg::m_bLabel
private

Definition at line 44 of file label.hxx.

Referenced by PageCreated(), and SwLabDlg().

◆ m_pDBManager

SwDBManager* SwLabDlg::m_pDBManager
private

Definition at line 35 of file label.hxx.

Referenced by PageCreated().

◆ m_pPrtPage

SwLabPrtPage* SwLabDlg::m_pPrtPage
private

Definition at line 36 of file label.hxx.

Referenced by GetPrt(), and PageCreated().

◆ m_pRecs

std::unique_ptr<SwLabRecs> SwLabDlg::m_pRecs
private

Definition at line 41 of file label.hxx.

Referenced by Recs(), ReplaceGroup_(), SwLabDlg(), and ~SwLabDlg().

◆ m_sBusinessCardDlg

OUString SwLabDlg::m_sBusinessCardDlg
private

Definition at line 43 of file label.hxx.

Referenced by GetBusinessCardStr(), and SwLabDlg().


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