LibreOffice Module sd (master) 1
BreakDlg.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#pragma once
21
22#include <sfx2/basedlgs.hxx>
23#include <sfx2/progress.hxx>
24#include <svx/svdetc.hxx>
25#include <vcl/idle.hxx>
26
27namespace sd
28{
29class DrawDocShell;
30class DrawView;
31
36{
37public:
38 BreakDlg(weld::Window* pWindow, DrawView* pDrView, DrawDocShell* pShell,
39 sal_uLong nSumActionCount, sal_uLong nObjCount);
40
41 virtual short run() override;
42
43private:
44 std::unique_ptr<weld::Label> m_xFiObjInfo;
45 std::unique_ptr<weld::Label> m_xFiActInfo;
46 std::unique_ptr<weld::Label> m_xFiInsInfo;
47 std::unique_ptr<weld::Button> m_xBtnCancel;
48
50
52
54 std::unique_ptr<SvdProgressInfo> m_xProgrInfo;
55 std::unique_ptr<SfxProgress> m_xProgress;
56
57 DECL_LINK(CancelButtonHdl, weld::Button&, void);
58 DECL_LINK(UpDate, void*, bool);
59 DECL_LINK(InitialUpdate, Timer*, void);
60};
61
62} // end of namespace sd
63
64/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
dialog to break meta files
Definition: BreakDlg.hxx:36
std::unique_ptr< weld::Label > m_xFiActInfo
Definition: BreakDlg.hxx:45
std::unique_ptr< SfxProgress > m_xProgress
Definition: BreakDlg.hxx:55
virtual short run() override
open a modal dialog and start a timer which calls the working function after the opening of the dialo...
Definition: brkdlg.cxx:139
bool m_bCancel
Definition: BreakDlg.hxx:51
Idle m_aUpdateIdle
Definition: BreakDlg.hxx:53
std::unique_ptr< weld::Label > m_xFiInsInfo
Definition: BreakDlg.hxx:46
std::unique_ptr< weld::Button > m_xBtnCancel
Definition: BreakDlg.hxx:47
BreakDlg(weld::Window *pWindow, DrawView *pDrView, DrawDocShell *pShell, sal_uLong nSumActionCount, sal_uLong nObjCount)
dialog to split metafiles
Definition: brkdlg.cxx:39
std::unique_ptr< SvdProgressInfo > m_xProgrInfo
Definition: BreakDlg.hxx:54
DECL_LINK(InitialUpdate, Timer *, void)
DrawView * m_pDrView
Definition: BreakDlg.hxx:49
DECL_LINK(UpDate, void *, bool)
DECL_LINK(CancelButtonHdl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xFiObjInfo
Definition: BreakDlg.hxx:44
Derivative of sd::View; contains also a pointer to the document.
Definition: drawview.hxx:35
sal_uIntPtr sal_uLong