Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cbc_code39.h
Go to the documentation of this file.
1// Copyright 2016 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef FXBARCODE_CBC_CODE39_H_
8#define FXBARCODE_CBC_CODE39_H_
9
10#include "core/fxcrt/widestring.h"
11#include "fxbarcode/BC_Library.h"
12#include "fxbarcode/cbc_onecode.h"
13
14class CBC_OnedCode39Writer;
15class CFX_Matrix;
17
18class CBC_Code39 final : public CBC_OneCode {
19 public:
20 CBC_Code39();
21 ~CBC_Code39() override;
22
23 // CBC_OneCode:
24 BC_TYPE GetType() override;
25 bool Encode(WideStringView contents) override;
26 bool RenderDevice(CFX_RenderDevice* device,
27 const CFX_Matrix& matrix) override;
28
29 private:
30 CBC_OnedCode39Writer* GetOnedCode39Writer();
31
32 WideString m_renderContents;
33};
34
35#endif // FXBARCODE_CBC_CODE39_H_
BC_TYPE
Definition BC_Library.h:25
bool Encode(WideStringView contents) override
bool RenderDevice(CFX_RenderDevice *device, const CFX_Matrix &matrix) override
~CBC_Code39() override
BC_TYPE GetType() override
bool RenderDeviceResult(CFX_RenderDevice *device, const CFX_Matrix &matrix, WideStringView contents)
bool CheckContentValidity(WideStringView contents) override
WideString FilterContents(WideStringView contents) override
ByteString ToUTF8() const