OpenXLSX 1.12.1
Modern C++ Excel Library (Fork of OpenXLSX by Kenneth Troldal Balslev)
Loading...
Searching...
No Matches
XLImageOptions.hpp
Go to the documentation of this file.
1/*
2 * OpenXLSX-NX - Modern High-Performance C++ Excel Library
3 *
4 * Original work Copyright (c) 2018-2025, Kenneth Troldal Balslev and OpenXLSX contributors
5 * Modified work Copyright (c) 2026, Curry Tang and OpenXLSX-NX contributors
6 *
7 * Distributed under the BSD 3-Clause License.
8 * See LICENSE.md in the project root or https://opensource.org/licenses/BSD-3-Clause
9 */
10
11#ifndef OPENXLSX_XLIMAGEOPTIONS_HPP
12#define OPENXLSX_XLIMAGEOPTIONS_HPP
13
14#include <cstdint>
15#include <string>
16
17namespace OpenXLSX
18{
19
28
33 {
34 double scaleX{1.0};
35 double scaleY{1.0};
36
37 int32_t offsetX{0};
38 int32_t offsetY{0};
39
41
42 std::string bottomRightCell{
43 ""};
44
45 bool printWithSheet{true};
46 bool locked{false};
47 };
48
49} // namespace OpenXLSX
50
51#endif // OPENXLSX_XLIMAGEOPTIONS_HPP
Definition IXLCellProvider.hpp:24
XLImagePositioning
Determines how an image behaves when cells are resized or inserted/deleted.
Definition XLImageOptions.hpp:23
@ TwoCell
Definition XLImageOptions.hpp:25
@ OneCell
Definition XLImageOptions.hpp:24
@ Absolute
Definition XLImageOptions.hpp:26
Options for inserting an image into a worksheet.
Definition XLImageOptions.hpp:33
double scaleY
Definition XLImageOptions.hpp:35
bool locked
Definition XLImageOptions.hpp:46
std::string bottomRightCell
Definition XLImageOptions.hpp:42
int32_t offsetY
Definition XLImageOptions.hpp:38
XLImagePositioning positioning
Definition XLImageOptions.hpp:40
int32_t offsetX
Definition XLImageOptions.hpp:37
bool printWithSheet
Definition XLImageOptions.hpp:45
double scaleX
Definition XLImageOptions.hpp:34