7 #ifndef PDF_ENCODING_COMMON_H
8 #define PDF_ENCODING_COMMON_H
24 unsigned char CodeSpaceSize;
32 PdfCharCode(
unsigned code,
unsigned char codeSpaceSize);
41 void AppendTo(std::string& str)
const;
42 void WriteHexTo(std::string& str,
bool wrap =
true)
const;
57 explicit PdfCID(
unsigned id);
67 struct PODOFO_API PdfEncodingLimits final
70 PdfEncodingLimits(
unsigned char minCodeSize,
unsigned char maxCodeSize,
80 bool AreValid()
const;
85 bool HaveValidCodeSizeRange()
const;
89 unsigned char MinCodeSize;
90 unsigned char MaxCodeSize;
103 return code.CodeSpaceSize << 24 | code.Code;
SPDX-FileCopyrightText: (C) 2005 Dominik Seichter domseichter@web.de SPDX-FileCopyrightText: (C) 2020...
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16
Represent a CID (Character ID) with full code unit information.
Definition: PdfEncodingCommon.h:48
A character code unit.
Definition: PdfEncodingCommon.h:20