CWS-TOOLING: integrate CWS os150
[LibreOffice.git] / sd / source / ui / inc / BreakDlg.hxx
blob7a7ff35ac7219b7a406128047f8f683195cf86c0
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #ifndef SD_BREAK_DLG_HXX
29 #define SD_BREAK_DLG_HXX
31 #include <vcl/group.hxx>
32 #ifndef _SV_BUTTON_HXX //autogen
33 #include <vcl/button.hxx>
34 #endif
35 #include <svx/dlgctrl.hxx>
36 #include <vcl/field.hxx>
37 #include <vcl/fixed.hxx>
38 #include <svtools/prgsbar.hxx>
39 #include <vcl/edit.hxx>
40 #include <svtools/stdctrl.hxx>
41 #include <sfx2/basedlgs.hxx>
43 class SvdProgressInfo;
44 class SfxProgress;
46 namespace sd {
48 class DrawDocShell;
49 class DrawView;
51 /*************************************************************************
53 |* Dialog zum aufbrechen von Metafiles
55 \************************************************************************/
56 class BreakDlg
57 : public SfxModalDialog
59 public:
60 BreakDlg (
61 ::Window* pWindow,
62 DrawView* pDrView,
63 DrawDocShell* pShell,
64 sal_uLong nSumActionCount,
65 sal_uLong nObjCount);
66 virtual ~BreakDlg();
68 short Execute();
70 private:
71 FixedText aFtObjInfo;
72 FixedText aFtActInfo;
73 FixedText aFtInsInfo;
75 FixedInfo aFiObjInfo;
76 FixedInfo aFiActInfo;
77 FixedInfo aFiInsInfo;
79 CancelButton aBtnCancel;
80 DrawView* pDrView;
82 sal_Bool bCancel;
84 Timer aTimer;
85 SvdProgressInfo *pProgrInfo;
86 Link aLink;
87 SfxProgress *mpProgress;
89 DECL_LINK( CancelButtonHdl, void* );
90 DECL_LINK( UpDate, void* );
91 DECL_LINK( InitialUpdate, Timer* );
94 } // end of namespace sd
96 #endif