7#ifndef FXBARCODE_PDF417_BC_PDF417ERRORCORRECTION_H_
8#define FXBARCODE_PDF417_BC_PDF417ERRORCORRECTION_H_
12#include "core/fxcrt/widestring.h"
13#include "third_party/abseil-cpp/absl/types/optional.h"
22 const WideString& dataCodewords,
23 int32_t errorCorrectionLevel);
CBC_BarcodeRow * getRow(size_t row) const
DataVector< uint8_t > toBitArray()
CBC_BarcodeMatrix(size_t width, size_t height)
void AddBar(bool black, size_t width)
CBC_BarcodeRow(size_t width)
pdfium::span< const uint8_t > GetRow() const
~CBC_PDF417ErrorCorrection()=delete
static absl::optional< WideString > GenerateErrorCorrection(const WideString &dataCodewords, int32_t errorCorrectionLevel)
CBC_PDF417ErrorCorrection()=delete
static int32_t GetErrorCorrectionCodewordCount(int32_t errorCorrectionLevel)
void setDimensions(int32_t maxCols, int32_t minCols, int32_t maxRows, int32_t minRows)
bool GenerateBarcodeLogic(WideStringView msg, int32_t errorCorrectionLevel)
CBC_BarcodeMatrix * getBarcodeMatrix()
WideString & operator+=(wchar_t ch)
CharType operator[](const size_t index) const
WideString(const WideString &other)