259 lines
6.1 KiB
Text
259 lines
6.1 KiB
Text
/*************************************************************************
|
|
*
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* This file is part of OpenOffice.org.
|
|
*
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
* only, as published by the Free Software Foundation.
|
|
*
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License version 3 for more details
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
* <http://www.openoffice.org/license.html>
|
|
* for a copy of the LGPLv3 License.
|
|
*
|
|
************************************************************************/
|
|
// include ---------------------------------------------------------------
|
|
#include <sfx2/sfx.hrc>
|
|
#include "doc.hrc"
|
|
#include "new.hrc"
|
|
// pragma ----------------------------------------------------------------
|
|
|
|
// DLG_NEW_FILE ----------------------------------------------------------
|
|
ModalDialog DLG_NEW_FILE
|
|
{
|
|
HelpId = SID_NEWDOC ;
|
|
OutputSize = TRUE ;
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT ( 336 , 96 ) ;
|
|
Text [ en-US ] = "New" ;
|
|
Moveable = TRUE ;
|
|
OKButton BT_OK
|
|
{
|
|
Pos = MAP_APPFONT ( 274 , 6 ) ;
|
|
Size = MAP_APPFONT ( 56 , 14 ) ;
|
|
DefButton = TRUE ;
|
|
};
|
|
CancelButton BT_CANCEL
|
|
{
|
|
Pos = MAP_APPFONT ( 274 , 23 ) ;
|
|
Size = MAP_APPFONT ( 56 , 14 ) ;
|
|
};
|
|
HelpButton BT_HELP
|
|
{
|
|
Pos = MAP_APPFONT ( 274 , 43 ) ;
|
|
Size = MAP_APPFONT ( 56 , 14 ) ;
|
|
};
|
|
ListBox LB_REGION
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 6 , 18 ) ;
|
|
Size = MAP_APPFONT ( 127 , 72 ) ;
|
|
CurPos = 0 ;
|
|
};
|
|
FixedText FT_REGION
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 6 ) ;
|
|
Size = MAP_APPFONT ( 97 , 10 ) ;
|
|
Text [ en-US ] = "~Categories" ;
|
|
Left = TRUE ;
|
|
};
|
|
FixedText FT_TEMPLATE
|
|
{
|
|
Pos = MAP_APPFONT ( 139 , 6 ) ;
|
|
Size = MAP_APPFONT ( 97 , 10 ) ;
|
|
Text [ en-US ] = "T~emplates" ;
|
|
Left = TRUE ;
|
|
};
|
|
ListBox LB_TEMPLATE
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 139 , 18 ) ;
|
|
Size = MAP_APPFONT ( 127 , 72 ) ;
|
|
CurPos = 0 ;
|
|
};
|
|
MoreButton BT_MORE
|
|
{
|
|
Pos = MAP_APPFONT ( 274 , 70 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
Text [ en-US ] = "~More" ;
|
|
Delta = 148 ;
|
|
MapUnit = MAP_APPFONT ;
|
|
};
|
|
Window WIN_PREVIEW
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 6 , 110 ) ;
|
|
Size = MAP_APPFONT ( 127 , 129 ) ;
|
|
Hide = TRUE ;
|
|
SVLook = FALSE ;
|
|
};
|
|
CheckBox BTN_PREVIEW
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 96 ) ;
|
|
Size = MAP_APPFONT ( 97 , 10 ) ;
|
|
Text [ en-US ] = "Pre~view" ;
|
|
Hide = TRUE ;
|
|
};
|
|
FixedLine GB_DOCINFO
|
|
{
|
|
Pos = MAP_APPFONT ( 139 , 97 ) ;
|
|
Size = MAP_APPFONT ( 186 , 8 ) ;
|
|
Hide = TRUE ;
|
|
Text [ en-US ] = "Description" ;
|
|
};
|
|
CheckBox CB_TEXT_STYLE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 94 ) ;
|
|
Size = MAP_APPFONT ( 50 , 10 ) ;
|
|
Hide = TRUE;
|
|
Text [ en-US ] = "Te~xt" ;
|
|
};
|
|
CheckBox CB_FRAME_STYLE
|
|
{
|
|
Pos = MAP_APPFONT ( 60 , 94 ) ;
|
|
Size = MAP_APPFONT ( 50 , 10 ) ;
|
|
Hide = TRUE;
|
|
Text [ en-US ] = "~Frame" ;
|
|
};
|
|
CheckBox CB_PAGE_STYLE
|
|
{
|
|
Pos = MAP_APPFONT ( 114 , 94 ) ;
|
|
Size = MAP_APPFONT ( 50 , 10 ) ;
|
|
Hide = TRUE;
|
|
Text [ en-US ] = "~Pages" ;
|
|
};
|
|
CheckBox CB_NUM_STYLE
|
|
{
|
|
Pos = MAP_APPFONT ( 168 , 94 ) ;
|
|
Size = MAP_APPFONT ( 50 , 10 ) ;
|
|
Hide = TRUE;
|
|
Text [ en-US ] = "N~umbering" ;
|
|
};
|
|
CheckBox CB_MERGE_STYLE
|
|
{
|
|
Pos = MAP_APPFONT ( 222 , 94 ) ;
|
|
Size = MAP_APPFONT ( 50 , 10 ) ;
|
|
Hide = TRUE;
|
|
Text [ en-US ] = "~Overwrite" ;
|
|
};
|
|
PushButton PB_LOAD_FILE
|
|
{
|
|
Pos = MAP_APPFONT ( 274 , 92 ) ;
|
|
Size = MAP_APPFONT ( 56 , 14 ) ;
|
|
Hide = TRUE;
|
|
Text [ en-US ] = "From File...";
|
|
};
|
|
String STR_LOAD_TEMPLATE
|
|
{
|
|
Text [ en-US ] = "Load Styles" ;
|
|
};
|
|
FixedText FT_TITLE
|
|
{
|
|
Pos = MAP_APPFONT ( 145 , 108 ) ;
|
|
Size = MAP_APPFONT ( 175 , 10 ) ;
|
|
Text [ en-US ] = "~Title" ;
|
|
Hide = TRUE ;
|
|
};
|
|
Edit ED_TITLE
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 145 , 121 ) ;
|
|
Size = MAP_APPFONT ( 175 , 12 ) ;
|
|
ReadOnly = TRUE ;
|
|
Hide = TRUE ;
|
|
};
|
|
FixedText FT_THEMA
|
|
{
|
|
Pos = MAP_APPFONT ( 145 , 135 ) ;
|
|
Size = MAP_APPFONT ( 175 , 10 ) ;
|
|
Text [ en-US ] = "Subject" ;
|
|
Hide = TRUE ;
|
|
};
|
|
Edit ED_THEMA
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 145 , 148 ) ;
|
|
Size = MAP_APPFONT ( 175 , 12 ) ;
|
|
ReadOnly = TRUE ;
|
|
Hide = TRUE ;
|
|
};
|
|
FixedText FT_KEYWORDS
|
|
{
|
|
Pos = MAP_APPFONT ( 145 , 162 ) ;
|
|
Size = MAP_APPFONT ( 175 , 10 ) ;
|
|
Text [ en-US ] = "~Key words" ;
|
|
Hide = TRUE ;
|
|
};
|
|
Edit ED_KEYWORDS
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 145 , 175 ) ;
|
|
Size = MAP_APPFONT ( 175 , 12 ) ;
|
|
ReadOnly = TRUE ;
|
|
Hide = TRUE ;
|
|
};
|
|
FixedText FT_DESC
|
|
{
|
|
Pos = MAP_APPFONT ( 145 , 189 ) ;
|
|
Size = MAP_APPFONT ( 175 , 10 ) ;
|
|
Text [ en-US ] = "~Description" ;
|
|
Hide = TRUE ;
|
|
};
|
|
MultiLineEdit ED_DESC
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 144 , 202 ) ;
|
|
Size = MAP_APPFONT ( 175 , 32 ) ;
|
|
IgnoreTab = TRUE ;
|
|
ReadOnly = TRUE ;
|
|
Hide = TRUE ;
|
|
};
|
|
ExtraData =
|
|
{
|
|
103;
|
|
44;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|