1ff12d537SAndre Fischer /**************************************************************
2ff12d537SAndre Fischer  *
3ff12d537SAndre Fischer  * Licensed to the Apache Software Foundation (ASF) under one
4ff12d537SAndre Fischer  * or more contributor license agreements.  See the NOTICE file
5ff12d537SAndre Fischer  * distributed with this work for additional information
6ff12d537SAndre Fischer  * regarding copyright ownership.  The ASF licenses this file
7ff12d537SAndre Fischer  * to you under the Apache License, Version 2.0 (the
8ff12d537SAndre Fischer  * "License"); you may not use this file except in compliance
9ff12d537SAndre Fischer  * with the License.  You may obtain a copy of the License at
10ff12d537SAndre Fischer  *
11ff12d537SAndre Fischer  *   http://www.apache.org/licenses/LICENSE-2.0
12ff12d537SAndre Fischer  *
13ff12d537SAndre Fischer  * Unless required by applicable law or agreed to in writing,
14ff12d537SAndre Fischer  * software distributed under the License is distributed on an
15ff12d537SAndre Fischer  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16ff12d537SAndre Fischer  * KIND, either express or implied.  See the License for the
17ff12d537SAndre Fischer  * specific language governing permissions and limitations
18ff12d537SAndre Fischer  * under the License.
19ff12d537SAndre Fischer  *
20ff12d537SAndre Fischer  *************************************************************/
21ff12d537SAndre Fischer 
22ff12d537SAndre Fischer #include "precompiled_sfx2.hxx"
23ff12d537SAndre Fischer 
24ff12d537SAndre Fischer #include "PanelDescriptor.hxx"
25ff12d537SAndre Fischer 
26ff12d537SAndre Fischer 
27ff12d537SAndre Fischer namespace sfx2 { namespace sidebar {
28ff12d537SAndre Fischer 
PanelDescriptor(void)29ff12d537SAndre Fischer PanelDescriptor::PanelDescriptor (void)
30ff12d537SAndre Fischer     : msTitle(),
31ff12d537SAndre Fischer       mbIsTitleBarOptional(false),
32ff12d537SAndre Fischer       msId(),
33ff12d537SAndre Fischer       msDeckId(),
34*b358a5b6SAndre Fischer       msTitleBarIconURL(),
35*b358a5b6SAndre Fischer       msHighContrastTitleBarIconURL(),
36ff12d537SAndre Fischer       msHelpURL(),
37f120fe41SAndre Fischer       maContextList(),
3895a18594SAndre Fischer       msImplementationURL(),
397a32b0c8SAndre Fischer       mnOrderIndex(10000), // Default value as defined in Sidebar.xcs
40*b358a5b6SAndre Fischer       mbShowForReadOnlyDocuments(false),
417a32b0c8SAndre Fischer       mbWantsCanvas(false)
42ff12d537SAndre Fischer {
43ff12d537SAndre Fischer }
44ff12d537SAndre Fischer 
45ff12d537SAndre Fischer 
46ff12d537SAndre Fischer 
47ff12d537SAndre Fischer 
PanelDescriptor(const PanelDescriptor & rOther)48ff12d537SAndre Fischer PanelDescriptor::PanelDescriptor (const PanelDescriptor& rOther)
49ff12d537SAndre Fischer     : msTitle(rOther.msTitle),
50ff12d537SAndre Fischer       mbIsTitleBarOptional(rOther.mbIsTitleBarOptional),
51ff12d537SAndre Fischer       msId(rOther.msId),
52ff12d537SAndre Fischer       msDeckId(rOther.msDeckId),
53*b358a5b6SAndre Fischer       msTitleBarIconURL(rOther.msTitleBarIconURL),
54*b358a5b6SAndre Fischer       msHighContrastTitleBarIconURL(rOther.msHighContrastTitleBarIconURL),
55ff12d537SAndre Fischer       msHelpURL(rOther.msHelpURL),
56f120fe41SAndre Fischer       maContextList(rOther.maContextList),
5795a18594SAndre Fischer       msImplementationURL(rOther.msImplementationURL),
587a32b0c8SAndre Fischer       mnOrderIndex(rOther.mnOrderIndex),
59*b358a5b6SAndre Fischer       mbShowForReadOnlyDocuments(rOther.mbShowForReadOnlyDocuments),
607a32b0c8SAndre Fischer       mbWantsCanvas(rOther.mbWantsCanvas)
61ff12d537SAndre Fischer {
62ff12d537SAndre Fischer }
63ff12d537SAndre Fischer 
64ff12d537SAndre Fischer 
65ff12d537SAndre Fischer 
~PanelDescriptor(void)66ff12d537SAndre Fischer PanelDescriptor::~PanelDescriptor (void)
67ff12d537SAndre Fischer {
68ff12d537SAndre Fischer }
69ff12d537SAndre Fischer 
70ff12d537SAndre Fischer 
71ff12d537SAndre Fischer } } // end of namespace sfx2::sidebar
72