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