1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include "formresid.hrc"
21 #include "newdatatype.hrc"
23 #define DIALOG_WIDTH 150
24 #define DIALOG_HEIGHT 55
25 #define BUTTON_WIDTH 50
26 #define BUTTON_HEIGHT 14
28 ModalDialog RID_DLG_NEW_DATA_TYPE
30 HelpID = "extensions:ModalDialog:RID_DLG_NEW_DATA_TYPE";
35 Size = MAP_APPFONT ( DIALOG_WIDTH, DIALOG_HEIGHT ) ;
37 Text [ en-US ] = "New Data Type";
41 Pos = MAP_APPFONT( 6, 6 );
42 Size = MAP_APPFONT( DIALOG_WIDTH - 2 * 6, 8 );
44 Text [ en-US ] = "Type a name for the new data type:";
49 HelpID = "extensions:Edit:RID_DLG_NEW_DATA_TYPE:ED_NAME";
50 Pos = MAP_APPFONT( 6, 17 );
51 Size = MAP_APPFONT( DIALOG_WIDTH - 2 * 6, 12 );
57 Pos = MAP_APPFONT( DIALOG_WIDTH - 6 - BUTTON_WIDTH - 3 - BUTTON_WIDTH, 35 );
58 Size = MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT );
62 CancelButton PB_CANCEL
64 Pos = MAP_APPFONT( DIALOG_WIDTH - 6 - BUTTON_WIDTH, 35 );
65 Size = MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT );
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */