/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef INCLUDED_SFX2_INC_SAVEASTEMPLATEDLG_HXX #define INCLUDED_SFX2_INC_SAVEASTEMPLATEDLG_HXX #include #include #include #include #include class Edit; class ListBox; class CheckBox; // class SfxSaveAsTemplateDialog ------------------------------------------------------------------- class SFX2_DLLPUBLIC SfxSaveAsTemplateDialog : public ModalDialog { private: VclPtr mpLBCategory; VclPtr mpCBXDefault; VclPtr mpTemplateNameEdit; VclPtr mpOKButton; OUString msSelectedCategory; OUString msTemplateName; sal_uInt16 mnRegionPos; std::vector msCategories; SfxDocumentTemplates maDocTemplates; css::uno::Reference< css::frame::XModel > m_xModel; public: DECL_LINK(OkClickHdl, Button*, void); DECL_LINK(TemplateNameEditHdl, Edit&, void); DECL_LINK(SelectCategoryHdl, ListBox&, void); void setDocumentModel (const css::uno::Reference &rModel); void initialize(); void SetCategoryLBEntries(std::vector names); /*Check whether template name is unique or not in a region*/ bool IsTemplateNameUnique(); bool SaveTemplate(); public: explicit SfxSaveAsTemplateDialog(); virtual ~SfxSaveAsTemplateDialog() override; virtual void dispose() override; }; #endif // INCLUDED_SFX2_INC_SAVEASTEMPLATEDLG_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ n> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2012-01-06Removed unnecessary tools/debug.hxx includes.Marcel Metz
2011-11-27remove include of pch header from xmloffNorbert Thiebaud
2011-03-29drop bogus executable flag from [ch]xx/bas/asm filesFrancisco Saito
2011-03-18Merge remote-tracking branch 'origin/integration/dev300_m101'Jan Holesovsky
2011-03-12Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Thorsten Behrens
2011-03-08Remove commented out codeBálint Dózsa
2011-01-01cppcheck: prefer prefix variantCaolán McNamara
2010-10-13Add vim/emacs modelines to all source filesSebastian Spaeth
2010-10-05remove include guards using fixguard.pyPetr Mladek
2010-04-17CWS gnumake2: rebase to DEV300_m76; fix build problemsMathias Bauer
2010-04-16CWS gnumake2: move delivered header files from xmloff/inc to xmloff/inc/xmlof...Mathias Bauer
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun Mi...Jens-Heiner Rechtien
2008-04-10INTEGRATION: CWS changefileheader (1.10.162); FILE MERGEDRüdiger Timm
2007-06-27INTEGRATION: CWS vgbugs07 (1.9.124); FILE MERGEDJens-Heiner Rechtien
2006-09-17INTEGRATION: CWS pchfix02 (1.8.34); FILE MERGEDOliver Bolte
2006-06-19INTEGRATION: CWS warnings01 (1.7.32); FILE MERGEDJens-Heiner Rechtien
2005-09-09INTEGRATION: CWS ooo19126 (1.6.608); FILE MERGEDRüdiger Timm
2002-11-19#99838# catch IllegalArgumentException in XMLEventsImportContext::AddEventValuesHenning Brinkmann
2001-08-02#90509#Daniel Vogelheim
2001-06-29#86004# changes sXML_* strings to XML_* tokensDaniel Vogelheim