1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: fillinfo.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef SC_FILLINFO_HXX
32 #define SC_FILLINFO_HXX
34 #include <svx/framelinkarray.hxx>
46 // ============================================================================
48 const BYTE SC_ROTDIR_NONE
= 0;
49 const BYTE SC_ROTDIR_STANDARD
= 1;
50 const BYTE SC_ROTDIR_LEFT
= 2;
51 const BYTE SC_ROTDIR_RIGHT
= 3;
52 const BYTE SC_ROTDIR_CENTER
= 4;
54 const BYTE SC_CLIPMARK_NONE
= 0;
55 const BYTE SC_CLIPMARK_LEFT
= 1;
56 const BYTE SC_CLIPMARK_RIGHT
= 2;
57 const BYTE SC_CLIPMARK_SIZE
= 64;
68 // ============================================================================
74 const ScPatternAttr
* pPatternAttr
;
75 const SfxItemSet
* pConditionSet
;
77 const SvxBrushItem
* pBackground
;
79 const SvxBoxItem
* pLinesAttr
; /// Original item from document.
80 const SvxLineItem
* mpTLBRLine
; /// Original item from document.
81 const SvxLineItem
* mpBLTRLine
; /// Original item from document.
83 const SvxShadowItem
* pShadowAttr
; // Original-Item (intern)
85 const SvxShadowItem
* pHShadowOrigin
;
86 const SvxShadowItem
* pVShadowOrigin
;
88 ScShadowPart eHShadowPart
: 4; // Schatten effektiv zum Zeichnen
89 ScShadowPart eVShadowPart
: 4;
95 BOOL bEmptyCellText
: 1;
98 BOOL bHOverlapped
: 1;
99 BOOL bVOverlapped
: 1;
100 BOOL bAutoFilter
: 1;
101 BOOL bPushButton
: 1;
102 bool bPopupButton
: 1;
103 bool bFilterActive
:1;
105 BOOL bPrinted
: 1; // bei Bedarf (Pagebreak-Modus)
107 BOOL bHideGrid
: 1; // output-intern
108 BOOL bEditEngine
: 1; // output-intern
111 const SCCOL SC_ROTMAX_NONE
= SCCOL_MAX
;
113 // ============================================================================
121 SCCOL nRotMaxCol
; // SC_ROTMAX_NONE, wenn nichts
127 BOOL bChanged
; // TRUE, wenn nicht getestet
129 inline explicit RowInfo() : pCellInfo( 0 ) {}
132 RowInfo( const RowInfo
& );
133 RowInfo
& operator=( const RowInfo
& );
136 // ============================================================================
140 svx::frame::Array maArray
;
145 explicit ScTableInfo();
149 ScTableInfo( const ScTableInfo
& );
150 ScTableInfo
& operator=( const ScTableInfo
& );
153 // ============================================================================