1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: reffact.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef SC_REFFACT_HXX
32 #define SC_REFFACT_HXX
34 #include <sfx2/childwin.hxx>
38 #define DECL_WRAPPER(Class) \
39 class Class : public SfxChildWindow \
42 Class( Window*, USHORT, SfxBindings*, SfxChildWinInfo* ); \
43 SFX_DECL_CHILDWINDOW(Class); \
47 //==================================================================
49 DECL_WRAPPER(ScNameDlgWrapper
)
50 DECL_WRAPPER(ScSolverDlgWrapper
)
51 DECL_WRAPPER(ScOptSolverDlgWrapper
)
52 DECL_WRAPPER(ScPivotLayoutWrapper
)
53 DECL_WRAPPER(ScTabOpDlgWrapper
)
54 DECL_WRAPPER(ScFilterDlgWrapper
)
55 DECL_WRAPPER(ScSpecialFilterDlgWrapper
)
56 DECL_WRAPPER(ScDbNameDlgWrapper
)
57 DECL_WRAPPER(ScConsolidateDlgWrapper
)
58 DECL_WRAPPER(ScPrintAreasDlgWrapper
)
59 DECL_WRAPPER(ScCondFormatDlgWrapper
)
60 DECL_WRAPPER(ScColRowNameRangesDlgWrapper
)
61 DECL_WRAPPER(ScFormulaDlgWrapper
)
62 DECL_WRAPPER(ScHighlightChgDlgWrapper
)
64 /*!!! dafuer muss der Funktionsautopilot noch umgebaut werden
65 DECL_WRAPPER(ScFunctionDlgWrapper)
66 DECL_WRAPPER(ScEditFunctionDlgWrapper)
67 DECL_WRAPPER(ScArgumentDlgWrapper)
70 class ScAcceptChgDlgWrapper
: public SfxChildWindow
73 ScAcceptChgDlgWrapper( Window
*,
78 SFX_DECL_CHILDWINDOW(Class
);
80 virtual void ReInitDlg();
83 class ScSimpleRefDlgWrapper
: public SfxChildWindow
86 ScSimpleRefDlgWrapper( Window
*,
91 SFX_DECL_CHILDWINDOW(Class
);
93 static void SetDefaultPosSize(Point aPos
, Size aSize
, BOOL bSet
=TRUE
);
94 virtual String
GetRefString();
95 virtual void SetRefString(const String
& rStr
);
96 void SetCloseHdl( const Link
& rLink
);
97 void SetUnoLinks( const Link
& rDone
, const Link
& rAbort
,
98 const Link
& rChange
);
99 void SetFlags( BOOL bCloseOnButtonUp
, BOOL bSingleCell
, BOOL bMultiSelection
);
100 static void SetAutoReOpen(BOOL bFlag
);
102 void StartRefInput();
106 //==================================================================
109 #endif // SC_REFFACT_HXX