From f710a2db4c6d2994e2ab3d44bf5d3f825a8f5da4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 18 Jan 2013 12:48:37 +0000 Subject: remove backgrnd.src Change-Id: Ic868667955eca21c348a05e49ff30fa6fa8b7043 --- cui/AllLangResTarget_cui.mk | 1 - cui/source/inc/helpid.hrc | 3 - cui/source/tabpages/backgrnd.cxx | 1 - cui/source/tabpages/backgrnd.hrc | 56 -------- cui/source/tabpages/backgrnd.src | 268 --------------------------------------- 5 files changed, 329 deletions(-) delete mode 100644 cui/source/tabpages/backgrnd.hrc delete mode 100644 cui/source/tabpages/backgrnd.src diff --git a/cui/AllLangResTarget_cui.mk b/cui/AllLangResTarget_cui.mk index 192a9119eea8..f8a133ed0f58 100644 --- a/cui/AllLangResTarget_cui.mk +++ b/cui/AllLangResTarget_cui.mk @@ -107,7 +107,6 @@ $(eval $(call gb_SrsTarget_add_files,cui/res,\ cui/source/options/webconninfo.src \ cui/source/tabpages/align.src \ cui/source/tabpages/autocdlg.src \ - cui/source/tabpages/backgrnd.src \ cui/source/tabpages/bbdlg.src \ cui/source/tabpages/border.src \ cui/source/tabpages/connect.src \ diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc index 496372fb4527..82c15674f72b 100644 --- a/cui/source/inc/helpid.hrc +++ b/cui/source/inc/helpid.hrc @@ -273,9 +273,6 @@ #define HID_OFAPAGE_AUTOCORR_EXCEPT "CUI_HID_OFAPAGE_AUTOCORR_EXCEPT" #define HID_OFAPAGE_AUTOCORR_QUOTE "CUI_HID_OFAPAGE_AUTOCORR_QUOTE" #define HID_OFAPAGE_AUTOCOMPLETE_OPTIONS "CUI_HID_OFAPAGE_AUTOCOMPLETE_OPTIONS" -#define HID_BACKGROUND "CUI_HID_BACKGROUND" -#define HID_BACKGROUND_CTL_BGDCOLORSET "CUI_HID_BACKGROUND_CTL_BGDCOLORSET" -#define HID_BACKGROUND_CTL_POSITION "CUI_HID_BACKGROUND_CTL_POSITION" #define HID_PAGE_CONNECTION "CUI_HID_PAGE_CONNECTION" #define HID_PAGE_CONNECTION_CTL_PREVIEW "CUI_HID_PAGE_CONNECTION_CTL_PREVIEW" #define HID_PAGE_DISTRIBUTE "CUI_HID_PAGE_DISTRIBUTE" diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index 44a5de5a03cd..a9c393448948 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -31,7 +31,6 @@ #define _SVX_BACKGRND_CXX #include -#include "backgrnd.hrc" #include #include #include diff --git a/cui/source/tabpages/backgrnd.hrc b/cui/source/tabpages/backgrnd.hrc deleted file mode 100644 index 0df16aa4c9b6..000000000000 --- a/cui/source/tabpages/backgrnd.hrc +++ /dev/null @@ -1,56 +0,0 @@ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#ifndef _SVX_BACKGRND_HRC -#define _SVX_BACKGRND_HRC - -// defines ------------------------------------------------------------------ - -#define FT_SELECTOR 1 -#define LB_SELECTOR 1 - -#define SET_BGDCOLOR 10 -#define GB_BGDCOLOR 11 -#define CT_BORDER 16 -#define FT_PREVIEW 20 -#define WIN_PREVIEW1 21 - -#define BTN_BROWSE 20 -#define FT_FILE 21 -#define BTN_LINK 22 -#define BTN_PREVIEW 23 -#define GB_FILE 24 -#define BTN_AREA 25 -#define BTN_TILE 26 -#define BTN_POSITION 27 -#define WND_POSITION 28 -#define GB_POSITION 29 -#define WIN_PREVIEW2 30 -#define LB_TBL_BOX 32 -#define FT_TBL_DESC 33 -#define LB_PARA_BOX 34 -#define FT_COL_TRANS 35 -#define MF_COL_TRANS 36 -#define FL_GRAPH_TRANS 37 -#define MF_GRAPH_TRANS 38 - -#define STR_BROWSE 1 -#define STR_UNLINKED 2 - - -#endif - diff --git a/cui/source/tabpages/backgrnd.src b/cui/source/tabpages/backgrnd.src deleted file mode 100644 index 330337cc482d..000000000000 --- a/cui/source/tabpages/backgrnd.src +++ /dev/null @@ -1,268 +0,0 @@ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include -#include "helpid.hrc" -#include -#include "backgrnd.hrc" -#include - - // define ---------------------------------------------------------------- -#define UNLINKED_IMAGE \ - Text [ en-US ] = "Unlinked graphic" ; \ - - // RID_SVXPAGE_BACKGROUND ------------------------------------------------ -TabPage RID_SVXPAGE_BACKGROUND -{ - HelpId = HID_BACKGROUND ; - Hide = TRUE ; - Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; - 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 - { - HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_SELECTOR"; - 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 - { - HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_TBL_BOX"; - 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 - { - HelpID = "cui:ListBox:RID_SVXPAGE_BACKGROUND:LB_PARA_BOX"; - 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 - { - HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_COL_TRANS"; - 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 - { - HelpID = "cui:PushButton:RID_SVXPAGE_BACKGROUND:BTN_BROWSE"; - 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 - { - HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_LINK"; - 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 - { - HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_POSITION"; - Hide = TRUE ; - Pos = MAP_APPFONT ( 12 , 89 ) ; - Size = MAP_APPFONT ( 49 , 10 ) ; - Text [ en-US ] = "~Position" ; - }; - RadioButton BTN_AREA - { - HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_AREA"; - Hide = TRUE ; - Pos = MAP_APPFONT ( 12 , 103 ) ; - Size = MAP_APPFONT ( 49 , 10 ) ; - Text [ en-US ] = "Ar~ea" ; - }; - RadioButton BTN_TILE - { - HelpID = "cui:RadioButton:RID_SVXPAGE_BACKGROUND:BTN_TILE"; - 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 - { - HelpID = "cui:MetricField:RID_SVXPAGE_BACKGROUND:MF_GRAPH_TRANS"; - 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 - { - HelpID = "cui:CheckBox:RID_SVXPAGE_BACKGROUND:BTN_PREVIEW"; - 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 -- cgit