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 <svtools/controldims.hrc> 29*cdf0e10cSrcweir#include "dialogs.hrc" 30*cdf0e10cSrcweir#include "headerfooterdlg.hrc" 31*cdf0e10cSrcweir 32*cdf0e10cSrcweir#define TAB_WIDTH 290 33*cdf0e10cSrcweir#define TAB_HEIGHT 186 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir#define DLG_WIDTH TAB_WIDTH + 6 36*cdf0e10cSrcweir#define DLG_HEIGHT TAB_HEIGHT + 6 37*cdf0e10cSrcweir 38*cdf0e10cSrcweirTabDialog RID_SD_DLG_HEADERFOOTER 39*cdf0e10cSrcweir{ 40*cdf0e10cSrcweir OutputSize = TRUE; 41*cdf0e10cSrcweir SVLook = TRUE; 42*cdf0e10cSrcweir Size = MAP_APPFONT( DLG_WIDTH, DLG_HEIGHT ); 43*cdf0e10cSrcweir Text [ en-US ] = "Header and Footer"; 44*cdf0e10cSrcweir Moveable = TRUE; 45*cdf0e10cSrcweir Closeable = TRUE; 46*cdf0e10cSrcweir 47*cdf0e10cSrcweir TabControl 1 48*cdf0e10cSrcweir { 49*cdf0e10cSrcweir OutputSize = TRUE; 50*cdf0e10cSrcweir Pos = MAP_APPFONT( 3 , 3 ); 51*cdf0e10cSrcweir Size = MAP_APPFONT( TAB_WIDTH , TAB_HEIGHT ); 52*cdf0e10cSrcweir PageList = 53*cdf0e10cSrcweir { 54*cdf0e10cSrcweir PageItem 55*cdf0e10cSrcweir { 56*cdf0e10cSrcweir Identifier = RID_SD_TABPAGE_HEADERFOOTER_SLIDE; 57*cdf0e10cSrcweir PageResID = RID_SD_TABPAGE_HEADERFOOTER; 58*cdf0e10cSrcweir Text [ en-US ] = "Slide"; 59*cdf0e10cSrcweir }; 60*cdf0e10cSrcweir 61*cdf0e10cSrcweir PageItem 62*cdf0e10cSrcweir { 63*cdf0e10cSrcweir Identifier = RID_SD_TABPAGE_HEADERFOOTER_NOTESHANDOUT; 64*cdf0e10cSrcweir PageResID = RID_SD_TABPAGE_HEADERFOOTER; 65*cdf0e10cSrcweir Text [ en-US ] = "Notes and Handouts"; 66*cdf0e10cSrcweir }; 67*cdf0e10cSrcweir }; 68*cdf0e10cSrcweir }; 69*cdf0e10cSrcweir}; 70*cdf0e10cSrcweir 71*cdf0e10cSrcweir#define SPACE_Y 3 72*cdf0e10cSrcweir#define SPACE_X 3 73*cdf0e10cSrcweir 74*cdf0e10cSrcweir#define C1 (RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT) 75*cdf0e10cSrcweir#define C2 (RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + RSC_SP_CHK_TEXTINDENT) 76*cdf0e10cSrcweir#define C3 (RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 2 * RSC_SP_CHK_TEXTINDENT) 77*cdf0e10cSrcweir#define W1 (TAB_WIDTH - PUSHBUTTON_WIDTH - 10 * SPACE_X) 78*cdf0e10cSrcweir#define W2 (60) 79*cdf0e10cSrcweir#define W3 (W1 - C2 - W2 - SPACE_X) 80*cdf0e10cSrcweir#define W4 ((W1 - C3 - SPACE_X) / 2) 81*cdf0e10cSrcweir 82*cdf0e10cSrcweir#define C4 (C2 + W2 + SPACE_X) 83*cdf0e10cSrcweir 84*cdf0e10cSrcweir#define PUSHBUTTON_WIDTH 80 85*cdf0e10cSrcweir 86*cdf0e10cSrcweirTabPage RID_SD_TABPAGE_HEADERFOOTER 87*cdf0e10cSrcweir{ 88*cdf0e10cSrcweir// HelpID = SID_ANIMATION_EFFECTS ; 89*cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; 90*cdf0e10cSrcweir Size = MAP_APPFONT ( TAB_WIDTH , TAB_HEIGHT ) ; 91*cdf0e10cSrcweir Hide = TRUE; 92*cdf0e10cSrcweir 93*cdf0e10cSrcweir#define Y0 (RSC_SP_TBPG_INNERBORDER_TOP ) 94*cdf0e10cSrcweir 95*cdf0e10cSrcweir FixedLine FL_INCLUDE_ON_PAGE 96*cdf0e10cSrcweir { 97*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT, Y0 ) ; 98*cdf0e10cSrcweir Size = MAP_APPFONT ( W1 - RSC_SP_TBPG_INNERBORDER_LEFT , RSC_CD_FIXEDLINE_HEIGHT ) ; 99*cdf0e10cSrcweir Text [ en-US ] = "Include on slide"; 100*cdf0e10cSrcweir }; 101*cdf0e10cSrcweir 102*cdf0e10cSrcweir#define Y1 (Y0 + RSC_CD_FIXEDLINE_HEIGHT + SPACE_Y) 103*cdf0e10cSrcweir 104*cdf0e10cSrcweir CheckBox CB_HEADER 105*cdf0e10cSrcweir { 106*cdf0e10cSrcweir HelpID = "sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_HEADER"; 107*cdf0e10cSrcweir Pos = MAP_APPFONT ( C1, Y1 ); 108*cdf0e10cSrcweir Size = MAP_APPFONT ( W1 - C1, RSC_CD_CHECKBOX_HEIGHT ); 109*cdf0e10cSrcweir TabStop = TRUE ; 110*cdf0e10cSrcweir Text [ en-US ] = "Header"; 111*cdf0e10cSrcweir }; 112*cdf0e10cSrcweir 113*cdf0e10cSrcweir FixedText FT_HEADER 114*cdf0e10cSrcweir { 115*cdf0e10cSrcweir Pos = MAP_APPFONT ( C2, Y1 + SPACE_Y + RSC_CD_CHECKBOX_HEIGHT + 1 ); 116*cdf0e10cSrcweir Size = MAP_APPFONT ( W2, RSC_CD_FIXEDTEXT_HEIGHT ); 117*cdf0e10cSrcweir TabStop = TRUE ; 118*cdf0e10cSrcweir Text [ en-US ] = "Header text"; 119*cdf0e10cSrcweir }; 120*cdf0e10cSrcweir 121*cdf0e10cSrcweir Edit TB_HEADER_FIXED 122*cdf0e10cSrcweir { 123*cdf0e10cSrcweir HelpID = "sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_HEADER_FIXED"; 124*cdf0e10cSrcweir Pos = MAP_APPFONT ( C4, Y1 + SPACE_Y + RSC_CD_CHECKBOX_HEIGHT ); 125*cdf0e10cSrcweir Size = MAP_APPFONT ( W3, RSC_CD_TEXTBOX_HEIGHT ); 126*cdf0e10cSrcweir TabStop = TRUE ; 127*cdf0e10cSrcweir Border = TRUE ; 128*cdf0e10cSrcweir }; 129*cdf0e10cSrcweir 130*cdf0e10cSrcweir#define Y2 (Y1 + 2 * SPACE_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT) 131*cdf0e10cSrcweir 132*cdf0e10cSrcweir FixedLine FL_DATETIME 133*cdf0e10cSrcweir { 134*cdf0e10cSrcweir Pos = MAP_APPFONT ( C1, Y2 ); 135*cdf0e10cSrcweir Size = MAP_APPFONT ( W1 - C1, RSC_CD_FIXEDLINE_HEIGHT ); 136*cdf0e10cSrcweir }; 137*cdf0e10cSrcweir 138*cdf0e10cSrcweir CheckBox CB_DATETIME 139*cdf0e10cSrcweir { 140*cdf0e10cSrcweir HelpID = "sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_DATETIME"; 141*cdf0e10cSrcweir Pos = MAP_APPFONT ( C1, Y2 + SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT ); 142*cdf0e10cSrcweir Size = MAP_APPFONT ( W1 - C1, RSC_CD_CHECKBOX_HEIGHT ); 143*cdf0e10cSrcweir TabStop = TRUE ; 144*cdf0e10cSrcweir Text [ en-US ] = "~Date and time"; 145*cdf0e10cSrcweir }; 146*cdf0e10cSrcweir 147*cdf0e10cSrcweir RadioButton RB_DATETIME_FIXED 148*cdf0e10cSrcweir { 149*cdf0e10cSrcweir HelpID = "sd:RadioButton:RID_SD_TABPAGE_HEADERFOOTER:RB_DATETIME_FIXED"; 150*cdf0e10cSrcweir Pos = MAP_APPFONT ( C2, Y2 + 2 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + 1 ); 151*cdf0e10cSrcweir Size = MAP_APPFONT ( W2, RSC_CD_RADIOBUTTON_HEIGHT ); 152*cdf0e10cSrcweir TabStop = TRUE ; 153*cdf0e10cSrcweir Text [ en-US ] = "Fi~xed"; 154*cdf0e10cSrcweir }; 155*cdf0e10cSrcweir 156*cdf0e10cSrcweir Edit TB_DATETIME_FIXED 157*cdf0e10cSrcweir { 158*cdf0e10cSrcweir HelpID = "sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_DATETIME_FIXED"; 159*cdf0e10cSrcweir Pos = MAP_APPFONT ( C4, Y2 + 2 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT ); 160*cdf0e10cSrcweir Size = MAP_APPFONT ( W3, RSC_CD_TEXTBOX_HEIGHT ); 161*cdf0e10cSrcweir TabStop = TRUE ; 162*cdf0e10cSrcweir Border = TRUE ; 163*cdf0e10cSrcweir }; 164*cdf0e10cSrcweir 165*cdf0e10cSrcweir RadioButton RB_DATETIME_AUTOMATIC 166*cdf0e10cSrcweir { 167*cdf0e10cSrcweir HelpID = "sd:RadioButton:RID_SD_TABPAGE_HEADERFOOTER:RB_DATETIME_AUTOMATIC"; 168*cdf0e10cSrcweir Pos = MAP_APPFONT ( C2, Y2 + 3 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT ); 169*cdf0e10cSrcweir Size = MAP_APPFONT ( 80, RSC_CD_RADIOBUTTON_HEIGHT ); 170*cdf0e10cSrcweir TabStop = TRUE ; 171*cdf0e10cSrcweir Text [ en-US ] = "~Variable"; 172*cdf0e10cSrcweir }; 173*cdf0e10cSrcweir 174*cdf0e10cSrcweir ListBox CB_DATETIME_FORMAT 175*cdf0e10cSrcweir { 176*cdf0e10cSrcweir HelpID = "sd:ListBox:RID_SD_TABPAGE_HEADERFOOTER:CB_DATETIME_FORMAT"; 177*cdf0e10cSrcweir Pos = MAP_APPFONT ( C3, Y2 + 4 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT + RSC_CD_RADIOBUTTON_HEIGHT ); 178*cdf0e10cSrcweir Size = MAP_APPFONT ( W4, 80 ); 179*cdf0e10cSrcweir TabStop = TRUE ; 180*cdf0e10cSrcweir DropDown = TRUE ; 181*cdf0e10cSrcweir }; 182*cdf0e10cSrcweir 183*cdf0e10cSrcweir FixedText FT_DATETIME_LANGUAGE 184*cdf0e10cSrcweir { 185*cdf0e10cSrcweir Pos = MAP_APPFONT ( C3 + W4 + SPACE_X, Y2 + 3 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT + 1 ); 186*cdf0e10cSrcweir Size = MAP_APPFONT ( W4, RSC_CD_FIXEDTEXT_HEIGHT ); 187*cdf0e10cSrcweir TabStop = TRUE ; 188*cdf0e10cSrcweir Text [ en-US ] = "~Language:"; 189*cdf0e10cSrcweir }; 190*cdf0e10cSrcweir 191*cdf0e10cSrcweir ListBox CB_DATETIME_LANGUAGE 192*cdf0e10cSrcweir { 193*cdf0e10cSrcweir HelpID = "sd:ListBox:RID_SD_TABPAGE_HEADERFOOTER:CB_DATETIME_LANGUAGE"; 194*cdf0e10cSrcweir Pos = MAP_APPFONT ( C3 + W4 + SPACE_X, Y2 + 4 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT + RSC_CD_RADIOBUTTON_HEIGHT ); 195*cdf0e10cSrcweir Size = MAP_APPFONT ( W4, 80 ); 196*cdf0e10cSrcweir TabStop = TRUE ; 197*cdf0e10cSrcweir DropDown = TRUE ; 198*cdf0e10cSrcweir }; 199*cdf0e10cSrcweir 200*cdf0e10cSrcweir#define Y3 (Y2 + 5 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT + RSC_CD_RADIOBUTTON_HEIGHT + RSC_CD_DROPDOWN_HEIGHT ) 201*cdf0e10cSrcweir 202*cdf0e10cSrcweir FixedLine FL_FOOTER 203*cdf0e10cSrcweir { 204*cdf0e10cSrcweir Pos = MAP_APPFONT ( C1, Y3 ); 205*cdf0e10cSrcweir Size = MAP_APPFONT ( W1 - C1, RSC_CD_FIXEDLINE_HEIGHT ); 206*cdf0e10cSrcweir }; 207*cdf0e10cSrcweir 208*cdf0e10cSrcweir CheckBox CB_FOOTER 209*cdf0e10cSrcweir { 210*cdf0e10cSrcweir HelpID = "sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_FOOTER"; 211*cdf0e10cSrcweir Pos = MAP_APPFONT ( C1, Y3 + SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT ); 212*cdf0e10cSrcweir Size = MAP_APPFONT ( W1 - C1, RSC_CD_CHECKBOX_HEIGHT ); 213*cdf0e10cSrcweir TabStop = TRUE ; 214*cdf0e10cSrcweir Text [ en-US ] = "Footer"; 215*cdf0e10cSrcweir }; 216*cdf0e10cSrcweir 217*cdf0e10cSrcweir FixedText FT_FOOTER 218*cdf0e10cSrcweir { 219*cdf0e10cSrcweir Pos = MAP_APPFONT ( C2, Y3 + 2 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + 1 ); 220*cdf0e10cSrcweir Size = MAP_APPFONT ( W2, RSC_CD_FIXEDTEXT_HEIGHT ); 221*cdf0e10cSrcweir TabStop = TRUE ; 222*cdf0e10cSrcweir Text [ en-US ] = "Footer text"; 223*cdf0e10cSrcweir }; 224*cdf0e10cSrcweir 225*cdf0e10cSrcweir Edit TB_FOOTER_FIXED 226*cdf0e10cSrcweir { 227*cdf0e10cSrcweir HelpID = "sd:Edit:RID_SD_TABPAGE_HEADERFOOTER:TB_FOOTER_FIXED"; 228*cdf0e10cSrcweir Pos = MAP_APPFONT ( C4, Y3 + 2 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT ); 229*cdf0e10cSrcweir Size = MAP_APPFONT ( W3, RSC_CD_TEXTBOX_HEIGHT ); 230*cdf0e10cSrcweir TabStop = TRUE ; 231*cdf0e10cSrcweir Border = TRUE ; 232*cdf0e10cSrcweir }; 233*cdf0e10cSrcweir 234*cdf0e10cSrcweir#define Y4 (Y3 + 3 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT ) 235*cdf0e10cSrcweir 236*cdf0e10cSrcweir FixedLine FL_SLIDENUMBER 237*cdf0e10cSrcweir { 238*cdf0e10cSrcweir Pos = MAP_APPFONT ( C1, Y4 ); 239*cdf0e10cSrcweir Size = MAP_APPFONT ( W1 - C1, RSC_CD_FIXEDLINE_HEIGHT ); 240*cdf0e10cSrcweir }; 241*cdf0e10cSrcweir 242*cdf0e10cSrcweir CheckBox CB_SLIDENUMBER 243*cdf0e10cSrcweir { 244*cdf0e10cSrcweir HelpID = "sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_SLIDENUMBER"; 245*cdf0e10cSrcweir Pos = MAP_APPFONT ( C1, Y4 + SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT ); 246*cdf0e10cSrcweir Size = MAP_APPFONT ( W1 - C1, RSC_CD_CHECKBOX_HEIGHT ); 247*cdf0e10cSrcweir TabStop = TRUE ; 248*cdf0e10cSrcweir Text [ en-US ] = "Slide number"; 249*cdf0e10cSrcweir }; 250*cdf0e10cSrcweir 251*cdf0e10cSrcweir#define Y5 (Y4 + 2 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT ) 252*cdf0e10cSrcweir 253*cdf0e10cSrcweir FixedLine FL_NOTONTITLE 254*cdf0e10cSrcweir { 255*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT, Y5 ) ; 256*cdf0e10cSrcweir Size = MAP_APPFONT ( W1 - RSC_SP_TBPG_INNERBORDER_LEFT, RSC_CD_FIXEDLINE_HEIGHT ); 257*cdf0e10cSrcweir }; 258*cdf0e10cSrcweir 259*cdf0e10cSrcweir CheckBox CB_NOTONTITLE 260*cdf0e10cSrcweir { 261*cdf0e10cSrcweir HelpID = "sd:CheckBox:RID_SD_TABPAGE_HEADERFOOTER:CB_NOTONTITLE"; 262*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT, Y5 + SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT ); 263*cdf0e10cSrcweir Size = MAP_APPFONT ( W1 - RSC_SP_TBPG_INNERBORDER_LEFT, RSC_CD_CHECKBOX_HEIGHT ); 264*cdf0e10cSrcweir TabStop = TRUE ; 265*cdf0e10cSrcweir Text [ en-US ] = "Do not show on first slide"; 266*cdf0e10cSrcweir }; 267*cdf0e10cSrcweir 268*cdf0e10cSrcweir PushButton BT_APPLYTOALL 269*cdf0e10cSrcweir { 270*cdf0e10cSrcweir HelpID = "sd:PushButton:RID_SD_TABPAGE_HEADERFOOTER:BT_APPLYTOALL"; 271*cdf0e10cSrcweir Pos = MAP_APPFONT ( TAB_WIDTH - 7 * SPACE_X - PUSHBUTTON_WIDTH, RSC_SP_TBPG_INNERBORDER_TOP ); 272*cdf0e10cSrcweir Size = MAP_APPFONT ( PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 273*cdf0e10cSrcweir TabStop = TRUE ; 274*cdf0e10cSrcweir Text [ en-US ] = "Apply to All"; 275*cdf0e10cSrcweir }; 276*cdf0e10cSrcweir 277*cdf0e10cSrcweir PushButton BT_APPLY 278*cdf0e10cSrcweir { 279*cdf0e10cSrcweir HelpID = "sd:PushButton:RID_SD_TABPAGE_HEADERFOOTER:BT_APPLY"; 280*cdf0e10cSrcweir Pos = MAP_APPFONT ( TAB_WIDTH - 7 * SPACE_X - PUSHBUTTON_WIDTH, RSC_SP_TBPG_INNERBORDER_TOP + RSC_CD_PUSHBUTTON_HEIGHT + SPACE_Y ); 281*cdf0e10cSrcweir Size = MAP_APPFONT ( PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 282*cdf0e10cSrcweir TabStop = TRUE ; 283*cdf0e10cSrcweir Text [ en-US ] = "Apply"; 284*cdf0e10cSrcweir }; 285*cdf0e10cSrcweir 286*cdf0e10cSrcweir CancelButton BT_CANCEL 287*cdf0e10cSrcweir { 288*cdf0e10cSrcweir Pos = MAP_APPFONT ( TAB_WIDTH - 7 * SPACE_X - PUSHBUTTON_WIDTH, RSC_SP_TBPG_INNERBORDER_TOP + 2 * RSC_CD_PUSHBUTTON_HEIGHT + 2 * SPACE_Y ); 289*cdf0e10cSrcweir Size = MAP_APPFONT ( PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 290*cdf0e10cSrcweir TabStop = TRUE ; 291*cdf0e10cSrcweir }; 292*cdf0e10cSrcweir 293*cdf0e10cSrcweir HelpButton BT_HELP 294*cdf0e10cSrcweir { 295*cdf0e10cSrcweir Pos = MAP_APPFONT ( TAB_WIDTH - 7 * SPACE_X - PUSHBUTTON_WIDTH, RSC_SP_TBPG_INNERBORDER_TOP + 3* RSC_CD_PUSHBUTTON_HEIGHT + 3 * SPACE_Y ); 296*cdf0e10cSrcweir Size = MAP_APPFONT ( PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 297*cdf0e10cSrcweir TabStop = TRUE ; 298*cdf0e10cSrcweir }; 299*cdf0e10cSrcweir 300*cdf0e10cSrcweir Control CT_PREVIEW 301*cdf0e10cSrcweir { 302*cdf0e10cSrcweir Pos = MAP_APPFONT ( TAB_WIDTH - 7 * SPACE_X - PUSHBUTTON_WIDTH, TAB_HEIGHT - 6*SPACE_Y - PUSHBUTTON_WIDTH ); 303*cdf0e10cSrcweir Size = MAP_APPFONT ( PUSHBUTTON_WIDTH, PUSHBUTTON_WIDTH ); 304*cdf0e10cSrcweir }; 305*cdf0e10cSrcweir 306*cdf0e10cSrcweir String STR_PAGE_NUMBER 307*cdf0e10cSrcweir { 308*cdf0e10cSrcweir Text [ en-US ] = "Page number"; 309*cdf0e10cSrcweir }; 310*cdf0e10cSrcweir 311*cdf0e10cSrcweir String STR_INCLUDE_ON_PAGE 312*cdf0e10cSrcweir { 313*cdf0e10cSrcweir Text [ en-US ] = "Include on page"; 314*cdf0e10cSrcweir }; 315*cdf0e10cSrcweir}; 316*cdf0e10cSrcweir 317*cdf0e10cSrcweir 318