7#ifndef FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_
8#define FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_
12#include "core/fxcrt/fx_string.h"
13#include "fxbarcode/BC_Library.h"
14#include "fxbarcode/oned/BC_OnedEANWriter.h"
27 int32_t
CalcChecksum(
const ByteString& contents)
override;
33 int32_t barWidth)
override;
size_t GetMaxLength() const override
BC_TYPE GetType() override
CBC_EANCode(std::unique_ptr< CBC_OneDimEANWriter > pWriter)
WideString Preprocess(WideStringView contents)
bool RenderDevice(CFX_RenderDevice *device, const CFX_Matrix &matrix) override
bool Encode(WideStringView contents) override
WideString m_renderContents
virtual size_t GetMaxLength() const =0
CBC_OneDimEANWriter * GetOneDimEANWriter()
~CBC_OnedEAN13Writer() override
DataVector< uint8_t > Encode(const ByteString &contents) override
int32_t CalcChecksum(const ByteString &contents) override
WideString FilterContents(WideStringView contents) override
bool CheckContentValidity(WideStringView contents) override
bool ShowChars(WideStringView contents, CFX_RenderDevice *device, const CFX_Matrix &matrix, int32_t barWidth) override