bump product version to 4.1.6.2
[LibreOffice.git] / sw / source / ui / inc / chrdlg.hxx
blob4eea02d53a2542ff93a6d67ea5b9665914a9ad52
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 _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>
35 class SwView;
36 class SvxMacroItem;
38 class SwCharDlg: public SfxTabDialog
40 SwView& rView;
41 bool bIsDrwTxtMode;
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;
50 public:
51 SwCharDlg(Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet,
52 const String* pFmtStr = 0, bool bIsDrwTxtDlg = false);
54 ~SwCharDlg();
56 virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage );
59 class SwCharURLPage : public SfxTabPage
61 Edit* m_pURLED;
62 FixedText* m_pTextFT;
63 Edit* m_pTextED;
64 Edit* m_pNameED;
65 ComboBox* m_pTargetFrmLB;
66 PushButton* m_pURLPB;
67 PushButton* m_pEventPB;
68 ListBox* m_pVisitedLB;
69 ListBox* m_pNotVisitedLB;
71 VclContainer* m_pCharStyleContainer;
73 SvxMacroItem* pINetItem;
74 sal_Bool bModified;
76 DECL_LINK(InsertFileHdl, void *);
77 DECL_LINK(EventHdl, void *);
79 public:
80 SwCharURLPage( Window* pParent,
81 const SfxItemSet& rSet );
83 ~SwCharURLPage();
84 static SfxTabPage* Create( Window* pParent,
85 const SfxItemSet& rAttrSet);
87 virtual sal_Bool FillItemSet( SfxItemSet& rSet );
88 virtual void Reset( const SfxItemSet& rSet );
91 #endif
93 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */