xref: /trunk/main/sc/source/ui/styleui/scstyles.src (revision 82177cdb)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include "sc.hrc"
25#include <svl/style.hrc>
26#define IMPL_FAMILY(family,filter) \
27	StyleFamily = family;						\
28	FilterList = { filter }
29
30String STR_STYLE_FILTER_USED
31{
32	Text [ en-US ] = "Applied Styles" ;
33};
34String STR_STYLE_FILTER_USERDEF
35{
36	Text [ en-US ] = "Custom Styles" ;
37};
38String STR_STYLE_FILTER_ALL
39{
40	Text [ en-US ] = "All Styles" ;
41};
42
43 //------------------------------------------------------------------------
44SfxStyleFamilies DLG_STYLE_DESIGNER
45{
46	StyleFamilyList =
47	{
48		SfxStyleFamilyItem
49		{
50			IMPL_FAMILY ( SFX_STYLE_FAMILY_PARA ,
51			< STR_STYLE_FILTER_ALL ; SFXSTYLEBIT_ALL ; > ;
52			< STR_STYLE_FILTER_USED ; SFXSTYLEBIT_USED ; > ;
53			< STR_STYLE_FILTER_USERDEF ; SFXSTYLEBIT_USERDEF ; > ; ) ;
54			Text [ en-US ] = "Cell Styles" ;
55};
56		SfxStyleFamilyItem
57		{
58			IMPL_FAMILY ( SFX_STYLE_FAMILY_PAGE ,
59			< STR_STYLE_FILTER_ALL ; SFXSTYLEBIT_ALL ; > ;
60			< STR_STYLE_FILTER_USERDEF ; SFXSTYLEBIT_USERDEF ; > ; ) ;
61			Text [ en-US ] = "Page Styles" ;
62};
63	};
64
65	//	style family images are now taken from an ImageList
66	//	(for each family, there's one entry in the IdList)
67	ImageList 1	// == BMP_COLOR_NORMAL + 1
68	{
69        Prefix = "sf";
70		MaskColor = STD_MASKCOLOR ;
71		IdList = { 1; 2; };
72};
73	ImageList 2	// == BMP_COLOR_HIGHCONTRAST + 1
74	{
75        Prefix = "sfh";
76		MaskColor = SC_HC_MASKCOLOR ;
77		IdList = { 1; 2; };
78};
79};
80