xref: /trunk/main/sw/inc/swtblfmt.hxx (revision 281604784e60625d21d1c7650fc25a850d8cfa8f)
11d2dbeb0SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
31d2dbeb0SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
41d2dbeb0SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
51d2dbeb0SAndrew Rist  * distributed with this work for additional information
61d2dbeb0SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
71d2dbeb0SAndrew Rist  * to you under the Apache License, Version 2.0 (the
81d2dbeb0SAndrew Rist  * "License"); you may not use this file except in compliance
91d2dbeb0SAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
111d2dbeb0SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
131d2dbeb0SAndrew Rist  * Unless required by applicable law or agreed to in writing,
141d2dbeb0SAndrew Rist  * software distributed under the License is distributed on an
151d2dbeb0SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
161d2dbeb0SAndrew Rist  * KIND, either express or implied.  See the License for the
171d2dbeb0SAndrew Rist  * specific language governing permissions and limitations
181d2dbeb0SAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
201d2dbeb0SAndrew Rist  *************************************************************/
211d2dbeb0SAndrew Rist 
221d2dbeb0SAndrew Rist 
23cdf0e10cSrcweir #ifndef _SWTBLFMT_HXX
24cdf0e10cSrcweir #define _SWTBLFMT_HXX
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include <frmfmt.hxx>
27cdf0e10cSrcweir 
28cdf0e10cSrcweir class SwDoc;
29cdf0e10cSrcweir 
30cdf0e10cSrcweir class SW_DLLPUBLIC SwTableFmt : public SwFrmFmt
31cdf0e10cSrcweir {
32cdf0e10cSrcweir     friend class SwDoc;
33cdf0e10cSrcweir 
34cdf0e10cSrcweir protected:
35*28160478SArmin Le Grand     //UUUU
36*28160478SArmin Le Grand     SwTableFmt(SwAttrPool& rPool,const sal_Char* pFmtNm, SwFrmFmt *pDrvdFrm);
37*28160478SArmin Le Grand     SwTableFmt(SwAttrPool& rPool,const String &rFmtNm, SwFrmFmt *pDrvdFrm);
38cdf0e10cSrcweir 
39cdf0e10cSrcweir public:
40cdf0e10cSrcweir     TYPEINFO();     //Bereits in Basisklasse Client drin.
41*28160478SArmin Le Grand     //UUUU
42*28160478SArmin Le Grand     virtual ~SwTableFmt();
43*28160478SArmin Le Grand 
44*28160478SArmin Le Grand     //UUUU
45*28160478SArmin Le Grand     virtual bool supportsFullDrawingLayerFillAttributeSet() const;
46cdf0e10cSrcweir 
47cdf0e10cSrcweir     DECL_FIXEDMEMPOOL_NEWDEL(SwTableFmt)
48cdf0e10cSrcweir };
49cdf0e10cSrcweir 
50cdf0e10cSrcweir class SwTableLineFmt : public SwFrmFmt
51cdf0e10cSrcweir {
52cdf0e10cSrcweir     friend class SwDoc;
53cdf0e10cSrcweir 
54cdf0e10cSrcweir protected:
55*28160478SArmin Le Grand     //UUUU
56*28160478SArmin Le Grand     SwTableLineFmt(SwAttrPool& rPool,const sal_Char* pFmtNm, SwFrmFmt *pDrvdFrm);
57*28160478SArmin Le Grand     SwTableLineFmt(SwAttrPool& rPool,const String &rFmtNm, SwFrmFmt *pDrvdFrm);
58cdf0e10cSrcweir 
59cdf0e10cSrcweir public:
60cdf0e10cSrcweir     TYPEINFO();     //Bereits in Basisklasse Client drin.
61*28160478SArmin Le Grand     //UUUU
62*28160478SArmin Le Grand     virtual ~SwTableLineFmt();
63*28160478SArmin Le Grand 
64*28160478SArmin Le Grand     //UUUU
65*28160478SArmin Le Grand     virtual bool supportsFullDrawingLayerFillAttributeSet() const;
66cdf0e10cSrcweir 
67cdf0e10cSrcweir     DECL_FIXEDMEMPOOL_NEWDEL(SwTableLineFmt)
68cdf0e10cSrcweir };
69cdf0e10cSrcweir 
70cdf0e10cSrcweir class SW_DLLPUBLIC SwTableBoxFmt : public SwFrmFmt
71cdf0e10cSrcweir {
72cdf0e10cSrcweir     friend class SwDoc;
73cdf0e10cSrcweir 
74cdf0e10cSrcweir protected:
75*28160478SArmin Le Grand     //UUUU
76*28160478SArmin Le Grand     SwTableBoxFmt(SwAttrPool& rPool,const sal_Char* pFmtNm, SwFrmFmt *pDrvdFrm);
77*28160478SArmin Le Grand     SwTableBoxFmt(SwAttrPool& rPool,const String &rFmtNm, SwFrmFmt *pDrvdFrm);
78cdf0e10cSrcweir 
79cdf0e10cSrcweir     // zum Erkennen von Veraenderungen (haupts. TableBoxAttribute)
80cdf0e10cSrcweir     virtual void Modify(const SfxPoolItem* pOld,const SfxPoolItem* pNewValue);
81cdf0e10cSrcweir 
82cdf0e10cSrcweir public:
83cdf0e10cSrcweir     TYPEINFO();     //Bereits in Basisklasse Client drin.
84*28160478SArmin Le Grand     //UUUU
85*28160478SArmin Le Grand     virtual ~SwTableBoxFmt();
86*28160478SArmin Le Grand 
87*28160478SArmin Le Grand     //UUUU
88*28160478SArmin Le Grand     virtual bool supportsFullDrawingLayerFillAttributeSet() const;
89cdf0e10cSrcweir 
90cdf0e10cSrcweir     DECL_FIXEDMEMPOOL_NEWDEL(SwTableBoxFmt)
91cdf0e10cSrcweir };
92cdf0e10cSrcweir 
93cdf0e10cSrcweir 
94cdf0e10cSrcweir #endif
95