Line data Source code
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 :
24 : class SfxItemSet;
25 : class SwWrtShell;
26 :
27 : // the tab dialog carrier of TabPages
28 0 : class SwTemplateDlg: public SfxStyleDialog
29 : {
30 :
31 : sal_uInt16 nType;
32 : sal_uInt16 nHtmlMode;
33 : SwWrtShell* pWrtShell;
34 : bool bNewStyle;
35 :
36 : DECL_LINK( NumOptionsHdl, PushButton* );
37 :
38 : sal_uInt16 m_nIndentsId;
39 : sal_uInt16 m_nAlignId;
40 : sal_uInt16 m_nTextFlowId;
41 : sal_uInt16 m_nAsianTypo;
42 : sal_uInt16 m_nFontId;
43 : sal_uInt16 m_nFontEffectId;
44 : sal_uInt16 m_nPositionId;
45 : sal_uInt16 m_nAsianLayoutId;
46 : sal_uInt16 m_nTabId;
47 : sal_uInt16 m_nOutlineId;
48 : sal_uInt16 m_nDropCapsId;
49 : sal_uInt16 m_nBackgroundId;
50 : sal_uInt16 m_nAreaId;
51 : sal_uInt16 m_nTransparenceId;
52 : sal_uInt16 m_nBorderId;
53 : sal_uInt16 m_nConditionId;
54 : sal_uInt16 m_nTypeId;
55 : sal_uInt16 m_nOptionsId;
56 : sal_uInt16 m_nWrapId;
57 : sal_uInt16 m_nColumnId;
58 : sal_uInt16 m_nMacroId;
59 : sal_uInt16 m_nHeaderId;
60 : sal_uInt16 m_nFooterId;
61 : sal_uInt16 m_nPageId;
62 : sal_uInt16 m_nFootNoteId;
63 : sal_uInt16 m_nTextGridId;
64 : sal_uInt16 m_nSingleId;
65 : sal_uInt16 m_nBulletId;
66 : sal_uInt16 m_nNumId;
67 : sal_uInt16 m_nBmpId;
68 : sal_uInt16 m_nNumOptId;
69 : sal_uInt16 m_nNumPosId;
70 :
71 : public:
72 : /// @param sPage
73 : /// Identifies name of page to open at by default
74 : SwTemplateDlg( vcl::Window* pParent,
75 : SfxStyleSheetBase& rBase,
76 : sal_uInt16 nRegion,
77 : const OString& sPage = OString(),
78 : SwWrtShell* pActShell = 0,
79 : bool bNew = false );
80 :
81 : virtual void RefreshInputSet() SAL_OVERRIDE;
82 :
83 : virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) SAL_OVERRIDE;
84 : virtual short Ok() SAL_OVERRIDE;
85 : };
86 :
87 : #endif
88 :
89 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|