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#include <sfx2/sfx.hrc> 29#include "dialog.hrc" 30#include "newstyle.hrc" 31#include "sfx2/sfxcommands.h" 32 33ModalDialog DLG_NEW_STYLE_BY_EXAMPLE 34{ 35 HelpId = CMD_SID_STYLE_NEW_BY_EXAMPLE ; 36 OutputSize = TRUE ; 37 SVLook = TRUE ; 38 Size = MAP_APPFONT ( 177 , 112 ) ; 39 Text [ en-US ] = "Create Style" ; 40 Moveable = TRUE ; 41 FixedLine FL_COL 42 { 43 Pos = MAP_APPFONT ( 6 , 3 ) ; 44 Size = MAP_APPFONT ( 109 , 8 ) ; 45 Text [ en-US ] = "Style name" ; 46 }; 47 ComboBox LB_COL 48 { 49 HelpID = "sfx2:ComboBox:DLG_NEW_STYLE_BY_EXAMPLE:LB_COL"; 50 Pos = MAP_APPFONT ( 12 , 14 ) ; 51 Size = MAP_APPFONT ( 94 , 92 ) ; 52 TabStop = TRUE ; 53 }; 54 OKButton BT_OK 55 { 56 Disable = TRUE ; 57 Pos = MAP_APPFONT ( 121 , 6 ) ; 58 Size = MAP_APPFONT ( 50 , 14 ) ; 59 TabStop = TRUE ; 60 DefButton = TRUE ; 61 }; 62 CancelButton BT_CANCEL 63 { 64 Pos = MAP_APPFONT ( 121 , 23 ) ; 65 Size = MAP_APPFONT ( 50 , 14 ) ; 66 TabStop = TRUE ; 67 }; 68 QueryBox MSG_OVERWRITE 69 { 70 Buttons = WB_YES_NO ; 71 DefButton = WB_DEF_NO ; 72 Message [ en-US ] = "Style already exists. Overwrite?" ; 73 }; 74}; 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106