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