1*acbf353aSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*acbf353aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*acbf353aSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*acbf353aSAndrew Rist * distributed with this work for additional information 6*acbf353aSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*acbf353aSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*acbf353aSAndrew Rist * "License"); you may not use this file except in compliance 9*acbf353aSAndrew Rist * with the License. You may obtain a copy of the License at 10*acbf353aSAndrew Rist * 11*acbf353aSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*acbf353aSAndrew Rist * 13*acbf353aSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*acbf353aSAndrew Rist * software distributed under the License is distributed on an 15*acbf353aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*acbf353aSAndrew Rist * KIND, either express or implied. See the License for the 17*acbf353aSAndrew Rist * specific language governing permissions and limitations 18*acbf353aSAndrew Rist * under the License. 19*acbf353aSAndrew Rist * 20*acbf353aSAndrew Rist *************************************************************/ 21*acbf353aSAndrew Rist 22*acbf353aSAndrew Rist 23cdf0e10cSrcweir // include --------------------------------------------------------------- 24cdf0e10cSrcweir#include <sfx2/sfx.hrc> 25cdf0e10cSrcweir#include "dialog.hrc" 26cdf0e10cSrcweir#include "templdlg.hrc" 27cdf0e10cSrcweir#include "helpid.hrc" 28cdf0e10cSrcweir 29cdf0e10cSrcweirImageList DLG_STYLE_DESIGNER 30cdf0e10cSrcweir{ 31cdf0e10cSrcweir Prefix = "sc"; 32cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 33cdf0e10cSrcweir IdList = 34cdf0e10cSrcweir { 35cdf0e10cSrcweir SID_STYLE_WATERCAN ; 36cdf0e10cSrcweir SID_STYLE_NEW_BY_EXAMPLE ; 37cdf0e10cSrcweir SID_STYLE_UPDATE_BY_EXAMPLE ; 38cdf0e10cSrcweir }; 39cdf0e10cSrcweir IdCount = { 3 ; }; 40cdf0e10cSrcweir}; 41cdf0e10cSrcweirImageList IMG_LST_STYLE_DESIGNER_HC 42cdf0e10cSrcweir{ 43cdf0e10cSrcweir Prefix = "sch"; 44cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 45cdf0e10cSrcweir IdList = 46cdf0e10cSrcweir { 47cdf0e10cSrcweir SID_STYLE_WATERCAN ; 48cdf0e10cSrcweir SID_STYLE_NEW_BY_EXAMPLE ; 49cdf0e10cSrcweir SID_STYLE_UPDATE_BY_EXAMPLE ; 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir IdCount = { 3 ; }; 52cdf0e10cSrcweir}; 53cdf0e10cSrcweir // RID_STYLECATALOG ------------------------------------------------------ 54cdf0e10cSrcweirModalDialog RID_STYLECATALOG 55cdf0e10cSrcweir{ 56cdf0e10cSrcweir HelpId = CMD_SID_STYLE_CATALOG ; 57cdf0e10cSrcweir OutputSize = TRUE ; 58cdf0e10cSrcweir SVLook = TRUE ; 59cdf0e10cSrcweir Size = MAP_APPFONT ( 181 , 134 ) ; 60cdf0e10cSrcweir Text [ en-US ] = "Style Catalog" ; 61cdf0e10cSrcweir Moveable = TRUE ; 62cdf0e10cSrcweir OKButton BT_OK 63cdf0e10cSrcweir { 64cdf0e10cSrcweir DefButton = TRUE ; 65cdf0e10cSrcweir Pos = MAP_APPFONT ( 123 , 6 ) ; 66cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 67cdf0e10cSrcweir TabStop = TRUE ; 68cdf0e10cSrcweir }; 69cdf0e10cSrcweir CancelButton BT_CANCEL 70cdf0e10cSrcweir { 71cdf0e10cSrcweir Pos = MAP_APPFONT ( 123 , 23 ) ; 72cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 73cdf0e10cSrcweir TabStop = TRUE ; 74cdf0e10cSrcweir }; 75cdf0e10cSrcweir PushButton BT_ORG 76cdf0e10cSrcweir { 77cdf0e10cSrcweir HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_ORG"; 78cdf0e10cSrcweir Pos = MAP_APPFONT ( 123 , 97 ) ; 79cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 80cdf0e10cSrcweir Text [ en-US ] = "~Organizer..." ; 81cdf0e10cSrcweir TabStop = TRUE ; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir PushButton BT_DEL 84cdf0e10cSrcweir { 85cdf0e10cSrcweir HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_DEL"; 86cdf0e10cSrcweir Pos = MAP_APPFONT ( 123 , 78 ) ; 87cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 88cdf0e10cSrcweir Text [ en-US ] = "~Delete..." ; 89cdf0e10cSrcweir TabStop = TRUE ; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir PushButton BT_EDIT 92cdf0e10cSrcweir { 93cdf0e10cSrcweir HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_EDIT"; 94cdf0e10cSrcweir Pos = MAP_APPFONT ( 123 , 60 ) ; 95cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 96cdf0e10cSrcweir Text [ en-US ] = "~Modify..." ; 97cdf0e10cSrcweir TabStop = TRUE ; 98cdf0e10cSrcweir }; 99cdf0e10cSrcweir PushButton BT_NEW 100cdf0e10cSrcweir { 101cdf0e10cSrcweir HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_NEW"; 102cdf0e10cSrcweir Pos = MAP_APPFONT ( 123 , 43 ) ; 103cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 104cdf0e10cSrcweir Text [ en-US ] = "~New..." ; 105cdf0e10cSrcweir TabStop = TRUE ; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir HelpButton BT_HELP 108cdf0e10cSrcweir { 109cdf0e10cSrcweir Pos = MAP_APPFONT ( 123 , 114 ) ; 110cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 111cdf0e10cSrcweir TabStop = TRUE ; 112cdf0e10cSrcweir }; 113cdf0e10cSrcweir ListBox BT_TOOL 114cdf0e10cSrcweir { 115cdf0e10cSrcweir HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_TOOL"; 116cdf0e10cSrcweir Border = TRUE ; 117cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 6 ) ; 118cdf0e10cSrcweir Size = MAP_APPFONT ( 110 , 55 ) ; 119cdf0e10cSrcweir TabStop = TRUE ; 120cdf0e10cSrcweir DropDown = TRUE ; 121cdf0e10cSrcweir }; 122cdf0e10cSrcweir Control BT_VLIST 123cdf0e10cSrcweir { 124cdf0e10cSrcweir HelpId = HID_TEMPLATE_FMT ; 125cdf0e10cSrcweir Border = TRUE ; 126cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 23 ) ; 127cdf0e10cSrcweir Size = MAP_APPFONT ( 110 , 89 ) ; 128cdf0e10cSrcweir TabStop = TRUE ; 129cdf0e10cSrcweir }; 130cdf0e10cSrcweir ListBox BT_FLIST 131cdf0e10cSrcweir { 132cdf0e10cSrcweir HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_FLIST"; 133cdf0e10cSrcweir Border = TRUE ; 134cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 114 ) ; 135cdf0e10cSrcweir Size = MAP_APPFONT ( 110 , 77 ) ; 136cdf0e10cSrcweir TabStop = TRUE ; 137cdf0e10cSrcweir Hide = TRUE ; 138cdf0e10cSrcweir DropDown = TRUE ; 139cdf0e10cSrcweir }; 140cdf0e10cSrcweir}; 141cdf0e10cSrcweir // Strings --------------------------------------------------------------- 142cdf0e10cSrcweirString STR_STYLE_ELEMTLIST 143cdf0e10cSrcweir{ 144cdf0e10cSrcweir Text [ en-US ] = "Style List" ; 145cdf0e10cSrcweir}; 146cdf0e10cSrcweirString STR_STYLE_FILTER_HIERARCHICAL 147cdf0e10cSrcweir{ 148cdf0e10cSrcweir Text [ en-US ] = "Hierarchical" ; 149cdf0e10cSrcweir}; 150cdf0e10cSrcweir // DLG_STYLE_DESIGNER ---------------------------------------------------- 151cdf0e10cSrcweirDockingWindow DLG_STYLE_DESIGNER 152cdf0e10cSrcweir{ 153cdf0e10cSrcweir Text [ en-US ] = "Styles and Formatting" ; 154cdf0e10cSrcweir 155cdf0e10cSrcweir HelpId = CMD_SID_STYLE_DESIGNER ; 156cdf0e10cSrcweir OutputSize = TRUE ; 157cdf0e10cSrcweir Hide = TRUE ; 158cdf0e10cSrcweir SVLook = TRUE ; 159cdf0e10cSrcweir Size = MAP_APPFONT ( 116 , 215 ) ; 160cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; 161cdf0e10cSrcweir Closeable = TRUE ; 162cdf0e10cSrcweir Zoomable = TRUE ; 163cdf0e10cSrcweir Sizeable = TRUE ; 164cdf0e10cSrcweir Dockable = TRUE ; 165cdf0e10cSrcweir EnableResizing = TRUE ; 166cdf0e10cSrcweir // HideWhenDeactivate = TRUE; 167cdf0e10cSrcweir Border = TRUE ; 168cdf0e10cSrcweir Moveable = TRUE ; 169cdf0e10cSrcweir ToolBox TB_ACTION 170cdf0e10cSrcweir { 171cdf0e10cSrcweir Pos = MAP_APPFONT ( 3 , 3 ) ; 172cdf0e10cSrcweir Size = MAP_APPFONT ( 57 , 42 ) ; 173cdf0e10cSrcweir LineCount = 1 ; 174cdf0e10cSrcweir ItemImageList = DLG_STYLE_DESIGNER ; 175cdf0e10cSrcweir HelpId = HID_TEMPLDLG_TOOLBOX_RIGHT ; 176cdf0e10cSrcweir ItemList = 177cdf0e10cSrcweir { 178cdf0e10cSrcweir ToolBoxItem 179cdf0e10cSrcweir { 180cdf0e10cSrcweir HelpId = HID_TEMPLDLG_WATERCAN ; 181cdf0e10cSrcweir Identifier = SID_STYLE_WATERCAN ; 182cdf0e10cSrcweir Text [ en-US ] = "Fill Format Mode" ; 183cdf0e10cSrcweir }; 184cdf0e10cSrcweir ToolBoxItem 185cdf0e10cSrcweir { 186cdf0e10cSrcweir HelpId = HID_TEMPLDLG_NEWBYEXAMPLE ; 187cdf0e10cSrcweir Identifier = SID_STYLE_NEW_BY_EXAMPLE ; 188cdf0e10cSrcweir Text [ en-US ] = "New Style from Selection" ; 189cdf0e10cSrcweir }; 190cdf0e10cSrcweir ToolBoxItem 191cdf0e10cSrcweir { 192cdf0e10cSrcweir HelpId = HID_TEMPLDLG_UPDATEBYEXAMPLE ; 193cdf0e10cSrcweir Identifier = SID_STYLE_UPDATE_BY_EXAMPLE ; 194cdf0e10cSrcweir Text [ en-US ] = "Update Style" ; 195cdf0e10cSrcweir }; 196cdf0e10cSrcweir }; 197cdf0e10cSrcweir }; 198cdf0e10cSrcweir}; 199cdf0e10cSrcweir 200cdf0e10cSrcweir 201cdf0e10cSrcweir 202cdf0e10cSrcweir 203cdf0e10cSrcweir 204cdf0e10cSrcweir 205cdf0e10cSrcweir 206cdf0e10cSrcweir 207cdf0e10cSrcweir 208cdf0e10cSrcweir 209cdf0e10cSrcweir 210cdf0e10cSrcweir 211cdf0e10cSrcweir 212cdf0e10cSrcweir 213cdf0e10cSrcweir 214cdf0e10cSrcweir 215cdf0e10cSrcweir 216cdf0e10cSrcweir 217