1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir#include "versdlg.hrc" 29*cdf0e10cSrcweirModalDialog DLG_VERSIONS 30*cdf0e10cSrcweir{ 31*cdf0e10cSrcweir HelpID = "sfx2:ModalDialog:DLG_VERSIONS"; 32*cdf0e10cSrcweir OutputSize = TRUE ; 33*cdf0e10cSrcweir Size = MAP_APPFONT ( 340 , 184 ) ; 34*cdf0e10cSrcweir SvLook = TRUE ; 35*cdf0e10cSrcweir Moveable = TRUE ; 36*cdf0e10cSrcweir//! Closeable = TRUE ; 37*cdf0e10cSrcweir FixedLine GB_NEWVERSIONS 38*cdf0e10cSrcweir { 39*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 40*cdf0e10cSrcweir Size = MAP_APPFONT ( 272 , 8 ) ; 41*cdf0e10cSrcweir Text [ en-US ] = "New versions" ; 42*cdf0e10cSrcweir }; 43*cdf0e10cSrcweir PushButton PB_SAVE 44*cdf0e10cSrcweir { 45*cdf0e10cSrcweir HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_SAVE"; 46*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 47*cdf0e10cSrcweir Size = MAP_APPFONT ( 90 , 14 ) ; 48*cdf0e10cSrcweir TabStop = TRUE ; 49*cdf0e10cSrcweir Text [ en-US ] = "Save ~New Version" ; 50*cdf0e10cSrcweir }; 51*cdf0e10cSrcweir CheckBox CB_SAVEONCLOSE 52*cdf0e10cSrcweir { 53*cdf0e10cSrcweir HelpID = "sfx2:CheckBox:DLG_VERSIONS:CB_SAVEONCLOSE"; 54*cdf0e10cSrcweir Pos = MAP_APPFONT ( 108 , 16 ) ; 55*cdf0e10cSrcweir Size = MAP_APPFONT ( 164 , 10 ) ; 56*cdf0e10cSrcweir TabStop = TRUE ; 57*cdf0e10cSrcweir Text [ en-US ] = "~Always save a version on closing" ; 58*cdf0e10cSrcweir }; 59*cdf0e10cSrcweir FixedLine GB_OLDVERSIONS 60*cdf0e10cSrcweir { 61*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 34 ) ; 62*cdf0e10cSrcweir Size = MAP_APPFONT ( 272 , 8 ) ; 63*cdf0e10cSrcweir Text [ en-US ] = "Existing versions" ; 64*cdf0e10cSrcweir }; 65*cdf0e10cSrcweir FixedText FT_DATETIME 66*cdf0e10cSrcweir { 67*cdf0e10cSrcweir Pos = MAP_APPFONT ( 15 , 45 ) ; 68*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 10 ) ; 69*cdf0e10cSrcweir Text [ en-US ] = "Date and time" ; 70*cdf0e10cSrcweir }; 71*cdf0e10cSrcweir FixedText FT_SAVEDBY 72*cdf0e10cSrcweir { 73*cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 45 ) ; 74*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 10 ) ; 75*cdf0e10cSrcweir Text [ en-US ] = "Saved by" ; 76*cdf0e10cSrcweir }; 77*cdf0e10cSrcweir FixedText FT_COMMENTS 78*cdf0e10cSrcweir { 79*cdf0e10cSrcweir Pos = MAP_APPFONT ( 138 , 45 ) ; 80*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 10 ) ; 81*cdf0e10cSrcweir Text [ en-US ] = "Comments" ; 82*cdf0e10cSrcweir }; 83*cdf0e10cSrcweir Control TLB_VERSIONS 84*cdf0e10cSrcweir { 85*cdf0e10cSrcweir Border = TRUE ; 86*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 58 ) ; 87*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 114 ) ; 88*cdf0e10cSrcweir TabStop = TRUE ; 89*cdf0e10cSrcweir }; 90*cdf0e10cSrcweir CancelButton PB_CLOSE 91*cdf0e10cSrcweir { 92*cdf0e10cSrcweir Pos = MAP_APPFONT ( 284 , 6 ) ; 93*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 94*cdf0e10cSrcweir TabStop = TRUE ; 95*cdf0e10cSrcweir Text [ en-US ] = "Close" ; 96*cdf0e10cSrcweir }; 97*cdf0e10cSrcweir PushButton PB_OPEN 98*cdf0e10cSrcweir { 99*cdf0e10cSrcweir HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_OPEN"; 100*cdf0e10cSrcweir Pos = MAP_APPFONT ( 284 , 26 ) ; 101*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 102*cdf0e10cSrcweir TabStop = TRUE ; 103*cdf0e10cSrcweir Text [ en-US ] = "Open" ; 104*cdf0e10cSrcweir }; 105*cdf0e10cSrcweir PushButton PB_VIEW 106*cdf0e10cSrcweir { 107*cdf0e10cSrcweir HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_VIEW"; 108*cdf0e10cSrcweir Pos = MAP_APPFONT ( 284 , 43 ) ; 109*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 110*cdf0e10cSrcweir TabStop = TRUE ; 111*cdf0e10cSrcweir DefButton = TRUE ; 112*cdf0e10cSrcweir Text [ en-US ] = "~Show..." ; 113*cdf0e10cSrcweir }; 114*cdf0e10cSrcweir PushButton PB_DELETE 115*cdf0e10cSrcweir { 116*cdf0e10cSrcweir HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_DELETE"; 117*cdf0e10cSrcweir Pos = MAP_APPFONT ( 284 , 60 ) ; 118*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 119*cdf0e10cSrcweir TabStop = TRUE ; 120*cdf0e10cSrcweir Text [ en-US ] = "~Delete" ; 121*cdf0e10cSrcweir }; 122*cdf0e10cSrcweir PushButton PB_COMPARE 123*cdf0e10cSrcweir { 124*cdf0e10cSrcweir HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_COMPARE"; 125*cdf0e10cSrcweir Pos = MAP_APPFONT ( 284 , 77 ) ; 126*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 127*cdf0e10cSrcweir TabStop = TRUE ; 128*cdf0e10cSrcweir Text [ en-US ] = "Compare" ; 129*cdf0e10cSrcweir }; 130*cdf0e10cSrcweir HelpButton PB_HELP 131*cdf0e10cSrcweir { 132*cdf0e10cSrcweir Pos = MAP_APPFONT ( 284 , 97 ) ; 133*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 134*cdf0e10cSrcweir TabStop = TRUE ; 135*cdf0e10cSrcweir }; 136*cdf0e10cSrcweir Text [ en-US ] = "Versions of" ; 137*cdf0e10cSrcweir}; 138*cdf0e10cSrcweirModalDialog DLG_COMMENTS 139*cdf0e10cSrcweir{ 140*cdf0e10cSrcweir HelpID = "sfx2:ModalDialog:DLG_COMMENTS"; 141*cdf0e10cSrcweir OutputSize = TRUE ; 142*cdf0e10cSrcweir Size = MAP_APPFONT ( 180 , 118 ) ; 143*cdf0e10cSrcweir SvLook = TRUE ; 144*cdf0e10cSrcweir Moveable = TRUE ; 145*cdf0e10cSrcweir FixedText FT_DATETIME 146*cdf0e10cSrcweir { 147*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 6 ) ; 148*cdf0e10cSrcweir Size = MAP_APPFONT ( 168 , 10 ) ; 149*cdf0e10cSrcweir Text [ en-US ] = "Date and time : " ; 150*cdf0e10cSrcweir }; 151*cdf0e10cSrcweir FixedText FT_SAVEDBY 152*cdf0e10cSrcweir { 153*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 19 ) ; 154*cdf0e10cSrcweir Size = MAP_APPFONT ( 168 , 10 ) ; 155*cdf0e10cSrcweir Text [ en-US ] = "Saved by " ; 156*cdf0e10cSrcweir }; 157*cdf0e10cSrcweir MultiLineEdit ME_VERSIONS 158*cdf0e10cSrcweir { 159*cdf0e10cSrcweir HelpID = "sfx2:MultiLineEdit:DLG_COMMENTS:ME_VERSIONS"; 160*cdf0e10cSrcweir Border = TRUE ; 161*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 32 ) ; 162*cdf0e10cSrcweir Size = MAP_APPFONT ( 168 , 60 ) ; 163*cdf0e10cSrcweir TabStop = TRUE ; 164*cdf0e10cSrcweir }; 165*cdf0e10cSrcweir OKButton PB_OK 166*cdf0e10cSrcweir { 167*cdf0e10cSrcweir Pos = MAP_APPFONT ( 15 , 98 ) ; 168*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 169*cdf0e10cSrcweir TabStop = TRUE ; 170*cdf0e10cSrcweir DefButton = TRUE ; 171*cdf0e10cSrcweir }; 172*cdf0e10cSrcweir CancelButton PB_CANCEL 173*cdf0e10cSrcweir { 174*cdf0e10cSrcweir Pos = MAP_APPFONT ( 68 , 98 ) ; 175*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 176*cdf0e10cSrcweir TabStop = TRUE ; 177*cdf0e10cSrcweir }; 178*cdf0e10cSrcweir PushButton PB_CLOSE 179*cdf0e10cSrcweir { 180*cdf0e10cSrcweir HelpID = "sfx2:PushButton:DLG_COMMENTS:PB_CLOSE"; 181*cdf0e10cSrcweir Pos = MAP_APPFONT ( 68 , 98 ) ; 182*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 183*cdf0e10cSrcweir TabStop = TRUE ; 184*cdf0e10cSrcweir Text [ en-US ] = "~Close" ; 185*cdf0e10cSrcweir }; 186*cdf0e10cSrcweir HelpButton PB_HELP 187*cdf0e10cSrcweir { 188*cdf0e10cSrcweir Pos = MAP_APPFONT ( 124 , 98 ) ; 189*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 190*cdf0e10cSrcweir TabStop = TRUE ; 191*cdf0e10cSrcweir }; 192*cdf0e10cSrcweir Text [ en-US ] = "Insert Version Comment" ; 193*cdf0e10cSrcweir}; 194*cdf0e10cSrcweirString DLG_COMMENTS 195*cdf0e10cSrcweir{ 196*cdf0e10cSrcweir Text [ en-US ] = "Version comment" ; 197*cdf0e10cSrcweir}; 198*cdf0e10cSrcweir 199*cdf0e10cSrcweir 200*cdf0e10cSrcweir 201*cdf0e10cSrcweir 202*cdf0e10cSrcweir 203*cdf0e10cSrcweir 204*cdf0e10cSrcweir 205*cdf0e10cSrcweir 206*cdf0e10cSrcweir 207*cdf0e10cSrcweir 208*cdf0e10cSrcweir 209*cdf0e10cSrcweir 210*cdf0e10cSrcweir 211*cdf0e10cSrcweir 212*cdf0e10cSrcweir 213*cdf0e10cSrcweir 214*cdf0e10cSrcweir 215*cdf0e10cSrcweir 216*cdf0e10cSrcweir 217*cdf0e10cSrcweir 218*cdf0e10cSrcweir 219*cdf0e10cSrcweir 220*cdf0e10cSrcweir 221*cdf0e10cSrcweir 222*cdf0e10cSrcweir 223