patattr.hxx (3a02adb1) patattr.hxx (6a261b58)
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

--- 5 unchanged lines hidden (view full) ---

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
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

--- 5 unchanged lines hidden (view full) ---

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#ifndef SC_SCPATATR_HXX
25#define SC_SCPATATR_HXX
26
27#include <svl/poolitem.hxx>
28#include <svl/itemset.hxx>
29#include <svl/brdcst.hxx>
30#include <unotools/fontcvt.hxx>
31#include <editeng/svxenum.hxx>
32#include "scdllapi.h"
33
34class Font;
35class OutputDevice;
36class Fraction;
37class ScStyleSheet;
38class SvNumberFormatter;
39class ScDocument;
40
22#ifndef SC_SCPATATR_HXX
23#define SC_SCPATATR_HXX
24
25#include <svl/poolitem.hxx>
26#include <svl/itemset.hxx>
27#include <svl/brdcst.hxx>
28#include <unotools/fontcvt.hxx>
29#include <editeng/svxenum.hxx>
30#include "scdllapi.h"
31
32class Font;
33class OutputDevice;
34class Fraction;
35class ScStyleSheet;
36class SvNumberFormatter;
37class ScDocument;
38
41
42// how to treat COL_AUTO in GetFont:
43
44enum ScAutoFontColorMode
45{
46 SC_AUTOCOL_RAW, // COL_AUTO is returned
47 SC_AUTOCOL_BLACK, // always use black
48 SC_AUTOCOL_PRINT, // black or white, depending on background
49 SC_AUTOCOL_DISPLAY, // from style settings, or black/white if needed

--- 70 unchanged lines hidden (view full) ---

120 void SetStyleSheet(ScStyleSheet* pNewStyle);
121 const ScStyleSheet* GetStyleSheet() const { return pStyle; }
122 const String* GetStyleName() const;
123 void UpdateStyleSheet();
124 void StyleToName();
125
126 sal_Bool IsVisible() const;
127 sal_Bool IsVisibleEqual( const ScPatternAttr& rOther ) const;
39// how to treat COL_AUTO in GetFont:
40
41enum ScAutoFontColorMode
42{
43 SC_AUTOCOL_RAW, // COL_AUTO is returned
44 SC_AUTOCOL_BLACK, // always use black
45 SC_AUTOCOL_PRINT, // black or white, depending on background
46 SC_AUTOCOL_DISPLAY, // from style settings, or black/white if needed

--- 70 unchanged lines hidden (view full) ---

117 void SetStyleSheet(ScStyleSheet* pNewStyle);
118 const ScStyleSheet* GetStyleSheet() const { return pStyle; }
119 const String* GetStyleName() const;
120 void UpdateStyleSheet();
121 void StyleToName();
122
123 sal_Bool IsVisible() const;
124 sal_Bool IsVisibleEqual( const ScPatternAttr& rOther ) const;
125 sal_Bool IsEqual( const ScPatternAttr& rOther ) const;
128
129 /** If font is an old symbol font StarBats/StarMath
130 with text encoding RTL_TEXTENC_SYMBOL */
131 sal_Bool IsSymbolFont() const;
132
133//UNUSED2008-05 /** Create a FontToSubsFontConverter if needed for
134//UNUSED2008-05 this pattern, else return 0.
135//UNUSED2008-05

--- 55 unchanged lines hidden ---
126
127 /** If font is an old symbol font StarBats/StarMath
128 with text encoding RTL_TEXTENC_SYMBOL */
129 sal_Bool IsSymbolFont() const;
130
131//UNUSED2008-05 /** Create a FontToSubsFontConverter if needed for
132//UNUSED2008-05 this pattern, else return 0.
133//UNUSED2008-05

--- 55 unchanged lines hidden ---