1acbf353aSAndrew Rist/************************************************************** 2*745cba7fSmseidel * 3acbf353aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4acbf353aSAndrew Rist * or more contributor license agreements. See the NOTICE file 5acbf353aSAndrew Rist * distributed with this work for additional information 6acbf353aSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7acbf353aSAndrew Rist * to you under the Apache License, Version 2.0 (the 8acbf353aSAndrew Rist * "License"); you may not use this file except in compliance 9acbf353aSAndrew Rist * with the License. You may obtain a copy of the License at 10*745cba7fSmseidel * 11acbf353aSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*745cba7fSmseidel * 13acbf353aSAndrew Rist * Unless required by applicable law or agreed to in writing, 14acbf353aSAndrew Rist * software distributed under the License is distributed on an 15acbf353aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16acbf353aSAndrew Rist * KIND, either express or implied. See the License for the 17acbf353aSAndrew Rist * specific language governing permissions and limitations 18acbf353aSAndrew Rist * under the License. 19*745cba7fSmseidel * 20acbf353aSAndrew Rist *************************************************************/ 21acbf353aSAndrew Rist 22acbf353aSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include <sfx2/sfx.hrc> 25cdf0e10cSrcweir#include "dialog.hrc" 26cdf0e10cSrcweir#include "newstyle.hrc" 27cdf0e10cSrcweir#include "sfx2/sfxcommands.h" 28cdf0e10cSrcweir 29cdf0e10cSrcweirModalDialog DLG_NEW_STYLE_BY_EXAMPLE 30cdf0e10cSrcweir{ 31cdf0e10cSrcweir HelpId = CMD_SID_STYLE_NEW_BY_EXAMPLE ; 32cdf0e10cSrcweir OutputSize = TRUE ; 33cdf0e10cSrcweir SVLook = TRUE ; 34*745cba7fSmseidel Size = MAP_APPFONT ( 177, 112 ) ; 35cdf0e10cSrcweir Text [ en-US ] = "Create Style" ; 36cdf0e10cSrcweir Moveable = TRUE ; 37cdf0e10cSrcweir FixedLine FL_COL 38cdf0e10cSrcweir { 39*745cba7fSmseidel Pos = MAP_APPFONT ( 6, 3 ) ; 40*745cba7fSmseidel Size = MAP_APPFONT ( 109, 8 ) ; 41cdf0e10cSrcweir Text [ en-US ] = "Style name" ; 42cdf0e10cSrcweir }; 43cdf0e10cSrcweir ComboBox LB_COL 44cdf0e10cSrcweir { 45*745cba7fSmseidel HelpID = "sfx2:ComboBox:DLG_NEW_STYLE_BY_EXAMPLE:LB_COL" ; 46*745cba7fSmseidel Pos = MAP_APPFONT ( 12, 14 ) ; 47*745cba7fSmseidel Size = MAP_APPFONT ( 94, 92 ) ; 48cdf0e10cSrcweir TabStop = TRUE ; 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir OKButton BT_OK 51cdf0e10cSrcweir { 52cdf0e10cSrcweir Disable = TRUE ; 53*745cba7fSmseidel Pos = MAP_APPFONT ( 121, 6 ) ; 54*745cba7fSmseidel Size = MAP_APPFONT ( 50, 14 ) ; 55cdf0e10cSrcweir TabStop = TRUE ; 56cdf0e10cSrcweir DefButton = TRUE ; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir CancelButton BT_CANCEL 59cdf0e10cSrcweir { 60*745cba7fSmseidel Pos = MAP_APPFONT ( 121, 23 ) ; 61*745cba7fSmseidel Size = MAP_APPFONT ( 50, 14 ) ; 62cdf0e10cSrcweir TabStop = TRUE ; 63cdf0e10cSrcweir }; 64cdf0e10cSrcweir QueryBox MSG_OVERWRITE 65cdf0e10cSrcweir { 66cdf0e10cSrcweir Buttons = WB_YES_NO ; 67cdf0e10cSrcweir DefButton = WB_DEF_NO ; 68cdf0e10cSrcweir Message [ en-US ] = "Style already exists. Overwrite?" ; 69cdf0e10cSrcweir }; 70cdf0e10cSrcweir}; 71cdf0e10cSrcweir 72*745cba7fSmseidel// ********************************************************************** EOF 73