Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / include / svtools / inetimg.hxx
blob1acee86b5d95991406765c08ab129030143002c6
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 .
19 #ifndef INCLUDED_SVTOOLS_INETIMG_HXX
20 #define INCLUDED_SVTOOLS_INETIMG_HXX
22 #include <tools/gen.hxx>
23 #include <sot/formats.hxx>
25 class SvData;
26 class SotDataObject;
29 class INetImage
31 OUString aImageURL;
32 OUString aTargetURL;
33 OUString aTargetFrame;
34 Size aSizePixel;
36 public:
37 INetImage(
38 const OUString& rImageURL,
39 const OUString& rTargetURL,
40 const OUString& rTargetFrame )
41 : aImageURL( rImageURL ),
42 aTargetURL( rTargetURL ),
43 aTargetFrame( rTargetFrame )
45 INetImage()
48 const OUString& GetImageURL() const { return aImageURL; }
49 const OUString& GetTargetURL() const { return aTargetURL; }
50 const OUString& GetTargetFrame() const { return aTargetFrame; }
52 // Im-/Export
53 void Write( SvStream& rOStm, SotClipboardFormatId nFormat ) const;
54 bool Read( SvStream& rIStm, SotClipboardFormatId nFormat );
57 #endif // INCLUDED_SVTOOLS_INETIMG_HXX
60 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */