office-gobmx/sd/source/ui/inc/copydlg.hxx

106 lines
3 KiB
C++
Raw Normal View History

2000-09-18 11:07:07 -05:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2000-09-18 11:07:07 -05:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
2000-09-18 11:07:07 -05:00
*
* OpenOffice.org - a multi-platform office productivity suite
2000-09-18 11:07:07 -05:00
*
* This file is part of OpenOffice.org.
2000-09-18 11:07:07 -05:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2000-09-18 11:07:07 -05:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2000-09-18 11:07:07 -05:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2000-09-18 11:07:07 -05:00
*
************************************************************************/
#ifndef SD_COPY_DLG_HXX
#define SD_COPY_DLG_HXX
2000-09-18 11:07:07 -05:00
#include <vcl/group.hxx>
#ifndef _SV_BUTTON_HXX //autogen
#include <vcl/button.hxx>
#endif
#include <svx/dlgctrl.hxx>
#include <vcl/field.hxx>
#include <vcl/fixed.hxx>
#include <sfx2/basedlgs.hxx>
class XColorTable;
namespace sd {
class View;
2000-09-18 11:07:07 -05:00
/*************************************************************************
|*
|* Dialog zum Einstellen des Bildschirms
|*
\************************************************************************/
class CopyDlg
: public SfxModalDialog
2000-09-18 11:07:07 -05:00
{
public:
CopyDlg( ::Window* pWindow, const SfxItemSet& rInAttrs,
XColorTable* pColTab, ::sd::View* pView );
~CopyDlg();
void GetAttr( SfxItemSet& rOutAttrs );
DECL_LINK( Reset, void* );
2000-09-18 11:07:07 -05:00
private:
FixedText maFtCopies;
NumericField maNumFldCopies;
ImageButton maBtnSetViewData;
FixedText maFtMoveX;
MetricField maMtrFldMoveX;
FixedText maFtMoveY;
MetricField maMtrFldMoveY;
FixedText maFtAngle;
MetricField maMtrFldAngle;
FixedLine maGrpMovement;
FixedText maFtWidth;
MetricField maMtrFldWidth;
FixedText maFtHeight;
MetricField maMtrFldHeight;
FixedLine maGrpEnlargement;
FixedText maFtStartColor;
ColorLB maLbStartColor;
FixedText maFtEndColor;
ColorLB maLbEndColor;
FixedLine maGrpColor;
OKButton maBtnOK;
CancelButton maBtnCancel;
HelpButton maBtnHelp;
PushButton maBtnSetDefault;
const SfxItemSet& mrOutAttrs;
XColorTable* mpColorTab;
Fraction maUIScale;
::sd::View* mpView;
2000-09-18 11:07:07 -05:00
DECL_LINK( SelectColorHdl, void * );
DECL_LINK( SetViewData, void * );
DECL_LINK( SetDefault, void * );
};
} // end of namespace sd
#endif
2000-09-18 11:07:07 -05:00