1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 _SWCHARDLG_HXX
20 #define _SWCHARDLG_HXX
21 #include <sfx2/tabdlg.hxx>
23 #include <vcl/group.hxx>
25 #include <vcl/fixed.hxx>
27 #include <vcl/edit.hxx>
29 #include <vcl/combobox.hxx>
31 #include <vcl/button.hxx>
33 #include <vcl/lstbox.hxx>
38 class SwCharDlg
: public SfxTabDialog
43 sal_uInt16 m_nCharStdId
;
44 sal_uInt16 m_nCharExtId
;
45 sal_uInt16 m_nCharPosId
;
46 sal_uInt16 m_nCharTwoId
;
47 sal_uInt16 m_nCharUrlId
;
48 sal_uInt16 m_nCharBgdId
;
51 SwCharDlg(Window
* pParent
, SwView
& pVw
, const SfxItemSet
& rCoreSet
,
52 const String
* pFmtStr
= 0, bool bIsDrwTxtDlg
= false);
56 virtual void PageCreated( sal_uInt16 nId
, SfxTabPage
&rPage
);
59 class SwCharURLPage
: public SfxTabPage
65 ComboBox
* m_pTargetFrmLB
;
67 PushButton
* m_pEventPB
;
68 ListBox
* m_pVisitedLB
;
69 ListBox
* m_pNotVisitedLB
;
71 VclContainer
* m_pCharStyleContainer
;
73 SvxMacroItem
* pINetItem
;
76 DECL_LINK(InsertFileHdl
, void *);
77 DECL_LINK(EventHdl
, void *);
80 SwCharURLPage( Window
* pParent
,
81 const SfxItemSet
& rSet
);
84 static SfxTabPage
* Create( Window
* pParent
,
85 const SfxItemSet
& rAttrSet
);
87 virtual sal_Bool
FillItemSet( SfxItemSet
& rSet
);
88 virtual void Reset( const SfxItemSet
& rSet
);
93 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */