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

#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 (const OUString &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::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false)
 
virtual ~SfxTabDialogController () override
 
void AddTabPage (const OString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc)
 
void AddTabPage (const OString &rName, sal_uInt16 nPageCreateId)
 
void AddTabPage (const OString &rName, const OUString &rLabel, CreateTabPage pCreateFunc)
 
void AddTabPage (const OString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId)
 
void RemoveTabPage (const OString &rName)
 
void SetCurPageId (const OString &rName)
 
void ShowPage (const OString &rName)
 
OString GetCurPageId () const
 
SfxTabPageGetCurTabPage () const
 
const sal_uInt16 * GetInputRanges (const SfxItemPool &)
 
void SetInputSet (const SfxItemSet *pInSet)
 
const SfxItemSetGetOutputItemSet () const
 
virtual weld::ButtonGetOKButton () const override
 
weld::ButtonGetCancelButton () const
 
weld::ButtonGetUserButton () 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< OString > getAllPageUIXMLDescriptions () const
 
bool selectPageByUIXMLDescription (const OString &rUIXMLDescription)
 
BitmapEx createScreenshot () const
 
OString GetScreenshotId () const
 
- Public Member Functions inherited from SfxOkDialogController
 SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog ()
 

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 OString &rId, SfxTabPage &rPage) override
 

Private Attributes

SwLabelConfig aLabelsCfg
 
SwDBManager *const pDBManager
 
SwLabPrtPagem_pPrtPage
 
std::vector< sal_uInt16 > aTypeIds
 
std::vector< OUString > aMakes
 
std::unique_ptr< SwLabRecsm_pRecs
 
OUString aLstGroup
 
OUString m_sBusinessCardDlg
 
bool const m_bLabel
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabDialogController
 DECL_LINK (OkHdl, weld::Button &, void)
 
 DECL_LINK (ResetHdl, weld::Button &, void)
 
 DECL_LINK (BaseFmtHdl, weld::Button &, void)
 
 DECL_LINK (UserHdl, weld::Button &, void)
 
 DECL_LINK (CancelHdl, weld::Button &, void)
 
virtual short Ok ()
 
virtual void RefreshInputSet ()
 
virtual SfxItemSetCreateInputItemSet (const OString &rName)
 
SfxItemSetGetInputSetImpl ()
 
SfxTabPageGetTabPage (const OString &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 ( weld::Window pParent,
const SfxItemSet rSet,
SwDBManager pDBManager,
bool  bLabel 
)
SwLabDlg::~SwLabDlg ( )
overridevirtual

Definition at line 165 of file label1.cxx.

References m_pRecs.

Member Function Documentation

const OUString& SwLabDlg::GetBusinessCardStr ( ) const
inline

Definition at line 76 of file label.hxx.

References m_sBusinessCardDlg.

SwLabelConfig& SwLabDlg::GetLabelsConfig ( )
inline

Definition at line 78 of file label.hxx.

References aLabelsCfg.

Referenced by SwSaveLabelDlg::SwSaveLabelDlg().

void SwLabDlg::GetLabItem ( SwLabItem rItem)
Printer * SwLabDlg::GetPrt ( )

Definition at line 214 of file label1.cxx.

References SwLabPrtPage::GetPrt(), and m_pPrtPage.

SwLabRec * SwLabDlg::GetRecord ( const OUString &  rRecName,
bool  bCont 
)

Definition at line 191 of file label1.cxx.

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

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

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

Definition at line 63 of file label.hxx.

References aMakes.

Referenced by SwLabPage::Reset().

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

Definition at line 64 of file label.hxx.

References aMakes.

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

Reimplemented from SfxTabDialogController.

Definition at line 79 of file label1.cxx.

References m_bLabel, m_pPrtPage, and pDBManager.

SwLabRecs& SwLabDlg::Recs ( )
inline

Definition at line 57 of file label.hxx.

References m_pRecs.

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

const SwLabRecs& SwLabDlg::Recs ( ) const
inline

Definition at line 58 of file label.hxx.

References m_pRecs.

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

Definition at line 67 of file label.hxx.

References ReplaceGroup_().

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

Definition at line 71 of file label1.cxx.

References aLabelsCfg, aLstGroup, SwLabelConfig::FillLabels(), and m_pRecs.

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

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

Definition at line 60 of file label.hxx.

References aTypeIds.

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

Definition at line 61 of file label.hxx.

References aTypeIds.

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

Definition at line 73 of file label.hxx.

References ReplaceGroup_().

Referenced by SwLabPage::Reset().

Member Data Documentation

SwLabelConfig SwLabDlg::aLabelsCfg
private

Definition at line 34 of file label.hxx.

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

OUString SwLabDlg::aLstGroup
private

Definition at line 42 of file label.hxx.

Referenced by ReplaceGroup_().

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

Definition at line 39 of file label.hxx.

Referenced by Makes(), and SwLabDlg().

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

Definition at line 38 of file label.hxx.

Referenced by TypeIds().

bool const SwLabDlg::m_bLabel
private

Definition at line 44 of file label.hxx.

Referenced by PageCreated(), and SwLabDlg().

SwLabPrtPage* SwLabDlg::m_pPrtPage
private

Definition at line 36 of file label.hxx.

Referenced by GetPrt(), and PageCreated().

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

Definition at line 41 of file label.hxx.

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

OUString SwLabDlg::m_sBusinessCardDlg
private

Definition at line 43 of file label.hxx.

Referenced by GetBusinessCardStr(), and SwLabDlg().

SwDBManager* const SwLabDlg::pDBManager
private

Definition at line 35 of file label.hxx.

Referenced by PageCreated().


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