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 .
20 #ifndef INCLUDED_SC_SOURCE_UI_INC_HIGHRED_HXX
21 #define INCLUDED_SC_SOURCE_UI_INC_HIGHRED_HXX
23 #include <vcl/morebtn.hxx>
24 #include <vcl/combobox.hxx>
25 #include <vcl/group.hxx>
26 #include <svtools/headbar.hxx>
27 #include <svtools/simptabl.hxx>
28 #include <svtools/svtabbx.hxx>
30 #include "rangenam.hxx"
31 #include "anyrefdg.hxx"
33 #include <vcl/lstbox.hxx>
35 #include <svx/ctredlin.hxx>
36 #include "chgtrack.hxx"
37 #include "chgviset.hxx"
42 #ifndef FLT_DATE_BEFORE
43 #define FLT_DATE_BEFORE 0
44 #define FLT_DATE_SINCE 1
45 #define FLT_DATE_EQUAL 2
46 #define FLT_DATE_NOTEQUAL 3
47 #define FLT_DATE_BETWEEN 4
48 #define FLT_DATE_SAVE 5
51 class ScHighlightChgDlg
: public ScAnyRefDlg
54 VclPtr
<CheckBox
> m_pHighlightBox
;
55 VclPtr
<SvxTPFilter
> m_pFilterCtr
;
56 VclPtr
<CheckBox
> m_pCbAccept
;
57 VclPtr
<CheckBox
> m_pCbReject
;
58 VclPtr
<OKButton
> m_pOkButton
;
60 VclPtr
<formula::RefEdit
> m_pEdAssign
;
61 VclPtr
<formula::RefButton
> m_pRbAssign
;
63 ScViewData
* pViewData
;
65 ScRangeName aLocalRangeName
;
66 ScRangeList aRangeList
;
67 ScChangeViewSettings aChangeViewSet
;
71 DECL_LINK( RefHandle
, SvxTPFilter
* );
72 DECL_LINK(HighlightHandle
, CheckBox
*);
73 DECL_LINK(OKBtnHdl
, PushButton
*);
77 virtual void RefInputDone( bool bForced
= false ) SAL_OVERRIDE
;
80 ScHighlightChgDlg( SfxBindings
* pB
, SfxChildWindow
* pCW
, vcl::Window
* pParent
,
81 ScViewData
* ptrViewData
);
83 virtual ~ScHighlightChgDlg();
84 virtual void dispose() SAL_OVERRIDE
;
86 virtual void SetActive() SAL_OVERRIDE
;
87 virtual void SetReference( const ScRange
& rRef
, ScDocument
* pDoc
) SAL_OVERRIDE
;
88 virtual bool Close() SAL_OVERRIDE
;
89 virtual bool IsRefInputMode() const SAL_OVERRIDE
;
93 #endif // INCLUDED_SC_SOURCE_UI_INC_HIGHRED_HXX
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */