Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / sw / source / uibase / inc / tmpdlg.hxx
blob8135e5a74669e6563685a94da8c1d574312398ed
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_TMPDLG_HXX
20 #define INCLUDED_SW_SOURCE_UIBASE_INC_TMPDLG_HXX
22 #include <sfx2/styledlg.hxx>
23 #include <svl/style.hxx>
25 class SfxItemSet;
26 class SwWrtShell;
28 // the tab dialog carrier of TabPages
29 class SwTemplateDlgController final : public SfxStyleDialogController
32 SfxStyleFamily m_nType;
33 sal_uInt16 m_nHtmlMode;
34 SwWrtShell* m_pWrtShell;
35 bool m_bNewStyle;
37 public:
38 /// @param sPage
39 /// Identifies name of page to open at by default
40 SwTemplateDlgController(weld::Window* pParent,
41 SfxStyleSheetBase& rBase,
42 SfxStyleFamily nRegion,
43 const OUString& sPage,
44 SwWrtShell* pActShell,
45 bool bNew);
47 virtual void RefreshInputSet() override;
49 virtual void PageCreated(const OUString& rId, SfxTabPage &rPage) override;
50 virtual short Ok() override;
53 #endif
55 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */