4#ifndef PDF_TEXT_STATE_H
5#define PDF_TEXT_STATE_H
8#include <podofo/auxiliary/Matrix.h>
15 struct PODOFO_API PdfTextState final
23 std::vector<std::string> SplitTextAsLines(
const std::string_view& str,
double width,
bool preserveTrailingSpaces =
false)
const;
25 const PdfFont* Font =
nullptr;
28 double CharSpacing = 0;
29 double WordSpacing = 0;
This file should be included as the FIRST file in every header of PoDoFo lib.
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13
PdfTextRenderingMode
Enum for text rendering mode (Tr)
Definition PdfDeclarations.h:364