Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / include / embeddedobj / embeddedupdate.hxx
blob63e7bf4464c83ab4a313fbc0427c3505a35767ae
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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/.
8 */
10 #pragma once
12 #include <embeddedobj/embobjdllapi.h>
14 namespace com
16 namespace sun
18 namespace star
20 namespace embed
22 /** This class is only used to tell the OCommonEmbeddedObject class
23 that the following call is an Link- / Ole-refresh.
25 @since LibreOffice 7.4
27 class EMBOBJ_DLLPUBLIC SAL_LOPLUGIN_ANNOTATE("crosscast") EmbeddedUpdate
29 /** By "Refresh all" is used to perform an OLE update and a link update.
30 In the case of a link update, the class OCommonEmbeddedObject is
31 informed with true that a link update will take place next
33 @param bIsOleUpdate
34 what kind of update, when true is OLE-Object
35 when false is Link-Object
37 public:
38 virtual void SetOleState(bool bIsOleUpdate) = 0;
40 EmbeddedUpdate() = default;
41 virtual ~EmbeddedUpdate() = default;
43 private:
44 EmbeddedUpdate(const EmbeddedUpdate&) = delete;
45 EmbeddedUpdate& operator=(const EmbeddedUpdate&) = delete;
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */