7#ifndef FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_
8#define FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_
12#include "core/fxcrt/fx_string.h"
13#include "fxbarcode/BC_Library.h"
14#include "fxbarcode/oned/BC_OnedEANWriter.h"
16class CBC_OnedEAN13Writer;
30 int32_t
CalcChecksum(
const ByteString& contents)
override;
36 int32_t barWidth)
override;
38 std::unique_ptr<CBC_OnedEAN13Writer> m_subWriter;
bool CheckContentValidity(WideStringView contents) override
DataVector< uint8_t > Encode(const ByteString &contents) override
~CBC_OnedUPCAWriter() override
bool ShowChars(WideStringView contents, CFX_RenderDevice *device, const CFX_Matrix &matrix, int32_t barWidth) override
WideString FilterContents(WideStringView contents) override
void InitEANWriter() override
int32_t CalcChecksum(const ByteString &contents) override
BC_TYPE GetType() override
size_t GetMaxLength() const override