Update ooo320-m1
[ooovba.git] / sd / source / ui / inc / BreakDlg.hxx
blob6c860596f1b6e0926e6c50a606d9d87fc2398439
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: BreakDlg.hxx,v $
10 * $Revision: 1.4 $
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 SD_BREAK_DLG_HXX
32 #define SD_BREAK_DLG_HXX
34 #include <vcl/group.hxx>
35 #ifndef _SV_BUTTON_HXX //autogen
36 #include <vcl/button.hxx>
37 #endif
38 #include <svx/dlgctrl.hxx>
39 #include <vcl/field.hxx>
40 #include <vcl/fixed.hxx>
41 #include <svtools/prgsbar.hxx>
42 #include <vcl/edit.hxx>
43 #include <svtools/stdctrl.hxx>
44 #include <sfx2/basedlgs.hxx>
46 class SvdProgressInfo;
47 class SfxProgress;
49 namespace sd {
51 class DrawDocShell;
52 class DrawView;
54 /*************************************************************************
56 |* Dialog zum aufbrechen von Metafiles
58 \************************************************************************/
59 class BreakDlg
60 : public SfxModalDialog
62 public:
63 BreakDlg (
64 ::Window* pWindow,
65 DrawView* pDrView,
66 DrawDocShell* pShell,
67 ULONG nSumActionCount,
68 ULONG nObjCount);
69 virtual ~BreakDlg();
71 short Execute();
73 private:
74 FixedText aFtObjInfo;
75 FixedText aFtActInfo;
76 FixedText aFtInsInfo;
78 FixedInfo aFiObjInfo;
79 FixedInfo aFiActInfo;
80 FixedInfo aFiInsInfo;
82 CancelButton aBtnCancel;
83 DrawView* pDrView;
85 BOOL bCancel;
87 Timer aTimer;
88 SvdProgressInfo *pProgrInfo;
89 Link aLink;
90 SfxProgress *mpProgress;
92 DECL_LINK( CancelButtonHdl, void* );
93 DECL_LINK( UpDate, void* );
94 DECL_LINK( InitialUpdate, Timer* );
97 } // end of namespace sd
99 #endif