swtblfmt.hxx (1d2dbeb0) swtblfmt.hxx (28160478)
1/**************************************************************
1/**************************************************************
2 *
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
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 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
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.
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 *
19 *
20 *************************************************************/
21
22
23#ifndef _SWTBLFMT_HXX
24#define _SWTBLFMT_HXX
25
26#include <frmfmt.hxx>
27
28class SwDoc;
29
30class SW_DLLPUBLIC SwTableFmt : public SwFrmFmt
31{
20 *************************************************************/
21
22
23#ifndef _SWTBLFMT_HXX
24#define _SWTBLFMT_HXX
25
26#include <frmfmt.hxx>
27
28class SwDoc;
29
30class SW_DLLPUBLIC SwTableFmt : public SwFrmFmt
31{
32 friend class SwDoc;
32 friend class SwDoc;
33
34protected:
33
34protected:
35 SwTableFmt( SwAttrPool& rPool, const sal_Char* pFmtNm,
36 SwFrmFmt *pDrvdFrm )
37 : SwFrmFmt( rPool, pFmtNm, pDrvdFrm, RES_FRMFMT, aTableSetRange )
38 {}
39 SwTableFmt( SwAttrPool& rPool, const String &rFmtNm,
40 SwFrmFmt *pDrvdFrm )
41 : SwFrmFmt( rPool, rFmtNm, pDrvdFrm, RES_FRMFMT, aTableSetRange )
42 {}
35 //UUUU
36 SwTableFmt(SwAttrPool& rPool,const sal_Char* pFmtNm, SwFrmFmt *pDrvdFrm);
37 SwTableFmt(SwAttrPool& rPool,const String &rFmtNm, SwFrmFmt *pDrvdFrm);
43
38
44
45public:
39public:
46 TYPEINFO(); //Bereits in Basisklasse Client drin.
40 TYPEINFO(); //Bereits in Basisklasse Client drin.
41 //UUUU
42 virtual ~SwTableFmt();
47
43
48 DECL_FIXEDMEMPOOL_NEWDEL(SwTableFmt)
44 //UUUU
45 virtual bool supportsFullDrawingLayerFillAttributeSet() const;
46
47 DECL_FIXEDMEMPOOL_NEWDEL(SwTableFmt)
49};
50
51class SwTableLineFmt : public SwFrmFmt
52{
48};
49
50class SwTableLineFmt : public SwFrmFmt
51{
53 friend class SwDoc;
52 friend class SwDoc;
54
55protected:
53
54protected:
56 SwTableLineFmt( SwAttrPool& rPool, const sal_Char* pFmtNm,
57 SwFrmFmt *pDrvdFrm )
58 : SwFrmFmt( rPool, pFmtNm, pDrvdFrm, RES_FRMFMT, aTableLineSetRange )
59 {}
60 SwTableLineFmt( SwAttrPool& rPool, const String &rFmtNm,
61 SwFrmFmt *pDrvdFrm )
62 : SwFrmFmt( rPool, rFmtNm, pDrvdFrm, RES_FRMFMT, aTableLineSetRange )
63 {}
55 //UUUU
56 SwTableLineFmt(SwAttrPool& rPool,const sal_Char* pFmtNm, SwFrmFmt *pDrvdFrm);
57 SwTableLineFmt(SwAttrPool& rPool,const String &rFmtNm, SwFrmFmt *pDrvdFrm);
64
65public:
58
59public:
66 TYPEINFO(); //Bereits in Basisklasse Client drin.
60 TYPEINFO(); //Bereits in Basisklasse Client drin.
61 //UUUU
62 virtual ~SwTableLineFmt();
67
63
68 DECL_FIXEDMEMPOOL_NEWDEL(SwTableLineFmt)
64 //UUUU
65 virtual bool supportsFullDrawingLayerFillAttributeSet() const;
66
67 DECL_FIXEDMEMPOOL_NEWDEL(SwTableLineFmt)
69};
70
71class SW_DLLPUBLIC SwTableBoxFmt : public SwFrmFmt
72{
68};
69
70class SW_DLLPUBLIC SwTableBoxFmt : public SwFrmFmt
71{
73 friend class SwDoc;
72 friend class SwDoc;
74
75protected:
73
74protected:
76 SwTableBoxFmt( SwAttrPool& rPool, const sal_Char* pFmtNm,
77 SwFrmFmt *pDrvdFrm )
78 : SwFrmFmt( rPool, pFmtNm, pDrvdFrm, RES_FRMFMT, aTableBoxSetRange )
79 {}
80 SwTableBoxFmt( SwAttrPool& rPool, const String &rFmtNm,
81 SwFrmFmt *pDrvdFrm )
82 : SwFrmFmt( rPool, rFmtNm, pDrvdFrm, RES_FRMFMT, aTableBoxSetRange )
83 {}
75 //UUUU
76 SwTableBoxFmt(SwAttrPool& rPool,const sal_Char* pFmtNm, SwFrmFmt *pDrvdFrm);
77 SwTableBoxFmt(SwAttrPool& rPool,const String &rFmtNm, SwFrmFmt *pDrvdFrm);
84
78
85 // zum Erkennen von Veraenderungen (haupts. TableBoxAttribute)
86 virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNewValue );
79 // zum Erkennen von Veraenderungen (haupts. TableBoxAttribute)
80 virtual void Modify(const SfxPoolItem* pOld,const SfxPoolItem* pNewValue);
87
88public:
81
82public:
89 TYPEINFO(); //Bereits in Basisklasse Client drin.
83 TYPEINFO(); //Bereits in Basisklasse Client drin.
84 //UUUU
85 virtual ~SwTableBoxFmt();
90
86
91 DECL_FIXEDMEMPOOL_NEWDEL(SwTableBoxFmt)
87 //UUUU
88 virtual bool supportsFullDrawingLayerFillAttributeSet() const;
89
90 DECL_FIXEDMEMPOOL_NEWDEL(SwTableBoxFmt)
92};
93
94
95#endif
91};
92
93
94#endif