1*09a1d057SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*09a1d057SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*09a1d057SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*09a1d057SAndrew Rist * distributed with this work for additional information 6*09a1d057SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*09a1d057SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*09a1d057SAndrew Rist * "License"); you may not use this file except in compliance 9*09a1d057SAndrew Rist * with the License. You may obtain a copy of the License at 10*09a1d057SAndrew Rist * 11*09a1d057SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*09a1d057SAndrew Rist * 13*09a1d057SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*09a1d057SAndrew Rist * software distributed under the License is distributed on an 15*09a1d057SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*09a1d057SAndrew Rist * KIND, either express or implied. See the License for the 17*09a1d057SAndrew Rist * specific language governing permissions and limitations 18*09a1d057SAndrew Rist * under the License. 19*09a1d057SAndrew Rist * 20*09a1d057SAndrew Rist *************************************************************/ 21*09a1d057SAndrew Rist 22*09a1d057SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "svx/fmresids.hrc" 25cdf0e10cSrcweir#include <svx/svxids.hrc> 26cdf0e10cSrcweir#include <svx/dialogs.hrc> 27cdf0e10cSrcweir#include <sfx2/sfxsids.hrc> 28cdf0e10cSrcweir#include "globlmn.hrc" 29cdf0e10cSrcweir#include "helpid.hrc" 30cdf0e10cSrcweir#include "fmhelp.hrc" 31cdf0e10cSrcweir 32cdf0e10cSrcweirMenu RID_FM_TEXTATTRIBUTE_MENU 33cdf0e10cSrcweir{ 34cdf0e10cSrcweir ItemList = 35cdf0e10cSrcweir { 36cdf0e10cSrcweir MenuItem 37cdf0e10cSrcweir { 38cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_FONT 39cdf0e10cSrcweir }; 40cdf0e10cSrcweir MenuItem 41cdf0e10cSrcweir { 42cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT 43cdf0e10cSrcweir }; 44cdf0e10cSrcweir MenuItem 45cdf0e10cSrcweir { 46cdf0e10cSrcweir Identifier = MENU_FM_TEXTATTRIBITES_STYLE; 47cdf0e10cSrcweir HelpID = HID_MENU_FM_TEXTATTRIBUTES_STYLE; 48cdf0e10cSrcweir Text [ en-US ] = "St~yle"; 49cdf0e10cSrcweir SubMenu = Menu 50cdf0e10cSrcweir { 51cdf0e10cSrcweir ItemList = 52cdf0e10cSrcweir { 53cdf0e10cSrcweir MenuItem 54cdf0e10cSrcweir { 55cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_WEIGHT 56cdf0e10cSrcweir }; 57cdf0e10cSrcweir MenuItem 58cdf0e10cSrcweir { 59cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_POSTURE 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir MenuItem 62cdf0e10cSrcweir { 63cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_OVERLINE 64cdf0e10cSrcweir }; 65cdf0e10cSrcweir MenuItem 66cdf0e10cSrcweir { 67cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_UNDERLINE 68cdf0e10cSrcweir }; 69cdf0e10cSrcweir MenuItem 70cdf0e10cSrcweir { 71cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_STRIKEOUT 72cdf0e10cSrcweir }; 73cdf0e10cSrcweir MenuItem 74cdf0e10cSrcweir { 75cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_SHADOWED 76cdf0e10cSrcweir }; 77cdf0e10cSrcweir MenuItem 78cdf0e10cSrcweir { 79cdf0e10cSrcweir ITEM_FORMAT_ATTR_CHAR_CONTOUR 80cdf0e10cSrcweir }; 81cdf0e10cSrcweir MenuItem { Separator = TRUE; }; 82cdf0e10cSrcweir MenuItem 83cdf0e10cSrcweir { 84cdf0e10cSrcweir ITEM_FORMAT_SET_SUPER_SCRIPT 85cdf0e10cSrcweir }; 86cdf0e10cSrcweir MenuItem 87cdf0e10cSrcweir { 88cdf0e10cSrcweir ITEM_FORMAT_SET_SUB_SCRIPT 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir }; 92cdf0e10cSrcweir }; 93cdf0e10cSrcweir MenuItem 94cdf0e10cSrcweir { 95cdf0e10cSrcweir Identifier = MENU_FM_TEXTATTRIBITES_ALIGNMENT; 96cdf0e10cSrcweir HelpID = HID_MENU_FM_TEXTATTRIBUTES_ALIGNMENT; 97cdf0e10cSrcweir Text [ en-US ] = "~Alignment"; 98cdf0e10cSrcweir RadioCheck = TRUE; 99cdf0e10cSrcweir SubMenu = Menu 100cdf0e10cSrcweir { 101cdf0e10cSrcweir ItemList = 102cdf0e10cSrcweir { 103cdf0e10cSrcweir MenuItem 104cdf0e10cSrcweir { 105cdf0e10cSrcweir RadioCheck = TRUE; 106cdf0e10cSrcweir ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT 107cdf0e10cSrcweir }; 108cdf0e10cSrcweir MenuItem 109cdf0e10cSrcweir { 110cdf0e10cSrcweir RadioCheck = TRUE; 111cdf0e10cSrcweir ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT 112cdf0e10cSrcweir }; 113cdf0e10cSrcweir MenuItem 114cdf0e10cSrcweir { 115cdf0e10cSrcweir RadioCheck = TRUE; 116cdf0e10cSrcweir ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER 117cdf0e10cSrcweir }; 118cdf0e10cSrcweir MenuItem 119cdf0e10cSrcweir { 120cdf0e10cSrcweir ITEM_FORMAT_ATTR_PARA_ADJUST_BLOCK 121cdf0e10cSrcweir RadioCheck = TRUE; 122cdf0e10cSrcweir }; 123cdf0e10cSrcweir }; 124cdf0e10cSrcweir }; 125cdf0e10cSrcweir }; 126cdf0e10cSrcweir MenuItem 127cdf0e10cSrcweir { 128cdf0e10cSrcweir Identifier = MENU_FM_TEXTATTRIBITES_SPACING; 129cdf0e10cSrcweir HelpID = HID_MENU_FM_TEXTATTRIBUTES_SPACING; 130cdf0e10cSrcweir Text [ en-US ] = "~Line Spacing"; 131cdf0e10cSrcweir _MenuItemFlags = MIB_RADIOCHECK; 132cdf0e10cSrcweir SubMenu = Menu 133cdf0e10cSrcweir { 134cdf0e10cSrcweir ItemList = 135cdf0e10cSrcweir { 136cdf0e10cSrcweir MenuItem 137cdf0e10cSrcweir { 138cdf0e10cSrcweir RadioCheck = TRUE; 139cdf0e10cSrcweir ITEM_FORMAT_PARA_LINESPACE_10 140cdf0e10cSrcweir }; 141cdf0e10cSrcweir MenuItem 142cdf0e10cSrcweir { 143cdf0e10cSrcweir RadioCheck = TRUE; 144cdf0e10cSrcweir ITEM_FORMAT_PARA_LINESPACE_15 145cdf0e10cSrcweir }; 146cdf0e10cSrcweir MenuItem 147cdf0e10cSrcweir { 148cdf0e10cSrcweir RadioCheck = TRUE; 149cdf0e10cSrcweir ITEM_FORMAT_PARA_LINESPACE_20 150cdf0e10cSrcweir }; 151cdf0e10cSrcweir }; 152cdf0e10cSrcweir }; 153cdf0e10cSrcweir }; 154cdf0e10cSrcweir }; 155cdf0e10cSrcweir}; 156cdf0e10cSrcweir 157cdf0e10cSrcweirTabDialog RID_SVXDLG_TEXTCONTROL_CHARATTR 158cdf0e10cSrcweir{ 159cdf0e10cSrcweir OutputSize = TRUE; 160cdf0e10cSrcweir SVLook = TRUE; 161cdf0e10cSrcweir Moveable = TRUE; 162cdf0e10cSrcweir 163cdf0e10cSrcweir Text [ en-US ] = "Character"; 164cdf0e10cSrcweir 165cdf0e10cSrcweir TabControl 1 166cdf0e10cSrcweir { 167cdf0e10cSrcweir OutputSize = TRUE; 168cdf0e10cSrcweir PageList = 169cdf0e10cSrcweir { 170cdf0e10cSrcweir PageItem 171cdf0e10cSrcweir { 172cdf0e10cSrcweir Identifier = RID_SVXPAGE_CHAR_NAME; 173cdf0e10cSrcweir Text [ en-US ] = "Font"; 174cdf0e10cSrcweir }; 175cdf0e10cSrcweir PageItem 176cdf0e10cSrcweir { 177cdf0e10cSrcweir Identifier = RID_SVXPAGE_CHAR_EFFECTS; 178cdf0e10cSrcweir Text [ en-US ] = "Font Effects"; 179cdf0e10cSrcweir }; 180cdf0e10cSrcweir PageItem 181cdf0e10cSrcweir { 182cdf0e10cSrcweir Identifier = RID_SVXPAGE_CHAR_POSITION; 183cdf0e10cSrcweir Text [ en-US ] = "Position"; 184cdf0e10cSrcweir }; 185cdf0e10cSrcweir }; 186cdf0e10cSrcweir }; 187cdf0e10cSrcweir}; 188cdf0e10cSrcweir 189cdf0e10cSrcweirTabDialog RID_SVXDLG_TEXTCONTROL_PARAATTR 190cdf0e10cSrcweir{ 191cdf0e10cSrcweir OutputSize = TRUE; 192cdf0e10cSrcweir SVLook = TRUE; 193cdf0e10cSrcweir Moveable = TRUE; 194cdf0e10cSrcweir 195cdf0e10cSrcweir Text [ en-US ] = "Paragraph"; 196cdf0e10cSrcweir 197cdf0e10cSrcweir TabControl 1 198cdf0e10cSrcweir { 199cdf0e10cSrcweir OutputSize = TRUE; 200cdf0e10cSrcweir PageList = 201cdf0e10cSrcweir { 202cdf0e10cSrcweir PageItem 203cdf0e10cSrcweir { 204cdf0e10cSrcweir Identifier = RID_SVXPAGE_STD_PARAGRAPH; 205cdf0e10cSrcweir Text [ en-US ] = "Indents & Spacing"; 206cdf0e10cSrcweir }; 207cdf0e10cSrcweir PageItem 208cdf0e10cSrcweir { 209cdf0e10cSrcweir Identifier = RID_SVXPAGE_ALIGN_PARAGRAPH; 210cdf0e10cSrcweir Text [ en-US ] = "Alignment"; 211cdf0e10cSrcweir }; 212cdf0e10cSrcweir PageItem 213cdf0e10cSrcweir { 214cdf0e10cSrcweir Identifier = RID_SVXPAGE_PARA_ASIAN; 215cdf0e10cSrcweir Text [ en-US ] = "Asian Typography"; 216cdf0e10cSrcweir }; 217cdf0e10cSrcweir PageItem 218cdf0e10cSrcweir { 219cdf0e10cSrcweir Identifier = RID_SVXPAGE_TABULATOR; 220cdf0e10cSrcweir Text [ en-US ] = "Tabs"; 221cdf0e10cSrcweir }; 222cdf0e10cSrcweir }; 223cdf0e10cSrcweir }; 224cdf0e10cSrcweir}; 225