OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_ONED_BC_ONEDCODABARWRITER_H_ | 7 #ifndef XFA_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ |
8 #define XFA_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ | 8 #define XFA_FXBARCODE_ONED_BC_ONEDCODABARWRITER_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/include/BC_Library.h" | 12 #include "xfa/fxbarcode/include/BC_Library.h" |
13 #include "xfa/fxbarcode/oned/BC_OneDimWriter.h" | 13 #include "xfa/fxbarcode/oned/BC_OneDimWriter.h" |
14 | 14 |
15 class CBC_OnedCodaBarWriter : public CBC_OneDimWriter { | 15 class CBC_OnedCodaBarWriter : public CBC_OneDimWriter { |
16 public: | 16 public: |
17 CBC_OnedCodaBarWriter(); | 17 CBC_OnedCodaBarWriter(); |
18 virtual ~CBC_OnedCodaBarWriter(); | 18 virtual ~CBC_OnedCodaBarWriter(); |
19 | 19 |
20 uint8_t* Encode(const CFX_ByteString& contents, | 20 uint8_t* Encode(const CFX_ByteString& contents, |
21 int32_t& outLength, | 21 int32_t& outLength, |
(...skipping 29 matching lines...) Expand all Loading... |
51 int32_t codeLength, | 51 int32_t codeLength, |
52 FX_BOOL isDevice, | 52 FX_BOOL isDevice, |
53 int32_t& e); | 53 int32_t& e); |
54 | 54 |
55 FX_CHAR m_chStart; | 55 FX_CHAR m_chStart; |
56 FX_CHAR m_chEnd; | 56 FX_CHAR m_chEnd; |
57 int32_t m_iWideNarrRatio; | 57 int32_t m_iWideNarrRatio; |
58 }; | 58 }; |
59 | 59 |
60 #endif // XFA_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ | 60 #endif // XFA_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ |
OLD | NEW |