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 <rubydialog.hrc> 29*cdf0e10cSrcweir#include "helpid.hrc" 30*cdf0e10cSrcweir#include <svx/dialogs.hrc> 31*cdf0e10cSrcweir 32*cdf0e10cSrcweirModelessDialog RID_SVXDLG_RUBY 33*cdf0e10cSrcweir{ 34*cdf0e10cSrcweir OutputSize = TRUE ; 35*cdf0e10cSrcweir Hide = TRUE ; 36*cdf0e10cSrcweir SVLook = TRUE ; 37*cdf0e10cSrcweir HelpId = HID_RUBY_DIALOG; 38*cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; 39*cdf0e10cSrcweir Size = MAP_APPFONT ( 227 , 195 ) ; 40*cdf0e10cSrcweir Text [ en-US ] = "Asian Phonetic Guide" ; 41*cdf0e10cSrcweir Moveable = TRUE ; 42*cdf0e10cSrcweir Closeable = TRUE ; 43*cdf0e10cSrcweir CheckBox CB_AUTO_DETECT 44*cdf0e10cSrcweir { 45*cdf0e10cSrcweir HelpID = "svx:CheckBox:RID_SVXDLG_RUBY:CB_AUTO_DETECT"; 46*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 6 ) ; 47*cdf0e10cSrcweir Size = MAP_APPFONT ( 186 , 12 ) ; 48*cdf0e10cSrcweir Text [ en-US ] = "Automatic detection"; 49*cdf0e10cSrcweir }; 50*cdf0e10cSrcweir FixedText FT_LEFT 51*cdf0e10cSrcweir { 52*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 17 ) ; 53*cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 8 ) ; 54*cdf0e10cSrcweir Text [ en-US ] = "Base text"; 55*cdf0e10cSrcweir }; 56*cdf0e10cSrcweir FixedText FT_RIGHT 57*cdf0e10cSrcweir { 58*cdf0e10cSrcweir Pos = MAP_APPFONT ( 109 , 17 ) ; 59*cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 8 ) ; 60*cdf0e10cSrcweir Text [ en-US ] = "Ruby text"; 61*cdf0e10cSrcweir }; 62*cdf0e10cSrcweir Edit ED_LEFT_1 63*cdf0e10cSrcweir { 64*cdf0e10cSrcweir HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_1"; 65*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 30 ) ; 66*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 12 ) ; 67*cdf0e10cSrcweir Hide = False; 68*cdf0e10cSrcweir Border = TRUE; 69*cdf0e10cSrcweir }; 70*cdf0e10cSrcweir Edit ED_RIGHT_1 71*cdf0e10cSrcweir { 72*cdf0e10cSrcweir HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_1"; 73*cdf0e10cSrcweir Pos = MAP_APPFONT ( 109 , 30 ) ; 74*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 12 ) ; 75*cdf0e10cSrcweir Border = TRUE; 76*cdf0e10cSrcweir }; 77*cdf0e10cSrcweir Edit ED_LEFT_2 78*cdf0e10cSrcweir { 79*cdf0e10cSrcweir HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_2"; 80*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 42) ; 81*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 12 ) ; 82*cdf0e10cSrcweir Border = TRUE; 83*cdf0e10cSrcweir }; 84*cdf0e10cSrcweir Edit ED_RIGHT_2 85*cdf0e10cSrcweir { 86*cdf0e10cSrcweir HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_2"; 87*cdf0e10cSrcweir Pos = MAP_APPFONT ( 109 , 42 ) ; 88*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 12 ) ; 89*cdf0e10cSrcweir Border = TRUE; 90*cdf0e10cSrcweir }; 91*cdf0e10cSrcweir Edit ED_LEFT_3 92*cdf0e10cSrcweir { 93*cdf0e10cSrcweir HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_3"; 94*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 54 ) ; 95*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 12 ) ; 96*cdf0e10cSrcweir Border = TRUE; 97*cdf0e10cSrcweir }; 98*cdf0e10cSrcweir Edit ED_RIGHT_3 99*cdf0e10cSrcweir { 100*cdf0e10cSrcweir HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_3"; 101*cdf0e10cSrcweir Pos = MAP_APPFONT ( 109 , 54 ) ; 102*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 12 ) ; 103*cdf0e10cSrcweir Border = TRUE; 104*cdf0e10cSrcweir }; 105*cdf0e10cSrcweir Edit ED_LEFT_4 106*cdf0e10cSrcweir { 107*cdf0e10cSrcweir HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_4"; 108*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 66 ) ; 109*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 12 ) ; 110*cdf0e10cSrcweir Border = TRUE; 111*cdf0e10cSrcweir }; 112*cdf0e10cSrcweir Edit ED_RIGHT_4 113*cdf0e10cSrcweir { 114*cdf0e10cSrcweir HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_4"; 115*cdf0e10cSrcweir Pos = MAP_APPFONT ( 109 , 66 ) ; 116*cdf0e10cSrcweir Size = MAP_APPFONT ( 102 , 12 ) ; 117*cdf0e10cSrcweir Border = TRUE; 118*cdf0e10cSrcweir }; 119*cdf0e10cSrcweir ScrollBar SB_SCROLL 120*cdf0e10cSrcweir { 121*cdf0e10cSrcweir Pos = MAP_APPFONT ( 213 , 30 ) ; 122*cdf0e10cSrcweir Size = MAP_APPFONT ( 8 , 48 ) ; 123*cdf0e10cSrcweir VScroll = TRUE ; 124*cdf0e10cSrcweir Drag = TRUE ; 125*cdf0e10cSrcweir }; 126*cdf0e10cSrcweir FixedText FT_ADJUST 127*cdf0e10cSrcweir { 128*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 82 ) ; 129*cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 8 ) ; 130*cdf0e10cSrcweir Text [ en-US ] = "Alignment"; 131*cdf0e10cSrcweir }; 132*cdf0e10cSrcweir ListBox LB_ADJUST 133*cdf0e10cSrcweir { 134*cdf0e10cSrcweir HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_ADJUST"; 135*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 93) ; 136*cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 60 ) ; 137*cdf0e10cSrcweir DropDown = TRUE; 138*cdf0e10cSrcweir Border = TRUE; 139*cdf0e10cSrcweir StringList [ en-US ] = 140*cdf0e10cSrcweir { 141*cdf0e10cSrcweir "Left" ; 142*cdf0e10cSrcweir "Center" ; 143*cdf0e10cSrcweir "Right" ; 144*cdf0e10cSrcweir "0 1 0" ; 145*cdf0e10cSrcweir "1 2 1" ; 146*cdf0e10cSrcweir }; 147*cdf0e10cSrcweir }; 148*cdf0e10cSrcweir FixedText FT_POSITION 149*cdf0e10cSrcweir { 150*cdf0e10cSrcweir Pos = MAP_APPFONT ( 43 , 82 ) ; 151*cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 8 ) ; 152*cdf0e10cSrcweir Text [ en-US ] = "Position"; 153*cdf0e10cSrcweir }; 154*cdf0e10cSrcweir ListBox LB_POSITION 155*cdf0e10cSrcweir { 156*cdf0e10cSrcweir HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_POSITION"; 157*cdf0e10cSrcweir Pos = MAP_APPFONT ( 43 , 93) ; 158*cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 60 ) ; 159*cdf0e10cSrcweir DropDown = TRUE; 160*cdf0e10cSrcweir Border = TRUE; 161*cdf0e10cSrcweir StringList [ en-US ] = 162*cdf0e10cSrcweir { 163*cdf0e10cSrcweir "Top" ; 164*cdf0e10cSrcweir "Bottom" ; 165*cdf0e10cSrcweir }; 166*cdf0e10cSrcweir }; 167*cdf0e10cSrcweir FixedText FT_CHAR_STYLE 168*cdf0e10cSrcweir { 169*cdf0e10cSrcweir Pos = MAP_APPFONT ( 80 , 82 ) ; 170*cdf0e10cSrcweir Size = MAP_APPFONT ( 141 , 8 ) ; 171*cdf0e10cSrcweir Text [ en-US ] = "Character Style for ruby text"; 172*cdf0e10cSrcweir }; 173*cdf0e10cSrcweir ListBox LB_CHAR_STYLE 174*cdf0e10cSrcweir { 175*cdf0e10cSrcweir HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_CHAR_STYLE"; 176*cdf0e10cSrcweir Pos = MAP_APPFONT ( 80 , 93) ; 177*cdf0e10cSrcweir Size = MAP_APPFONT ( 89 , 60 ) ; 178*cdf0e10cSrcweir DropDown = TRUE; 179*cdf0e10cSrcweir Border = TRUE; 180*cdf0e10cSrcweir Sort = TRUE; 181*cdf0e10cSrcweir }; 182*cdf0e10cSrcweir PushButton PB_STYLIST 183*cdf0e10cSrcweir { 184*cdf0e10cSrcweir HelpID = "svx:PushButton:RID_SVXDLG_RUBY:PB_STYLIST"; 185*cdf0e10cSrcweir Pos = MAP_APPFONT ( 171 , 92 ) ; 186*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 187*cdf0e10cSrcweir Text [ en-US ] = "Styles"; 188*cdf0e10cSrcweir }; 189*cdf0e10cSrcweir FixedText FT_PREVIEW 190*cdf0e10cSrcweir { 191*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 110 ) ; 192*cdf0e10cSrcweir Size = MAP_APPFONT ( 195 , 8 ) ; 193*cdf0e10cSrcweir Text [ en-US ] = "Preview:"; 194*cdf0e10cSrcweir }; 195*cdf0e10cSrcweir Window WIN_PREVIEW 196*cdf0e10cSrcweir { 197*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 121 ) ; 198*cdf0e10cSrcweir Size = MAP_APPFONT ( 215 , 50 ) ; 199*cdf0e10cSrcweir Border = TRUE ; 200*cdf0e10cSrcweir }; 201*cdf0e10cSrcweir OKButton PB_APPLY 202*cdf0e10cSrcweir { 203*cdf0e10cSrcweir DefButton = TRUE; 204*cdf0e10cSrcweir Pos = MAP_APPFONT ( 65 , 175 ) ; 205*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 206*cdf0e10cSrcweir Text [ en-US ] = "~Apply"; 207*cdf0e10cSrcweir }; 208*cdf0e10cSrcweir PushButton PB_CLOSE 209*cdf0e10cSrcweir { 210*cdf0e10cSrcweir HelpID = "svx:PushButton:RID_SVXDLG_RUBY:PB_CLOSE"; 211*cdf0e10cSrcweir Pos = MAP_APPFONT ( 118, 175 ) ; 212*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 213*cdf0e10cSrcweir Text [ en-US ] = "~Close"; 214*cdf0e10cSrcweir }; 215*cdf0e10cSrcweir HelpButton PB_HELP 216*cdf0e10cSrcweir { 217*cdf0e10cSrcweir Pos = MAP_APPFONT ( 171 , 175 ) ; 218*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 219*cdf0e10cSrcweir }; 220*cdf0e10cSrcweir}; 221*cdf0e10cSrcweir 222