7#ifndef FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_
8#define FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_
14#include "core/fxcrt/fx_string.h"
15#include "fxbarcode/BC_Library.h"
16#include "fxbarcode/oned/BC_OneDimWriter.h"
24 static int32_t
Encode128B(
const ByteString& contents,
25 std::vector<int32_t>* patterns);
26 static int32_t
Encode128C(
const ByteString& contents,
27 std::vector<int32_t>* patterns);
BC_TYPE GetType() override
bool RenderDevice(CFX_RenderDevice *device, const CFX_Matrix &matrix) override
bool Encode(WideStringView contents) override
CBC_Code128(BC_TYPE type)
static int32_t Encode128B(const ByteString &contents, std::vector< int32_t > *patterns)
WideString FilterContents(WideStringView contents) override
bool CheckContentValidity(WideStringView contents) override
static int32_t Encode128C(const ByteString &contents, std::vector< int32_t > *patterns)
~CBC_OnedCode128Writer() override
DataVector< uint8_t > Encode(const ByteString &contents) override
CBC_OnedCode128Writer(BC_TYPE type)
void SetTextLocation(BC_TEXT_LOC location) override
WideString & operator+=(wchar_t ch)