Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
BC_ErrorCorrection.h
Go to the documentation of this file.
1// Copyright 2014 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef FXBARCODE_DATAMATRIX_BC_ERRORCORRECTION_H_
8#define FXBARCODE_DATAMATRIX_BC_ERRORCORRECTION_H_
9
10#include "core/fxcrt/widestring.h"
11
12class CBC_SymbolInfo;
13
15 public:
18
19 // Returns an empty string on failure.
20 static WideString EncodeECC200(const WideString& codewords,
21 const CBC_SymbolInfo* symbolInfo);
22};
23
24#endif // FXBARCODE_DATAMATRIX_BC_ERRORCORRECTION_H_
bool SetErrorCorrectionLevel(int32_t level) override
~CBC_DataMatrixWriter() override
DataVector< uint8_t > Encode(const WideString &contents, int32_t *pOutWidth, int32_t *pOutHeight)
bool GetBit(int32_t col, int32_t row) const
CBC_DefaultPlacement(WideString codewords, int32_t numcols, int32_t numrows)
~CBC_EdifactEncoder() override
CBC_HighLevelEncoder::Encoding GetEncodingMode() override
bool Encode(CBC_EncoderContext *context) override
CBC_ErrorCorrection()=delete
static WideString EncodeECC200(const WideString &codewords, const CBC_SymbolInfo *symbolInfo)
~CBC_ErrorCorrection()=delete
static WideString EncodeHighLevel(const WideString &msg)
int32_t GetSymbolDataHeight() const
int32_t GetSymbolWidth() const
int32_t GetSymbolHeight() const
int32_t matrix_height() const
int32_t GetSymbolDataWidth() const
int32_t matrix_width() const
void set_error_correction_level(int32_t level)
CBC_TwoDimWriter(bool bFixedSize)
bool IsEmpty() const
Definition widestring.h:118