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