LibreOffice Module sw (master) 1
|
#include <label.hxx>
Public Member Functions | |
SwLabDlg (weld::Window *pParent, const SfxItemSet &rSet, SwDBManager *pDBManager, bool bLabel) | |
virtual | ~SwLabDlg () override |
SwLabRec * | GetRecord (std::u16string_view rRecName, bool bCont) |
void | GetLabItem (SwLabItem &rItem) |
SwLabRecs & | Recs () |
const SwLabRecs & | Recs () const |
std::vector< sal_uInt16 > & | TypeIds () |
const std::vector< sal_uInt16 > & | TypeIds () const |
std::vector< OUString > & | Makes () |
const std::vector< OUString > & | Makes () const |
Printer * | GetPrt () |
void | ReplaceGroup (const OUString &rMake) |
void | UpdateGroup (const OUString &rMake) |
const OUString & | GetBusinessCardStr () const |
SwLabelConfig & | GetLabelsConfig () |
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 |
SfxTabPage * | GetCurTabPage () const |
const WhichRangesContainer & | GetInputRanges (const SfxItemPool &) |
void | SetInputSet (const SfxItemSet *pInSet) |
const SfxItemSet * | GetOutputItemSet () const |
virtual weld::Button & | GetOKButton () const override |
weld::Button & | GetCancelButton () const |
weld::Button * | GetUserButton () const |
weld::Button * | GetStandardButton () const |
weld::Button * | GetApplyButton () const |
weld::Button * | GetResetButton () const |
void | RemoveResetButton () |
void | RemoveStandardButton () |
virtual short | run () override |
virtual const SfxItemSet * | GetExampleSet () 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::Button & | GetOKButton () const=0 |
virtual const SfxItemSet * | GetExampleSet () 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 |
SwDBManager * | m_pDBManager |
SwLabPrtPage * | m_pPrtPage |
std::vector< sal_uInt16 > | m_aTypeIds |
std::vector< OUString > | m_aMakes |
std::unique_ptr< SwLabRecs > | m_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 SfxItemSet * | CreateInputItemSet (const OUString &rName) |
virtual void | PageCreated (const OUString &rName, SfxTabPage &rPage) |
virtual void | ActivatePage (const OUString &rPage) |
bool | DeactivatePage (std::u16string_view aPage) |
SfxItemSet * | GetInputSetImpl () |
SfxTabPage * | GetTabPage (std::u16string_view rPageId) const |
bool | PrepareLeaveCurrentPage () |
void | SavePosAndId () |
Protected Attributes inherited from SfxTabDialogController | |
std::unique_ptr< weld::Notebook > | m_xTabCtrl |
std::unique_ptr< SfxItemSet > | m_xExampleSet |
SwLabDlg::SwLabDlg | ( | weld::Window * | pParent, |
const SfxItemSet & | rSet, | ||
SwDBManager * | pDBManager, | ||
bool | bLabel | ||
) |
Definition at line 88 of file label1.cxx.
References SfxTabDialogController::AddTabPage(), SwLabFormatPage::Create(), SwLabPrtPage::Create(), SwLabPage::Create(), SwPrivateDataPage::Create(), SwBusinessDataPage::Create(), SfxItemSet::Get(), SwLabelConfig::GetManufacturers(), i, m_aLabelsCfg, SwLabItem::m_aLstMake, m_aMakes, m_bLabel, m_pRecs, m_sBusinessCardDlg, m_xDialog, SfxTabDialogController::m_xExampleSet, SfxTabDialogController::RemoveTabPage(), ReplaceGroup_(), rSet, and SwResId().
|
overridevirtual |
Definition at line 153 of file label1.cxx.
References m_pRecs.
|
inline |
Definition at line 76 of file label.hxx.
References m_sBusinessCardDlg.
|
inline |
Definition at line 78 of file label.hxx.
References m_aLabelsCfg.
Referenced by SwSaveLabelDlg::SwSaveLabelDlg().
void SwLabDlg::GetLabItem | ( | SwLabItem & | rItem | ) |
Definition at line 158 of file label1.cxx.
References SwLabRec::FillItem(), SfxItemSet::Get(), SfxTabDialogController::GetExampleSet(), SfxTabDialogController::GetInputSetImpl(), GetRecord(), SwLabItem::m_aType, and SwLabItem::m_bCont.
Referenced by SwLabPrtPage::FillItemSet(), SwLabFormatPage::Reset(), and SwLabPrtPage::Reset().
Printer * SwLabDlg::GetPrt | ( | ) |
Definition at line 202 of file label1.cxx.
References SwLabPrtPage::GetPrt(), and m_pPrtPage.
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().
|
inline |
|
inline |
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 75 of file label1.cxx.
References m_bLabel, m_pDBManager, and m_pPrtPage.
|
inline |
Definition at line 57 of file label.hxx.
References m_pRecs.
Referenced by SwLabFormatPage::FillItem(), and GetRecord().
|
inline |
|
inline |
Definition at line 67 of file label.hxx.
References m_aLstGroup, and ReplaceGroup_().
|
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().
|
inline |
Definition at line 60 of file label.hxx.
References m_aTypeIds.
|
inline |
Definition at line 61 of file label.hxx.
References m_aTypeIds.
|
static |
Definition at line 32 of file labelexp.cxx.
References sw::sidebar::aArr, SwLabItem::m_aCompCity, SwLabItem::m_aCompCompany, SwLabItem::m_aCompCompanyExt, SwLabItem::m_aCompCountry, SwLabItem::m_aCompFax, SwLabItem::m_aCompMail, SwLabItem::m_aCompMobile, SwLabItem::m_aCompPhone, SwLabItem::m_aCompPosition, SwLabItem::m_aCompSlogan, SwLabItem::m_aCompState, SwLabItem::m_aCompStreet, SwLabItem::m_aCompWWW, SwLabItem::m_aCompZip, SwLabItem::m_aPrivCity, SwLabItem::m_aPrivCountry, SwLabItem::m_aPrivFax, SwLabItem::m_aPrivFirstName, SwLabItem::m_aPrivFirstName2, SwLabItem::m_aPrivMail, SwLabItem::m_aPrivMobile, SwLabItem::m_aPrivName, SwLabItem::m_aPrivName2, SwLabItem::m_aPrivPhone, SwLabItem::m_aPrivProfession, SwLabItem::m_aPrivShortCut, SwLabItem::m_aPrivShortCut2, SwLabItem::m_aPrivState, SwLabItem::m_aPrivStreet, SwLabItem::m_aPrivTitle, SwLabItem::m_aPrivWWW, SwLabItem::m_aPrivZip, p, pName, UNO_NAME_CONTENT, and xModel.
Referenced by SwAbstractDialogFactory_Impl::GetSwLabDlgStaticMethod().
|
inline |
Definition at line 73 of file label.hxx.
References ReplaceGroup_().
Referenced by SwLabPage::Reset().
|
private |
Definition at line 34 of file label.hxx.
Referenced by GetLabelsConfig(), ReplaceGroup_(), and SwLabDlg().
|
private |
Definition at line 42 of file label.hxx.
Referenced by ReplaceGroup(), and ReplaceGroup_().
|
private |
Definition at line 39 of file label.hxx.
Referenced by Makes(), and SwLabDlg().
|
private |
|
private |
Definition at line 44 of file label.hxx.
Referenced by PageCreated(), and SwLabDlg().
|
private |
Definition at line 35 of file label.hxx.
Referenced by PageCreated().
|
private |
Definition at line 36 of file label.hxx.
Referenced by GetPrt(), and PageCreated().
|
private |
Definition at line 41 of file label.hxx.
Referenced by Recs(), ReplaceGroup_(), SwLabDlg(), and ~SwLabDlg().
|
private |
Definition at line 43 of file label.hxx.
Referenced by GetBusinessCardStr(), and SwLabDlg().