7#ifndef FXBARCODE_ONED_BC_ONEDEAN8WRITER_H_
8#define FXBARCODE_ONED_BC_ONEDEAN8WRITER_H_
12#include "core/fxcrt/fx_string.h"
13#include "fxbarcode/BC_Library.h"
14#include "fxbarcode/oned/BC_OnedEANWriter.h"
30 int32_t
CalcChecksum(
const ByteString& contents)
override;
36 int32_t barWidth)
override;
38 static constexpr int32_t kDefaultCodeWidth = 3 + (7 * 4) + 5 + (7 * 4) + 3;
39 int32_t m_codeWidth = kDefaultCodeWidth;
BC_TYPE GetType() override
size_t GetMaxLength() const override
int32_t CalcChecksum(const ByteString &contents) override
bool ShowChars(WideStringView contents, CFX_RenderDevice *device, const CFX_Matrix &matrix, int32_t barWidth) override
~CBC_OnedEAN8Writer() override
bool CheckContentValidity(WideStringView contents) override
void SetTextLocation(BC_TEXT_LOC location) override
void SetDataLength(int32_t length) override
WideString FilterContents(WideStringView contents) override
DataVector< uint8_t > Encode(const ByteString &contents) override