1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 // include --------------------------------------------------------------- 28#include <sfx2/sfx.hrc> 29#include "dialog.hrc" 30#include "templdlg.hrc" 31#include "helpid.hrc" 32 33ImageList DLG_STYLE_DESIGNER 34{ 35 Prefix = "sc"; 36 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 37 IdList = 38 { 39 SID_STYLE_WATERCAN ; 40 SID_STYLE_NEW_BY_EXAMPLE ; 41 SID_STYLE_UPDATE_BY_EXAMPLE ; 42 }; 43 IdCount = { 3 ; }; 44}; 45ImageList IMG_LST_STYLE_DESIGNER_HC 46{ 47 Prefix = "sch"; 48 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 49 IdList = 50 { 51 SID_STYLE_WATERCAN ; 52 SID_STYLE_NEW_BY_EXAMPLE ; 53 SID_STYLE_UPDATE_BY_EXAMPLE ; 54 }; 55 IdCount = { 3 ; }; 56}; 57 // RID_STYLECATALOG ------------------------------------------------------ 58ModalDialog RID_STYLECATALOG 59{ 60 HelpId = CMD_SID_STYLE_CATALOG ; 61 OutputSize = TRUE ; 62 SVLook = TRUE ; 63 Size = MAP_APPFONT ( 181 , 134 ) ; 64 Text [ en-US ] = "Style Catalog" ; 65 Moveable = TRUE ; 66 OKButton BT_OK 67 { 68 DefButton = TRUE ; 69 Pos = MAP_APPFONT ( 123 , 6 ) ; 70 Size = MAP_APPFONT ( 50 , 14 ) ; 71 TabStop = TRUE ; 72 }; 73 CancelButton BT_CANCEL 74 { 75 Pos = MAP_APPFONT ( 123 , 23 ) ; 76 Size = MAP_APPFONT ( 50 , 14 ) ; 77 TabStop = TRUE ; 78 }; 79 PushButton BT_ORG 80 { 81 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_ORG"; 82 Pos = MAP_APPFONT ( 123 , 97 ) ; 83 Size = MAP_APPFONT ( 50 , 14 ) ; 84 Text [ en-US ] = "~Organizer..." ; 85 TabStop = TRUE ; 86 }; 87 PushButton BT_DEL 88 { 89 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_DEL"; 90 Pos = MAP_APPFONT ( 123 , 78 ) ; 91 Size = MAP_APPFONT ( 50 , 14 ) ; 92 Text [ en-US ] = "~Delete..." ; 93 TabStop = TRUE ; 94 }; 95 PushButton BT_EDIT 96 { 97 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_EDIT"; 98 Pos = MAP_APPFONT ( 123 , 60 ) ; 99 Size = MAP_APPFONT ( 50 , 14 ) ; 100 Text [ en-US ] = "~Modify..." ; 101 TabStop = TRUE ; 102 }; 103 PushButton BT_NEW 104 { 105 HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_NEW"; 106 Pos = MAP_APPFONT ( 123 , 43 ) ; 107 Size = MAP_APPFONT ( 50 , 14 ) ; 108 Text [ en-US ] = "~New..." ; 109 TabStop = TRUE ; 110 }; 111 HelpButton BT_HELP 112 { 113 Pos = MAP_APPFONT ( 123 , 114 ) ; 114 Size = MAP_APPFONT ( 50 , 14 ) ; 115 TabStop = TRUE ; 116 }; 117 ListBox BT_TOOL 118 { 119 HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_TOOL"; 120 Border = TRUE ; 121 Pos = MAP_APPFONT ( 6 , 6 ) ; 122 Size = MAP_APPFONT ( 110 , 55 ) ; 123 TabStop = TRUE ; 124 DropDown = TRUE ; 125 }; 126 Control BT_VLIST 127 { 128 HelpId = HID_TEMPLATE_FMT ; 129 Border = TRUE ; 130 Pos = MAP_APPFONT ( 6 , 23 ) ; 131 Size = MAP_APPFONT ( 110 , 89 ) ; 132 TabStop = TRUE ; 133 }; 134 ListBox BT_FLIST 135 { 136 HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_FLIST"; 137 Border = TRUE ; 138 Pos = MAP_APPFONT ( 6 , 114 ) ; 139 Size = MAP_APPFONT ( 110 , 77 ) ; 140 TabStop = TRUE ; 141 Hide = TRUE ; 142 DropDown = TRUE ; 143 }; 144}; 145 // Strings --------------------------------------------------------------- 146String STR_STYLE_ELEMTLIST 147{ 148 Text [ en-US ] = "Style List" ; 149}; 150String STR_STYLE_FILTER_HIERARCHICAL 151{ 152 Text [ en-US ] = "Hierarchical" ; 153}; 154 // DLG_STYLE_DESIGNER ---------------------------------------------------- 155DockingWindow DLG_STYLE_DESIGNER 156{ 157 Text [ en-US ] = "Styles and Formatting" ; 158 159 HelpId = CMD_SID_STYLE_DESIGNER ; 160 OutputSize = TRUE ; 161 Hide = TRUE ; 162 SVLook = TRUE ; 163 Size = MAP_APPFONT ( 116 , 215 ) ; 164 Pos = MAP_APPFONT ( 0 , 0 ) ; 165 Closeable = TRUE ; 166 Zoomable = TRUE ; 167 Sizeable = TRUE ; 168 Dockable = TRUE ; 169 EnableResizing = TRUE ; 170 // HideWhenDeactivate = TRUE; 171 Border = TRUE ; 172 Moveable = TRUE ; 173 ToolBox TB_ACTION 174 { 175 Pos = MAP_APPFONT ( 3 , 3 ) ; 176 Size = MAP_APPFONT ( 57 , 42 ) ; 177 LineCount = 1 ; 178 ItemImageList = DLG_STYLE_DESIGNER ; 179 HelpId = HID_TEMPLDLG_TOOLBOX_RIGHT ; 180 ItemList = 181 { 182 ToolBoxItem 183 { 184 HelpId = HID_TEMPLDLG_WATERCAN ; 185 Identifier = SID_STYLE_WATERCAN ; 186 Text [ en-US ] = "Fill Format Mode" ; 187 }; 188 ToolBoxItem 189 { 190 HelpId = HID_TEMPLDLG_NEWBYEXAMPLE ; 191 Identifier = SID_STYLE_NEW_BY_EXAMPLE ; 192 Text [ en-US ] = "New Style from Selection" ; 193 }; 194 ToolBoxItem 195 { 196 HelpId = HID_TEMPLDLG_UPDATEBYEXAMPLE ; 197 Identifier = SID_STYLE_UPDATE_BY_EXAMPLE ; 198 Text [ en-US ] = "Update Style" ; 199 }; 200 }; 201 }; 202}; 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221