1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 // include --------------------------------------------------------------- 24#include <cuires.hrc> 25#include "helpid.hrc" 26#include "align.hrc" 27#include <svx/dialogs.hrc> 28 29#define MASKCOLOR \ 30 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; } 31 32 // define --------------------------------------------------------------- 33#define IL_LOCK_MCOL Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; } 34 // RID_SVXPAGE_ALIGNMENT ------------------------------------------------- 35TabPage RID_SVXPAGE_ALIGNMENT 36{ 37 HelpId = HID_ALIGNMENT ; 38 Hide = TRUE ; 39 Text [ en-US ] = "Alignment" ; 40 Size = MAP_APPFONT ( 260 , 185 ) ; 41 SVLook = TRUE ; 42 FixedLine FL_ALIGNMENT 43 { 44 Pos = MAP_APPFONT ( 6 , 3 ) ; 45 Size = MAP_APPFONT ( 248 , 8 ) ; 46 Text [ en-US ] = "Text alignment"; 47 }; 48 FixedText FT_HORALIGN 49 { 50 Pos = MAP_APPFONT ( 12 ,14 ) ; 51 Size = MAP_APPFONT ( 100 , 8 ) ; 52 Text [ en-US ] = "Hori~zontal"; 53 }; 54 ListBox LB_HORALIGN 55 { 56 HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_HORALIGN"; 57 Border = TRUE; 58 Pos = MAP_APPFONT ( 12 , 25 ); 59 Size = MAP_APPFONT ( 100 , 60 ); 60 TabStop = TRUE; 61 DropDown = TRUE; 62 StringList [ en-US ] = 63 { 64 < "Default" ; ALIGNDLG_HORALIGN_STD ; > ; 65 < "Left" ; ALIGNDLG_HORALIGN_LEFT ; > ; 66 < "Center" ; ALIGNDLG_HORALIGN_CENTER ; > ; 67 < "Right" ; ALIGNDLG_HORALIGN_RIGHT ; > ; 68 < "Justified" ; ALIGNDLG_HORALIGN_BLOCK ; > ; 69 < "Filled" ; ALIGNDLG_HORALIGN_FILL ; > ; 70 }; 71 }; 72 FixedText FT_INDENT 73 { 74 Pos = MAP_APPFONT ( 118 , 14 ) ; 75 Size = MAP_APPFONT ( 40 , 8 ) ; 76 Text [ en-US ] = "I~ndent" ; 77 }; 78 MetricField ED_INDENT 79 { 80 HelpID = "cui:MetricField:RID_SVXPAGE_ALIGNMENT:ED_INDENT"; 81 Border = TRUE ; 82 Pos = MAP_APPFONT ( 118 , 25 ) ; 83 Size = MAP_APPFONT ( 36 , 12 ) ; 84 Repeat = TRUE ; 85 Spin = TRUE ; 86 Minimum = 0 ; 87 Maximum = 990 ; 88 SpinSize = 10 ; 89 Unit = FUNIT_POINT ; 90 }; 91 FixedText FT_VERALIGN 92 { 93 Pos = MAP_APPFONT ( 160 , 14 ) ; 94 Size = MAP_APPFONT ( 88 , 8 ) ; 95 Text [ en-US ] = "~Vertical"; 96 }; 97 ListBox LB_VERALIGN 98 { 99 HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_VERALIGN"; 100 Border = TRUE; 101 Pos = MAP_APPFONT ( 160 , 25 ); 102 Size = MAP_APPFONT ( 88 , 60 ); 103 TabStop = TRUE; 104 DropDown = TRUE; 105 StringList [ en-US ] = 106 { 107 < "Default" ; ALIGNDLG_VERALIGN_STD ; > ; 108 < "Top" ; ALIGNDLG_VERALIGN_TOP ; > ; 109 < "Middle" ; ALIGNDLG_VERALIGN_MID ; > ; 110 < "Bottom" ; ALIGNDLG_VERALIGN_BOTTOM ; > ; 111 }; 112 }; 113 FixedLine FL_ORIENTATION 114 { 115 Pos = MAP_APPFONT ( 6 , 43 ) ; 116 Size = MAP_APPFONT ( 248 , 8 ) ; 117 Text [ en-US ] = "Text orientation" ; 118 }; 119 TriStateBox BTN_TXTSTACKED 120 { 121 HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_TXTSTACKED"; 122 Pos = MAP_APPFONT ( 133 , 54 ) ; 123 Size = MAP_APPFONT ( 115 , 10 ) ; 124 TabStop = TRUE ; 125 Text[ en-US ] = "Ve~rtically stacked"; 126 }; 127 Control CTR_DIAL 128 { 129 HelpId = HID_ALIGNMENT_CTR_DIAL ; 130 Pos = MAP_APPFONT ( 12 , 60 ) ; 131 Size = MAP_APPFONT ( 42 , 43 ) ; 132 Text = "ABCD" ; 133 }; 134 FixedText FT_DEGREES 135 { 136 Pos = MAP_APPFONT ( 72 , 54 ) ; 137 Size = MAP_APPFONT ( 50 , 8 ) ; 138 Text [ en-US ] = "De~grees"; 139 }; 140 NumericField NF_DEGREES 141 { 142 HelpID = "cui:NumericField:RID_SVXPAGE_ALIGNMENT:NF_DEGREES"; 143 Border = TRUE ; 144 Pos = MAP_APPFONT ( 72 , 65 ) ; 145 Size = MAP_APPFONT ( 40 , 12 ) ; 146 TabStop = TRUE ; 147 Repeat = TRUE ; 148 Spin = TRUE ; 149 Minimum = 0 ; 150 Maximum = 359 ; 151 SpinSize = 5 ; 152 StrictFormat = TRUE ; 153 }; 154 FixedText FT_BORDER_LOCK 155 { 156 Pos = MAP_APPFONT ( 72 , 83 ) ; 157 Size = MAP_APPFONT ( 70 , 8 ) ; 158 Text [ en-US ] = "Re~ference edge" ; 159 }; 160 Control CTR_BORDER_LOCK 161 { 162 HelpId = HID_ALIGNMENT_CTR_BORDER_LOCK ; 163 Pos = MAP_APPFONT ( 72 , 94 ) ; 164 Size = MAP_APPFONT ( 50 , 15 ) ; 165 TabStop = TRUE ; 166 }; 167 TriStateBox BTN_ASIAN_VERTICAL 168 { 169 HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_ASIAN_VERTICAL"; 170 Pos = MAP_APPFONT ( 143 , 68 ) ; 171 Size = MAP_APPFONT ( 105 , 10 ) ; 172 TabStop = TRUE ; 173 Text [ en-US ] = "Asian layout ~mode" ; 174 }; 175 FixedLine FL_WRAP 176 { 177 Pos = MAP_APPFONT ( 6 , 115 ) ; 178 Size = MAP_APPFONT ( 248 , 8 ) ; 179 Text [ en-US ] = "Properties" ; 180 }; 181 TriStateBox BTN_WRAP 182 { 183 HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_WRAP"; 184 Pos = MAP_APPFONT ( 12 , 126 ) ; 185 Size = MAP_APPFONT ( 236 , 10 ) ; 186 Text [ en-US ] = "~Wrap text automatically" ; 187 }; 188 TriStateBox BTN_HYPH 189 { 190 HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_HYPH"; 191 Pos = MAP_APPFONT ( 22 , 139 ) ; 192 Size = MAP_APPFONT ( 226 , 10 ) ; 193 Text [ en-US ] = "Hyphenation ~active"; 194 }; 195 TriStateBox BTN_SHRINK 196 { 197 HelpID = "cui:TriStateBox:RID_SVXPAGE_ALIGNMENT:BTN_SHRINK"; 198 Pos = MAP_APPFONT( 12, 152 ); 199 Size = MAP_APPFONT( 236, 10 ); 200 Text [ en-US ] = "~Shrink to fit cell size"; 201 }; 202 FixedText FT_TEXTFLOW 203 { 204 Pos = MAP_APPFONT( 12 , 170 ); 205 Size = MAP_APPFONT( 64 , 8 ); 206 Text [ en-US ] = "Te~xt direction"; 207 }; 208 ListBox LB_FRAMEDIR 209 { 210 HelpID = "cui:ListBox:RID_SVXPAGE_ALIGNMENT:LB_FRAMEDIR"; 211 Pos = MAP_APPFONT( 78 , 168 ); 212 Size = MAP_APPFONT( 170 , 50 ); 213 Border = TRUE; 214 DropDown = TRUE; 215 }; 216 ImageList IL_LOCK_BMPS 217 { 218 Prefix = "lo"; 219 MaskColor = IL_LOCK_MCOL ; 220 IdList = 221 { 222 IID_BOTTOMLOCK ; 223 IID_TOPLOCK ; 224 IID_CELLLOCK ; 225 }; 226 IdCount = { 3 ; }; 227 }; 228 ImageList IL_LOCK_BMPS_HC 229 { 230 Prefix = "loh"; 231 MaskColor = IL_LOCK_MCOL ; 232 IdList = 233 { 234 IID_BOTTOMLOCK ; 235 IID_TOPLOCK ; 236 IID_CELLLOCK ; 237 }; 238 IdCount = { 3 ; }; 239 }; 240 String STR_BOTTOMLOCK 241 { 242 Text [ en-US ] = "Text Extension From Lower Cell Border" ; 243 }; 244 String STR_TOPLOCK 245 { 246 Text [ en-US ] = "Text Extension From Upper Cell Border" ; 247 }; 248 String STR_CELLLOCK 249 { 250 Text [ en-US ] = "Text Extension Inside Cell" ; 251 }; 252}; 253 // ********************************************************************** EOF 254 255