bump product version to 4.1.6.2
[LibreOffice.git] / sd / source / ui / docshell / grdocsh.cxx
blob836480067f91b62d612ee2567c59a8eb947f2ee8
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 #include <svx/svxids.hrc>
22 #include <sfx2/app.hxx>
23 #include <svl/srchitem.hxx>
24 #include <tools/globname.hxx>
26 #include <comphelper/classids.hxx>
28 #include <sfx2/objface.hxx>
31 #include "app.hrc"
32 #include "strings.hrc"
33 #include "glob.hrc"
34 #include "GraphicDocShell.hxx"
35 #include "DrawDocShell.hxx"
36 #include "drawdoc.hxx"
37 #include "sdresid.hxx"
39 using namespace sd;
40 #define GraphicDocShell
41 #include "sdgslots.hxx"
43 namespace sd
45 TYPEINIT1(GraphicDocShell, DrawDocShell);
47 SFX_IMPL_INTERFACE(GraphicDocShell, SfxObjectShell, SdResId(0))
49 SFX_CHILDWINDOW_REGISTRATION(SID_SEARCH_DLG);
52 SFX_IMPL_OBJECTFACTORY( GraphicDocShell, SvGlobalName(SO3_SDRAW_CLASSID_60), SFXOBJECTSHELL_STD_NORMAL, "sdraw" )
54 GraphicDocShell::GraphicDocShell(SfxObjectCreateMode eMode,
55 sal_Bool bDataObject,
56 DocumentType eDocType) :
57 DrawDocShell(eMode, bDataObject, eDocType)
59 SetStyleFamily( SD_STYLE_FAMILY_GRAPHICS );
62 GraphicDocShell::GraphicDocShell(const sal_uInt64 nModelCreationFlags,
63 sal_Bool bDataObject,
64 DocumentType eDocType) :
65 DrawDocShell(nModelCreationFlags, bDataObject, eDocType)
67 SetStyleFamily( SD_STYLE_FAMILY_GRAPHICS );
70 GraphicDocShell::~GraphicDocShell()
75 } // end of namespace sd
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */