OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_FXBARCODE_CBC_ONECODE_H_ | 7 #ifndef XFA_FXBARCODE_CBC_ONECODE_H_ |
8 #define XFA_FXBARCODE_CBC_ONECODE_H_ | 8 #define XFA_FXBARCODE_CBC_ONECODE_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
11 #include "core/include/fxcrt/fx_system.h" | 11 #include "core/fxcrt/include/fx_system.h" |
12 #include "xfa/fxbarcode/cbc_codebase.h" | 12 #include "xfa/fxbarcode/cbc_codebase.h" |
13 | 13 |
14 class CFX_DIBitmap; | 14 class CFX_DIBitmap; |
15 class CFX_Font; | 15 class CFX_Font; |
16 class CFX_RenderDevice; | 16 class CFX_RenderDevice; |
17 | 17 |
18 class CBC_OneCode : public CBC_CodeBase { | 18 class CBC_OneCode : public CBC_CodeBase { |
19 public: | 19 public: |
20 CBC_OneCode(); | 20 CBC_OneCode(); |
21 virtual ~CBC_OneCode(); | 21 virtual ~CBC_OneCode(); |
(...skipping 21 matching lines...) Expand all Loading... |
43 virtual void SetPrintChecksum(FX_BOOL checksum); | 43 virtual void SetPrintChecksum(FX_BOOL checksum); |
44 virtual void SetDataLength(int32_t length); | 44 virtual void SetDataLength(int32_t length); |
45 virtual void SetCalChecksum(FX_BOOL calc); | 45 virtual void SetCalChecksum(FX_BOOL calc); |
46 virtual FX_BOOL SetFont(CFX_Font* cFont); | 46 virtual FX_BOOL SetFont(CFX_Font* cFont); |
47 virtual void SetFontSize(FX_FLOAT size); | 47 virtual void SetFontSize(FX_FLOAT size); |
48 virtual void SetFontStyle(int32_t style); | 48 virtual void SetFontStyle(int32_t style); |
49 virtual void SetFontColor(FX_ARGB color); | 49 virtual void SetFontColor(FX_ARGB color); |
50 }; | 50 }; |
51 | 51 |
52 #endif // XFA_FXBARCODE_CBC_ONECODE_H_ | 52 #endif // XFA_FXBARCODE_CBC_ONECODE_H_ |
OLD | NEW |