LibreOffice Module sw (master)
1
sw
source
uibase
inc
tmpdlg.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
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 .
18
*/
19
#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_TMPDLG_HXX
20
#define INCLUDED_SW_SOURCE_UIBASE_INC_TMPDLG_HXX
21
22
#include <
sfx2/styledlg.hxx
>
23
#include <
svl/style.hxx
>
24
25
class
SfxItemSet
;
26
class
SwWrtShell
;
27
28
// the tab dialog carrier of TabPages
29
class
SwTemplateDlgController
final :
public
SfxStyleDialogController
30
{
31
32
SfxStyleFamily
m_nType
;
33
sal_uInt16
m_nHtmlMode
;
34
SwWrtShell
*
m_pWrtShell
;
35
bool
m_bNewStyle
;
36
37
public
:
40
SwTemplateDlgController
(
weld::Window
* pParent,
41
SfxStyleSheetBase
& rBase,
42
SfxStyleFamily
nRegion,
43
const
OUString& sPage,
44
SwWrtShell
* pActShell,
45
bool
bNew);
46
47
virtual
void
RefreshInputSet
()
override
;
48
49
virtual
void
PageCreated
(
const
OUString& rId,
SfxTabPage
&rPage)
override
;
50
virtual
short
Ok
()
override
;
51
};
52
53
#endif
54
55
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SfxItemSet
SfxStyleDialogController
SfxStyleSheetBase
SfxTabPage
SwTemplateDlgController
Definition:
tmpdlg.hxx:30
SwTemplateDlgController::m_nHtmlMode
sal_uInt16 m_nHtmlMode
Definition:
tmpdlg.hxx:33
SwTemplateDlgController::SwTemplateDlgController
SwTemplateDlgController(weld::Window *pParent, SfxStyleSheetBase &rBase, SfxStyleFamily nRegion, const OUString &sPage, SwWrtShell *pActShell, bool bNew)
Definition:
tmpdlg.cxx:63
SwTemplateDlgController::m_pWrtShell
SwWrtShell * m_pWrtShell
Definition:
tmpdlg.hxx:34
SwTemplateDlgController::PageCreated
virtual void PageCreated(const OUString &rId, SfxTabPage &rPage) override
Definition:
tmpdlg.cxx:270
SwTemplateDlgController::m_nType
SfxStyleFamily m_nType
Definition:
tmpdlg.hxx:32
SwTemplateDlgController::RefreshInputSet
virtual void RefreshInputSet() override
Definition:
tmpdlg.cxx:263
SwTemplateDlgController::Ok
virtual short Ok() override
Definition:
tmpdlg.cxx:235
SwTemplateDlgController::m_bNewStyle
bool m_bNewStyle
Definition:
tmpdlg.hxx:35
SwWrtShell
Used by the UI to modify the document model.
Definition:
wrtsh.hxx:97
weld::Window
style.hxx
SfxStyleFamily
SfxStyleFamily
styledlg.hxx
Generated on Sun Jul 30 2023 04:29:57 for LibreOffice Module sw (master) by
1.9.3