xref: /aoo41x/main/sc/source/ui/styleui/scstyles.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "sc.hrc"
29#include <svl/style.hrc>
30#define IMPL_FAMILY(family,filter) \
31	StyleFamily = family;						\
32	FilterList = { filter }
33
34String STR_STYLE_FILTER_USED
35{
36	Text [ en-US ] = "Applied Styles" ;
37};
38String STR_STYLE_FILTER_USERDEF
39{
40	Text [ en-US ] = "Custom Styles" ;
41};
42String STR_STYLE_FILTER_ALL
43{
44	Text [ en-US ] = "All Styles" ;
45};
46
47 //------------------------------------------------------------------------
48SfxStyleFamilies DLG_STYLE_DESIGNER
49{
50	StyleFamilyList =
51	{
52		SfxStyleFamilyItem
53		{
54			IMPL_FAMILY ( SFX_STYLE_FAMILY_PARA ,
55			< STR_STYLE_FILTER_ALL ; SFXSTYLEBIT_ALL ; > ;
56			< STR_STYLE_FILTER_USED ; SFXSTYLEBIT_USED ; > ;
57			< STR_STYLE_FILTER_USERDEF ; SFXSTYLEBIT_USERDEF ; > ; ) ;
58			Text [ en-US ] = "Cell Styles" ;
59};
60		SfxStyleFamilyItem
61		{
62			IMPL_FAMILY ( SFX_STYLE_FAMILY_PAGE ,
63			< STR_STYLE_FILTER_ALL ; SFXSTYLEBIT_ALL ; > ;
64			< STR_STYLE_FILTER_USERDEF ; SFXSTYLEBIT_USERDEF ; > ; ) ;
65			Text [ en-US ] = "Page Styles" ;
66};
67	};
68
69	//	style family images are now taken from an ImageList
70	//	(for each family, there's one entry in the IdList)
71	ImageList 1	// == BMP_COLOR_NORMAL + 1
72	{
73        Prefix = "sf";
74		MaskColor = STD_MASKCOLOR ;
75		IdList = { 1; 2; };
76};
77	ImageList 2	// == BMP_COLOR_HIGHCONTRAST + 1
78	{
79        Prefix = "sfh";
80		MaskColor = SC_HC_MASKCOLOR ;
81		IdList = { 1; 2; };
82};
83};
84