2009-10-30 18:36:06 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
2010-02-12 08:01:35 -06:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2009-10-30 18:36:06 -05:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
************************************************************************/
|
2011-09-12 15:53:16 -05:00
|
|
|
|
2009-10-30 18:36:06 -05:00
|
|
|
#include <svtools/controldims.hrc>
|
|
|
|
#include "helpid.hrc"
|
2009-11-02 13:49:14 -06:00
|
|
|
#include <cuires.hrc>
|
2009-10-30 18:36:06 -05:00
|
|
|
#include "backgrnd.hrc"
|
2009-11-02 13:49:14 -06:00
|
|
|
#include <svx/dialogs.hrc>
|
|
|
|
|
2009-10-30 18:36:06 -05:00
|
|
|
// define ----------------------------------------------------------------
|
|
|
|
#define UNLINKED_IMAGE \
|
|
|
|
Text [ en-US ] = "Unlinked graphic" ; \
|
|
|
|
|
|
|
|
// RID_SVXPAGE_BACKGROUND ------------------------------------------------
|
|
|
|
TabPage RID_SVXPAGE_BACKGROUND
|
|
|
|
{
|
|
|
|
HelpId = HID_BACKGROUND ;
|
|
|
|
Hide = TRUE ;
|
2012-05-15 03:10:18 -05:00
|
|
|
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
|
2009-10-30 18:36:06 -05:00
|
|
|
Text [ en-US ] = "Background" ;
|
|
|
|
FixedText FT_SELECTOR
|
|
|
|
{
|
|
|
|
Pos = MAP_APPFONT ( 6 , 4 ) ;
|
|
|
|
Size = MAP_APPFONT ( 24 , 10 ) ;
|
|
|
|
Hide = TRUE ;
|
|
|
|
LeftLabel = TRUE ;
|
|
|
|
Text [ en-US ] = "A~s" ;
|
|
|
|
};
|
|
|
|
ListBox LB_SELECTOR
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_SELECTOR";
|
2009-10-30 18:36:06 -05:00
|
|
|
Hide = TRUE ;
|
|
|
|
Border = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 33 , 3 ) ;
|
|
|
|
Size = MAP_APPFONT ( 82 , 48 ) ;
|
|
|
|
DropDown = TRUE ;
|
|
|
|
StringList [ en-US ] =
|
|
|
|
{
|
|
|
|
< "Color" ; Default ; > ;
|
|
|
|
< "Graphic" ; Default ; > ;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
FixedText FT_TBL_DESC
|
|
|
|
{
|
|
|
|
Pos = MAP_APPFONT ( 145 , 5 ) ;
|
|
|
|
Size = MAP_APPFONT ( 24 , 10 ) ;
|
|
|
|
Hide = TRUE ;
|
|
|
|
LeftLabel = TRUE ;
|
|
|
|
Text [ en-US ] = "F~or" ;
|
|
|
|
};
|
|
|
|
ListBox LB_TBL_BOX
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_TBL_BOX";
|
2009-10-30 18:36:06 -05:00
|
|
|
Hide = TRUE ;
|
|
|
|
Border = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 172 , 3 ) ;
|
|
|
|
Size = MAP_APPFONT ( 82 , 48 ) ;
|
|
|
|
DropDown = TRUE ;
|
|
|
|
StringList [ en-US ] =
|
|
|
|
{
|
|
|
|
< "Cell" ; > ;
|
|
|
|
< "Row" ; > ;
|
|
|
|
< "Table" ; > ;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
ListBox LB_PARA_BOX
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_PARA_BOX";
|
2009-10-30 18:36:06 -05:00
|
|
|
Hide = TRUE ;
|
|
|
|
Border = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 172 , 3 ) ;
|
|
|
|
Size = MAP_APPFONT ( 82 , 48 ) ;
|
|
|
|
DropDown = TRUE ;
|
|
|
|
StringList [ en-US ] =
|
|
|
|
{
|
|
|
|
< "Paragraph" ; > ;
|
|
|
|
< "Character" ; > ;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
// Hintergrund-Brush ----------------------------------------------------
|
|
|
|
Control CT_BORDER
|
|
|
|
{
|
|
|
|
Border = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 12 , 32 ) ;
|
|
|
|
Size = MAP_APPFONT ( 116+2 , 145+2 ) ;
|
|
|
|
DialogControl = TRUE;
|
|
|
|
};
|
|
|
|
Control SET_BGDCOLOR
|
|
|
|
{
|
|
|
|
HelpId = HID_BACKGROUND_CTL_BGDCOLORSET ;
|
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
|
|
Size = MAP_APPFONT ( 116 , 145 ) ;
|
|
|
|
TabStop = TRUE ;
|
|
|
|
};
|
|
|
|
FixedLine GB_BGDCOLOR
|
|
|
|
{
|
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 6 , 21 ) ;
|
|
|
|
Size = MAP_APPFONT ( 248 , 8) ;
|
|
|
|
Text [ en-US ] = "Background color" ;
|
|
|
|
};
|
|
|
|
Window WIN_PREVIEW1
|
|
|
|
{
|
|
|
|
Hide = TRUE ;
|
|
|
|
Border = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 166 , 34 ) ;
|
|
|
|
Size = MAP_APPFONT ( 82 , 40 ) ;
|
|
|
|
};
|
|
|
|
FixedText FT_COL_TRANS
|
|
|
|
{
|
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 166, 74 + RSC_SP_CTRL_Y + 2 ) ;
|
|
|
|
Size = MAP_APPFONT ( 50 , 8) ;
|
|
|
|
Text [ en-US ] = "~Transparency" ;
|
|
|
|
};
|
|
|
|
MetricField MF_COL_TRANS
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_COL_TRANS";
|
2009-10-30 18:36:06 -05:00
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 218 , 74 + RSC_SP_CTRL_Y ) ;
|
|
|
|
Size = MAP_APPFONT ( 30 , 12) ;
|
|
|
|
Border = TRUE ;
|
|
|
|
Group = TRUE ;
|
|
|
|
Left = TRUE ;
|
|
|
|
Repeat = TRUE ;
|
|
|
|
Spin = TRUE ;
|
|
|
|
Unit = FUNIT_CUSTOM ;
|
|
|
|
CustomUnitText = "%" ;
|
|
|
|
SpinSize = 5 ;
|
|
|
|
Minimum = 0;
|
|
|
|
Maximum = 100;
|
|
|
|
};
|
|
|
|
|
|
|
|
// Hintergrund-Bitmap ----------------------------------------------------
|
|
|
|
FixedLine GB_FILE
|
|
|
|
{
|
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 6 , 23 ) ;
|
|
|
|
Size = MAP_APPFONT ( 153 , 8 ) ;
|
|
|
|
Text [ en-US ] = "File" ;
|
|
|
|
};
|
|
|
|
PushButton BTN_BROWSE
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:PushButton:RID_SVXPAGE_BACKGROUND:BTN_BROWSE";
|
2009-10-30 18:36:06 -05:00
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 6 + RSC_SP_FLGR_INNERBORDER_LEFT , 23 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ;
|
|
|
|
Size = MAP_APPFONT ( 60 , 14 ) ;
|
|
|
|
Text [ en-US ] = "~Browse..." ;
|
|
|
|
};
|
|
|
|
CheckBox BTN_LINK
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_LINK";
|
2009-10-30 18:36:06 -05:00
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 6 + RSC_SP_FLGR_INNERBORDER_LEFT + 60 + 2*RSC_SP_CTRL_X, 23 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + 3 ) ;
|
|
|
|
Size = MAP_APPFONT ( 78 , 10 ) ;
|
|
|
|
Text [ en-US ] = "~Link" ;
|
|
|
|
};
|
|
|
|
FixedText FT_FILE
|
|
|
|
{
|
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 6 + RSC_SP_FLGR_INNERBORDER_LEFT , 23 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_CTRL_Y ) ;
|
|
|
|
Size = MAP_APPFONT ( 141 , 8 ) ;
|
|
|
|
UNLINKED_IMAGE
|
|
|
|
};
|
|
|
|
FixedLine GB_POSITION
|
|
|
|
{
|
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 6 , 78 ) ;
|
|
|
|
Size = MAP_APPFONT ( 153 , 8 ) ;
|
|
|
|
Text [ en-US ] = "Type" ;
|
|
|
|
};
|
|
|
|
RadioButton BTN_POSITION
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_POSITION";
|
2009-10-30 18:36:06 -05:00
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 12 , 89 ) ;
|
|
|
|
Size = MAP_APPFONT ( 49 , 10 ) ;
|
|
|
|
Text [ en-US ] = "~Position" ;
|
|
|
|
};
|
|
|
|
RadioButton BTN_AREA
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_AREA";
|
2009-10-30 18:36:06 -05:00
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 12 , 103 ) ;
|
|
|
|
Size = MAP_APPFONT ( 49 , 10 ) ;
|
|
|
|
Text [ en-US ] = "Ar~ea" ;
|
|
|
|
};
|
|
|
|
RadioButton BTN_TILE
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_TILE";
|
2009-10-30 18:36:06 -05:00
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 12 , 117 ) ;
|
|
|
|
Size = MAP_APPFONT ( 49 , 10 ) ;
|
|
|
|
Text [ en-US ] = "~Tile" ;
|
|
|
|
};
|
|
|
|
Control WND_POSITION
|
|
|
|
{
|
|
|
|
HelpId = HID_BACKGROUND_CTL_POSITION ;
|
|
|
|
Hide = TRUE ;
|
|
|
|
Border = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 64 , 89 ) ;
|
|
|
|
Size = MAP_APPFONT ( 90 , 87 ) ;
|
|
|
|
TabStop = TRUE ;
|
|
|
|
};
|
|
|
|
FixedLine FL_GRAPH_TRANS
|
|
|
|
{
|
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 6 , 157 ) ;
|
|
|
|
Size = MAP_APPFONT ( 153 , 8) ;
|
|
|
|
Text [ en-US ] = "Transparency" ;
|
|
|
|
};
|
|
|
|
MetricField MF_GRAPH_TRANS
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_GRAPH_TRANS";
|
2009-10-30 18:36:06 -05:00
|
|
|
Hide = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 12 , 168 ) ;
|
|
|
|
Size = MAP_APPFONT ( 30 , 12) ;
|
|
|
|
Border = TRUE ;
|
|
|
|
Group = TRUE ;
|
|
|
|
Left = TRUE ;
|
|
|
|
Repeat = TRUE ;
|
|
|
|
Spin = TRUE ;
|
|
|
|
Unit = FUNIT_CUSTOM ;
|
|
|
|
CustomUnitText = "%" ;
|
|
|
|
SpinSize = 5 ;
|
|
|
|
Minimum = 0;
|
|
|
|
Maximum = 100;
|
|
|
|
};
|
|
|
|
Window WIN_PREVIEW2
|
|
|
|
{
|
|
|
|
Hide = TRUE ;
|
|
|
|
Border = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 170 , 23 + 4 ) ;
|
|
|
|
Size = MAP_APPFONT ( 81 , 139 ) ;
|
|
|
|
};
|
|
|
|
CheckBox BTN_PREVIEW
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_PREVIEW";
|
2009-10-30 18:36:06 -05:00
|
|
|
Pos = MAP_APPFONT ( 170 , 23 + 4 + 139 + RSC_SP_CTRL_GROUP_Y ) ;
|
|
|
|
Size = MAP_APPFONT ( 141 , 10 ) ;
|
|
|
|
Text [ en-US ] = "Pre~view" ;
|
|
|
|
};
|
|
|
|
String STR_BROWSE
|
|
|
|
{
|
|
|
|
Text [ en-US ] = "Find graphics" ;
|
|
|
|
};
|
|
|
|
String STR_UNLINKED
|
|
|
|
{
|
|
|
|
UNLINKED_IMAGE
|
|
|
|
};
|
|
|
|
};
|
|
|
|
// ********************************************************************** EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|