1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 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. 14 * 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). 20 * 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. 25 * 26 ************************************************************************/ 27 28 #ifndef SD_COPY_DLG_HXX 29 #define SD_COPY_DLG_HXX 30 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 <sfx2/basedlgs.hxx> 39 40 class XColorTable; 41 42 namespace sd { 43 44 class View; 45 46 /************************************************************************* 47 |* 48 |* Dialog zum Einstellen des Bildschirms 49 |* 50 \************************************************************************/ 51 class CopyDlg 52 : public SfxModalDialog 53 { 54 public: 55 CopyDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, 56 XColorTable* pColTab, ::sd::View* pView ); 57 ~CopyDlg(); 58 59 void GetAttr( SfxItemSet& rOutAttrs ); 60 DECL_LINK( Reset, void* ); 61 62 private: 63 FixedText maFtCopies; 64 NumericField maNumFldCopies; 65 ImageButton maBtnSetViewData; 66 67 FixedLine maGrpMovement; 68 FixedText maFtMoveX; 69 MetricField maMtrFldMoveX; 70 FixedText maFtMoveY; 71 MetricField maMtrFldMoveY; 72 FixedText maFtAngle; 73 MetricField maMtrFldAngle; 74 FixedLine maGrpEnlargement; 75 76 FixedText maFtWidth; 77 MetricField maMtrFldWidth; 78 FixedText maFtHeight; 79 MetricField maMtrFldHeight; 80 81 FixedLine maGrpColor; 82 FixedText maFtStartColor; 83 ColorLB maLbStartColor; 84 FixedText maFtEndColor; 85 ColorLB maLbEndColor; 86 87 OKButton maBtnOK; 88 CancelButton maBtnCancel; 89 HelpButton maBtnHelp; 90 PushButton maBtnSetDefault; 91 92 const SfxItemSet& mrOutAttrs; 93 XColorTable* mpColorTab; 94 Fraction maUIScale; 95 ::sd::View* mpView; 96 97 DECL_LINK( SelectColorHdl, void * ); 98 DECL_LINK( SetViewData, void * ); 99 DECL_LINK( SetDefault, void * ); 100 }; 101 102 } // end of namespace sd 103 104 #endif 105 106