1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #ifndef SD_COPY_DLG_HXX 25 #define SD_COPY_DLG_HXX 26 27 #include <vcl/group.hxx> 28 #ifndef _SV_BUTTON_HXX //autogen 29 #include <vcl/button.hxx> 30 #endif 31 #include <svx/dlgctrl.hxx> 32 #include <vcl/field.hxx> 33 #include <vcl/fixed.hxx> 34 #include <sfx2/basedlgs.hxx> 35 36 namespace sd { 37 38 class View; 39 40 /************************************************************************* 41 |* 42 |* Dialog zum Einstellen des Bildschirms 43 |* 44 \************************************************************************/ 45 class CopyDlg 46 : public SfxModalDialog 47 { 48 public: 49 CopyDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, XColorListSharedPtr aColTab, ::sd::View* pView ); 50 ~CopyDlg(); 51 52 void GetAttr( SfxItemSet& rOutAttrs ); 53 DECL_LINK( Reset, void* ); 54 55 private: 56 FixedText maFtCopies; 57 NumericField maNumFldCopies; 58 ImageButton maBtnSetViewData; 59 60 FixedLine maGrpMovement; 61 FixedText maFtMoveX; 62 MetricField maMtrFldMoveX; 63 FixedText maFtMoveY; 64 MetricField maMtrFldMoveY; 65 FixedText maFtAngle; 66 MetricField maMtrFldAngle; 67 FixedLine maGrpEnlargement; 68 69 FixedText maFtWidth; 70 MetricField maMtrFldWidth; 71 FixedText maFtHeight; 72 MetricField maMtrFldHeight; 73 74 FixedLine maGrpColor; 75 FixedText maFtStartColor; 76 ColorLB maLbStartColor; 77 FixedText maFtEndColor; 78 ColorLB maLbEndColor; 79 80 OKButton maBtnOK; 81 CancelButton maBtnCancel; 82 HelpButton maBtnHelp; 83 PushButton maBtnSetDefault; 84 85 const SfxItemSet& mrOutAttrs; 86 XColorListSharedPtr maColorTab; 87 Fraction maUIScale; 88 ::sd::View* mpView; 89 90 DECL_LINK( SelectColorHdl, void * ); 91 DECL_LINK( SetViewData, void * ); 92 DECL_LINK( SetDefault, void * ); 93 }; 94 95 } // end of namespace sd 96 97 #endif 98 99