7#ifndef FXBARCODE_CBC_EANCODE_H_
8#define FXBARCODE_CBC_EANCODE_H_
12#include "core/fxcrt/widestring.h"
13#include "fxbarcode/cbc_onecode.h"
19 explicit CBC_EANCode(std::unique_ptr<CBC_OneDimEANWriter> pWriter);
25 bool Encode(WideStringView contents)
override;
31 WideString
Preprocess(WideStringView contents);
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()