bump product version to 4.1.6.2
[LibreOffice.git] / sd / source / ui / inc / BreakDlg.hxx
blobbe74b62b883e3f7c599747fe54deed54708c7936
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 .
20 #ifndef SD_BREAK_DLG_HXX
21 #define SD_BREAK_DLG_HXX
23 #include <vcl/group.hxx>
24 #include <vcl/button.hxx>
25 #include <svx/dlgctrl.hxx>
26 #include <vcl/field.hxx>
27 #include <vcl/fixed.hxx>
28 #include <vcl/prgsbar.hxx>
29 #include <vcl/edit.hxx>
30 #include <svtools/stdctrl.hxx>
31 #include <sfx2/basedlgs.hxx>
33 class SvdProgressInfo;
34 class SfxProgress;
36 namespace sd {
38 class DrawDocShell;
39 class DrawView;
41 /**
42 * dialog to break meta files
44 class BreakDlg
45 : public SfxModalDialog
47 public:
48 BreakDlg (
49 ::Window* pWindow,
50 DrawView* pDrView,
51 DrawDocShell* pShell,
52 sal_uLong nSumActionCount,
53 sal_uLong nObjCount);
54 virtual ~BreakDlg();
56 short Execute();
58 private:
59 FixedText aFtObjInfo;
60 FixedText aFtActInfo;
61 FixedText aFtInsInfo;
63 FixedInfo aFiObjInfo;
64 FixedInfo aFiActInfo;
65 FixedInfo aFiInsInfo;
67 CancelButton aBtnCancel;
68 DrawView* pDrView;
70 sal_Bool bCancel;
72 Timer aTimer;
73 SvdProgressInfo *pProgrInfo;
74 Link aLink;
75 SfxProgress *mpProgress;
77 DECL_LINK( CancelButtonHdl, void* );
78 DECL_LINK( UpDate, void* );
79 DECL_LINK( InitialUpdate, void* );
82 } // end of namespace sd
84 #endif
86 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */