patattr.hxx (38d50f7b) patattr.hxx (3a02adb1)
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

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

21
22
23
24#ifndef SC_SCPATATR_HXX
25#define SC_SCPATATR_HXX
26
27#include <svl/poolitem.hxx>
28#include <svl/itemset.hxx>
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

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

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>
29#include <unotools/fontcvt.hxx>
30#include <editeng/svxenum.hxx>
31#include "scdllapi.h"
32
33class Font;
34class OutputDevice;
35class Fraction;
36class ScStyleSheet;

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

47 SC_AUTOCOL_PRINT, // black or white, depending on background
48 SC_AUTOCOL_DISPLAY, // from style settings, or black/white if needed
49 SC_AUTOCOL_IGNOREFONT, // like DISPLAY, but ignore stored font color (assume COL_AUTO)
50 SC_AUTOCOL_IGNOREBACK, // like DISPLAY, but ignore stored background color (use configured color)
51 SC_AUTOCOL_IGNOREALL // like DISPLAY, but ignore stored font and background colors
52};
53
54
30#include <unotools/fontcvt.hxx>
31#include <editeng/svxenum.hxx>
32#include "scdllapi.h"
33
34class Font;
35class OutputDevice;
36class Fraction;
37class ScStyleSheet;

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

48 SC_AUTOCOL_PRINT, // black or white, depending on background
49 SC_AUTOCOL_DISPLAY, // from style settings, or black/white if needed
50 SC_AUTOCOL_IGNOREFONT, // like DISPLAY, but ignore stored font color (assume COL_AUTO)
51 SC_AUTOCOL_IGNOREBACK, // like DISPLAY, but ignore stored background color (use configured color)
52 SC_AUTOCOL_IGNOREALL // like DISPLAY, but ignore stored font and background colors
53};
54
55
55class SC_DLLPUBLIC ScPatternAttr: public SfxSetItem
56class SC_DLLPUBLIC ScPatternAttr: public SfxSetItem, public SfxBroadcaster
56{
57 String* pName;
58 ScStyleSheet* pStyle;
59public:
60 static ScDocument* pDoc;
61 ScPatternAttr(SfxItemSet* pItemSet, const String& rStyleName);
62 ScPatternAttr(SfxItemSet* pItemSet, ScStyleSheet* pStyleSheet = NULL);
63 ScPatternAttr(SfxItemPool* pItemPool);

--- 126 unchanged lines hidden ---
57{
58 String* pName;
59 ScStyleSheet* pStyle;
60public:
61 static ScDocument* pDoc;
62 ScPatternAttr(SfxItemSet* pItemSet, const String& rStyleName);
63 ScPatternAttr(SfxItemSet* pItemSet, ScStyleSheet* pStyleSheet = NULL);
64 ScPatternAttr(SfxItemPool* pItemPool);

--- 126 unchanged lines hidden ---