| 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_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_ | 7 #ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_ | 
| 8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_ | 8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_ | 
| 9 | 9 | 
| 10 class CBC_OneDimWriter; | 10 class CBC_OneDimWriter; | 
| 11 class CBC_OnedCoda128Writer; |  | 
| 12 class CBC_OnedCode128Writer : public CBC_OneDimWriter { | 11 class CBC_OnedCode128Writer : public CBC_OneDimWriter { | 
| 13  public: | 12  public: | 
| 14   CBC_OnedCode128Writer(); | 13   CBC_OnedCode128Writer(); | 
| 15   CBC_OnedCode128Writer(BC_TYPE type); | 14   CBC_OnedCode128Writer(BC_TYPE type); | 
| 16   virtual ~CBC_OnedCode128Writer(); | 15   virtual ~CBC_OnedCode128Writer(); | 
| 17   uint8_t* Encode(const CFX_ByteString& contents, | 16   uint8_t* Encode(const CFX_ByteString& contents, | 
| 18                   BCFORMAT format, | 17                   BCFORMAT format, | 
| 19                   int32_t& outWidth, | 18                   int32_t& outWidth, | 
| 20                   int32_t& outHeight, | 19                   int32_t& outHeight, | 
| 21                   int32_t hints, | 20                   int32_t hints, | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
| 41   int32_t Encode128C(const CFX_ByteString& contents, CFX_PtrArray& patterns); | 40   int32_t Encode128C(const CFX_ByteString& contents, CFX_PtrArray& patterns); | 
| 42   BC_TYPE m_codeFormat; | 41   BC_TYPE m_codeFormat; | 
| 43   const static int32_t CODE_START_B; | 42   const static int32_t CODE_START_B; | 
| 44   const static int32_t CODE_START_C; | 43   const static int32_t CODE_START_C; | 
| 45   const static int32_t CODE_CODE_B; | 44   const static int32_t CODE_CODE_B; | 
| 46   const static int32_t CODE_CODE_C; | 45   const static int32_t CODE_CODE_C; | 
| 47   const static int32_t CODE_STOP; | 46   const static int32_t CODE_STOP; | 
| 48 }; | 47 }; | 
| 49 | 48 | 
| 50 #endif  // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_ | 49 #endif  // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_ | 
| OLD | NEW | 
|---|