2010-10-27 12:53:26 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-21 14:30:25 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2004-01-20 10:30:16 +00:00
|
|
|
|
2013-10-23 22:38:46 +02:00
|
|
|
#ifndef INCLUDED_SD_SOURCE_UI_INC_CLIENT_HXX
|
|
|
|
#define INCLUDED_SD_SOURCE_UI_INC_CLIENT_HXX
|
2004-01-20 10:30:16 +00:00
|
|
|
|
2004-10-04 17:35:34 +00:00
|
|
|
#include <sfx2/ipclient.hxx>
|
2004-01-20 10:30:16 +00:00
|
|
|
class SdrOle2Obj;
|
|
|
|
|
|
|
|
namespace sd {
|
|
|
|
|
|
|
|
class ViewShell;
|
|
|
|
|
2004-10-04 17:35:34 +00:00
|
|
|
class Client : public SfxInPlaceClient
|
2004-01-20 10:30:16 +00:00
|
|
|
{
|
2018-10-08 16:12:06 +02:00
|
|
|
ViewShell* const mpViewShell;
|
2004-10-04 17:35:34 +00:00
|
|
|
SdrOle2Obj* pSdrOle2Obj;
|
|
|
|
|
2015-10-12 16:04:04 +02:00
|
|
|
virtual void ObjectAreaChanged() override;
|
2017-03-30 20:27:55 +02:00
|
|
|
virtual void RequestNewObjectArea( ::tools::Rectangle& ) override;
|
2015-10-12 16:04:04 +02:00
|
|
|
virtual void ViewChanged() override;
|
2004-10-04 17:35:34 +00:00
|
|
|
|
2004-01-20 10:30:16 +00:00
|
|
|
public:
|
2014-09-23 11:20:40 +02:00
|
|
|
Client (SdrOle2Obj* pObj, ViewShell* pSdViewShell, vcl::Window* pWindow);
|
2016-09-13 13:09:01 +02:00
|
|
|
virtual ~Client() override;
|
2004-01-20 10:30:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // end of namespace sd
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2010-10-27 12:53:26 +01:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|