xref: /aoo42x/main/basctl/source/dlged/dlgedmod.cxx (revision 31598a22)
1*31598a22SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*31598a22SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*31598a22SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*31598a22SAndrew Rist  * distributed with this work for additional information
6*31598a22SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*31598a22SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*31598a22SAndrew Rist  * "License"); you may not use this file except in compliance
9*31598a22SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*31598a22SAndrew Rist  *
11*31598a22SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*31598a22SAndrew Rist  *
13*31598a22SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*31598a22SAndrew Rist  * software distributed under the License is distributed on an
15*31598a22SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*31598a22SAndrew Rist  * KIND, either express or implied.  See the License for the
17*31598a22SAndrew Rist  * specific language governing permissions and limitations
18*31598a22SAndrew Rist  * under the License.
19*31598a22SAndrew Rist  *
20*31598a22SAndrew Rist  *************************************************************/
21*31598a22SAndrew Rist 
22*31598a22SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
25cdf0e10cSrcweir #include "precompiled_basctl.hxx"
26cdf0e10cSrcweir 
27cdf0e10cSrcweir 
28cdf0e10cSrcweir #include "dlgedmod.hxx"
29cdf0e10cSrcweir #include "dlgedpage.hxx"
30cdf0e10cSrcweir #include <tools/debug.hxx>
31cdf0e10cSrcweir 
32cdf0e10cSrcweir 
33cdf0e10cSrcweir DBG_NAME(DlgEdModel)
34cdf0e10cSrcweir 
35cdf0e10cSrcweir TYPEINIT1(DlgEdModel,SdrModel);
36cdf0e10cSrcweir 
37cdf0e10cSrcweir //----------------------------------------------------------------------------
38cdf0e10cSrcweir 
DlgEdModel()39cdf0e10cSrcweir DlgEdModel::DlgEdModel()
40cdf0e10cSrcweir     :SdrModel(NULL, NULL)
41cdf0e10cSrcweir {
42cdf0e10cSrcweir 	DBG_CTOR(DlgEdModel,0);
43cdf0e10cSrcweir }
44cdf0e10cSrcweir 
45cdf0e10cSrcweir //----------------------------------------------------------------------------
46cdf0e10cSrcweir 
~DlgEdModel()47cdf0e10cSrcweir DlgEdModel::~DlgEdModel()
48cdf0e10cSrcweir {
49cdf0e10cSrcweir 	DBG_DTOR(DlgEdModel,0);
50cdf0e10cSrcweir }
51cdf0e10cSrcweir 
52cdf0e10cSrcweir //----------------------------------------------------------------------------
53cdf0e10cSrcweir 
AllocPage(FASTBOOL bMasterPage)54cdf0e10cSrcweir SdrPage* DlgEdModel::AllocPage(FASTBOOL bMasterPage)
55cdf0e10cSrcweir {
56cdf0e10cSrcweir 	DBG_CHKTHIS(DlgEdModel, 0);
57cdf0e10cSrcweir 	return new DlgEdPage(*this, bMasterPage);
58cdf0e10cSrcweir }
59cdf0e10cSrcweir 
60cdf0e10cSrcweir //----------------------------------------------------------------------------
61cdf0e10cSrcweir 
DlgEdModelChanged(FASTBOOL bChanged)62cdf0e10cSrcweir void DlgEdModel::DlgEdModelChanged( FASTBOOL bChanged )
63cdf0e10cSrcweir {
64cdf0e10cSrcweir 	SetChanged( static_cast< sal_Bool > ( bChanged ) );
65cdf0e10cSrcweir }
66cdf0e10cSrcweir 
67cdf0e10cSrcweir //----------------------------------------------------------------------------
68cdf0e10cSrcweir 
GetCurDocViewWin()69cdf0e10cSrcweir Window* DlgEdModel::GetCurDocViewWin()
70cdf0e10cSrcweir {
71cdf0e10cSrcweir 	return 0;
72cdf0e10cSrcweir }
73cdf0e10cSrcweir 
74cdf0e10cSrcweir //----------------------------------------------------------------------------
75cdf0e10cSrcweir 
76