OpenXLSX 1.9.1
Loading...
Searching...
No Matches
XLImageOptions.hpp
Go to the documentation of this file.
1#ifndef OPENXLSX_XLIMAGEOPTIONS_HPP
2#define OPENXLSX_XLIMAGEOPTIONS_HPP
3
4#include <cstdint>
5#include <string>
6
7namespace OpenXLSX
8{
9
13 enum class XLImagePositioning {
14 OneCell,
15 TwoCell,
17 };
18
23 {
24 double scaleX{1.0};
25 double scaleY{1.0};
27 int32_t offsetX{0};
28 int32_t offsetY{0};
32 std::string bottomRightCell{
33 ""};
35 bool printWithSheet{true};
36 bool locked{false};
37 };
38
39} // namespace OpenXLSX
40
41#endif // OPENXLSX_XLIMAGEOPTIONS_HPP
Definition IZipArchive.hpp:18
XLImagePositioning
Determines how an image behaves when cells are resized or inserted/deleted.
Definition XLImageOptions.hpp:13
Options for inserting an image into a worksheet.
Definition XLImageOptions.hpp:23
double scaleY
Definition XLImageOptions.hpp:25
bool locked
Definition XLImageOptions.hpp:36
std::string bottomRightCell
Definition XLImageOptions.hpp:32
int32_t offsetY
Definition XLImageOptions.hpp:28
XLImagePositioning positioning
Definition XLImageOptions.hpp:30
int32_t offsetX
Definition XLImageOptions.hpp:27
bool printWithSheet
Definition XLImageOptions.hpp:35
double scaleX
Definition XLImageOptions.hpp:24