222 lines
6.1 KiB
Plaintext
222 lines
6.1 KiB
Plaintext
/*************************************************************************
|
|
*
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* This file is part of OpenOffice.org.
|
|
*
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
* only, as published by the Free Software Foundation.
|
|
*
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License version 3 for more details
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
* <http://www.openoffice.org/license.html>
|
|
* for a copy of the LGPLv3 License.
|
|
*
|
|
************************************************************************/
|
|
|
|
#include <rubydialog.hrc>
|
|
#include "helpid.hrc"
|
|
#include <svx/dialogs.hrc>
|
|
|
|
ModelessDialog RID_SVXDLG_RUBY
|
|
{
|
|
OutputSize = TRUE ;
|
|
Hide = TRUE ;
|
|
SVLook = TRUE ;
|
|
HelpId = HID_RUBY_DIALOG;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( 227 , 195 ) ;
|
|
Text [ en-US ] = "Asian Phonetic Guide" ;
|
|
Moveable = TRUE ;
|
|
Closeable = TRUE ;
|
|
CheckBox CB_AUTO_DETECT
|
|
{
|
|
HelpID = "svx:CheckBox:RID_SVXDLG_RUBY:CB_AUTO_DETECT";
|
|
Pos = MAP_APPFONT ( 6, 6 ) ;
|
|
Size = MAP_APPFONT ( 186 , 12 ) ;
|
|
Text [ en-US ] = "Automatic detection";
|
|
};
|
|
FixedText FT_LEFT
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 17 ) ;
|
|
Size = MAP_APPFONT ( 80 , 8 ) ;
|
|
Text [ en-US ] = "Base text";
|
|
};
|
|
FixedText FT_RIGHT
|
|
{
|
|
Pos = MAP_APPFONT ( 109 , 17 ) ;
|
|
Size = MAP_APPFONT ( 80 , 8 ) ;
|
|
Text [ en-US ] = "Ruby text";
|
|
};
|
|
Edit ED_LEFT_1
|
|
{
|
|
HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_1";
|
|
Pos = MAP_APPFONT ( 6 , 30 ) ;
|
|
Size = MAP_APPFONT ( 102 , 12 ) ;
|
|
Hide = False;
|
|
Border = TRUE;
|
|
};
|
|
Edit ED_RIGHT_1
|
|
{
|
|
HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_1";
|
|
Pos = MAP_APPFONT ( 109 , 30 ) ;
|
|
Size = MAP_APPFONT ( 102 , 12 ) ;
|
|
Border = TRUE;
|
|
};
|
|
Edit ED_LEFT_2
|
|
{
|
|
HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_2";
|
|
Pos = MAP_APPFONT ( 6 , 42) ;
|
|
Size = MAP_APPFONT ( 102 , 12 ) ;
|
|
Border = TRUE;
|
|
};
|
|
Edit ED_RIGHT_2
|
|
{
|
|
HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_2";
|
|
Pos = MAP_APPFONT ( 109 , 42 ) ;
|
|
Size = MAP_APPFONT ( 102 , 12 ) ;
|
|
Border = TRUE;
|
|
};
|
|
Edit ED_LEFT_3
|
|
{
|
|
HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_3";
|
|
Pos = MAP_APPFONT ( 6 , 54 ) ;
|
|
Size = MAP_APPFONT ( 102 , 12 ) ;
|
|
Border = TRUE;
|
|
};
|
|
Edit ED_RIGHT_3
|
|
{
|
|
HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_3";
|
|
Pos = MAP_APPFONT ( 109 , 54 ) ;
|
|
Size = MAP_APPFONT ( 102 , 12 ) ;
|
|
Border = TRUE;
|
|
};
|
|
Edit ED_LEFT_4
|
|
{
|
|
HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_LEFT_4";
|
|
Pos = MAP_APPFONT ( 6 , 66 ) ;
|
|
Size = MAP_APPFONT ( 102 , 12 ) ;
|
|
Border = TRUE;
|
|
};
|
|
Edit ED_RIGHT_4
|
|
{
|
|
HelpID = "svx:Edit:RID_SVXDLG_RUBY:ED_RIGHT_4";
|
|
Pos = MAP_APPFONT ( 109 , 66 ) ;
|
|
Size = MAP_APPFONT ( 102 , 12 ) ;
|
|
Border = TRUE;
|
|
};
|
|
ScrollBar SB_SCROLL
|
|
{
|
|
Pos = MAP_APPFONT ( 213 , 30 ) ;
|
|
Size = MAP_APPFONT ( 8 , 48 ) ;
|
|
VScroll = TRUE ;
|
|
Drag = TRUE ;
|
|
};
|
|
FixedText FT_ADJUST
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 82 ) ;
|
|
Size = MAP_APPFONT ( 35 , 8 ) ;
|
|
Text [ en-US ] = "Alignment";
|
|
};
|
|
ListBox LB_ADJUST
|
|
{
|
|
HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_ADJUST";
|
|
Pos = MAP_APPFONT ( 6 , 93) ;
|
|
Size = MAP_APPFONT ( 35 , 60 ) ;
|
|
DropDown = TRUE;
|
|
Border = TRUE;
|
|
StringList [ en-US ] =
|
|
{
|
|
"Left" ;
|
|
"Center" ;
|
|
"Right" ;
|
|
"0 1 0" ;
|
|
"1 2 1" ;
|
|
};
|
|
};
|
|
FixedText FT_POSITION
|
|
{
|
|
Pos = MAP_APPFONT ( 43 , 82 ) ;
|
|
Size = MAP_APPFONT ( 35 , 8 ) ;
|
|
Text [ en-US ] = "Position";
|
|
};
|
|
ListBox LB_POSITION
|
|
{
|
|
HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_POSITION";
|
|
Pos = MAP_APPFONT ( 43 , 93) ;
|
|
Size = MAP_APPFONT ( 35 , 60 ) ;
|
|
DropDown = TRUE;
|
|
Border = TRUE;
|
|
StringList [ en-US ] =
|
|
{
|
|
"Top" ;
|
|
"Bottom" ;
|
|
};
|
|
};
|
|
FixedText FT_CHAR_STYLE
|
|
{
|
|
Pos = MAP_APPFONT ( 80 , 82 ) ;
|
|
Size = MAP_APPFONT ( 141 , 8 ) ;
|
|
Text [ en-US ] = "Character Style for ruby text";
|
|
};
|
|
ListBox LB_CHAR_STYLE
|
|
{
|
|
HelpID = "svx:ListBox:RID_SVXDLG_RUBY:LB_CHAR_STYLE";
|
|
Pos = MAP_APPFONT ( 80 , 93) ;
|
|
Size = MAP_APPFONT ( 89 , 60 ) ;
|
|
DropDown = TRUE;
|
|
Border = TRUE;
|
|
Sort = TRUE;
|
|
};
|
|
PushButton PB_STYLIST
|
|
{
|
|
HelpID = "svx:PushButton:RID_SVXDLG_RUBY:PB_STYLIST";
|
|
Pos = MAP_APPFONT ( 171 , 92 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "Styles";
|
|
};
|
|
FixedText FT_PREVIEW
|
|
{
|
|
Pos = MAP_APPFONT ( 6, 110 ) ;
|
|
Size = MAP_APPFONT ( 195 , 8 ) ;
|
|
Text [ en-US ] = "Preview:";
|
|
};
|
|
Window WIN_PREVIEW
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 121 ) ;
|
|
Size = MAP_APPFONT ( 215 , 50 ) ;
|
|
Border = TRUE ;
|
|
};
|
|
OKButton PB_APPLY
|
|
{
|
|
DefButton = TRUE;
|
|
Pos = MAP_APPFONT ( 65 , 175 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "~Apply";
|
|
};
|
|
PushButton PB_CLOSE
|
|
{
|
|
HelpID = "svx:PushButton:RID_SVXDLG_RUBY:PB_CLOSE";
|
|
Pos = MAP_APPFONT ( 118, 175 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "~Close";
|
|
};
|
|
HelpButton PB_HELP
|
|
{
|
|
Pos = MAP_APPFONT ( 171 , 175 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
};
|
|
};
|
|
|