| 1 |
/** |
| 2 |
* SPDX-FileCopyrightText: (C) 2010 Pierre Marchand <[email protected]> |
| 3 |
* SPDX-License-Identifier: GPL-2.0-or-later |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifndef BOXSETTER_H |
| 7 |
#define BOXSETTER_H |
| 8 |
|
| 9 |
#include <podofo/podofo.h> |
| 10 |
#include <string> |
| 11 |
|
| 12 |
class BoxSetter |
| 13 |
{ |
| 14 |
public: |
| 15 |
void SetBox(PoDoFo::PdfPage& page); |
| 16 |
bool CompareBox(const PoDoFo::Rect& rect1, const PoDoFo::Rect& rect2); |
| 17 |
BoxSetter(const std::string_view& in, const std::string_view& out, const std::string_view& box, const PoDoFo::Rect& rect); |
| 18 |
|
| 19 |
private: |
| 20 |
const std::string m_box; |
| 21 |
const PoDoFo::Rect m_rect; |
| 22 |
}; |
| 23 |
|
| 24 |
#endif // BOXSETTER_H |