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_FWL_CORE_CFWL_BARCODE_H_ | 7 #ifndef XFA_FWL_CORE_CFWL_BARCODE_H_ |
8 #define XFA_FWL_CORE_CFWL_BARCODE_H_ | 8 #define XFA_FWL_CORE_CFWL_BARCODE_H_ |
9 | 9 |
10 #include "xfa/fwl/core/cfwl_edit.h" | 10 #include "xfa/fwl/core/cfwl_edit.h" |
11 #include "xfa/fwl/core/fwl_error.h" | 11 #include "xfa/fwl/core/fwl_error.h" |
12 #include "xfa/fwl/core/ifwl_barcode.h" | 12 #include "xfa/fwl/core/ifwl_barcode.h" |
13 | 13 |
14 class CFWL_Barcode : public CFWL_Edit, public IFWL_Barcode::DataProvider { | 14 class CFWL_Barcode : public CFWL_Edit, public IFWL_Barcode::DataProvider { |
15 public: | 15 public: |
16 explicit CFWL_Barcode(const IFWL_App* pApp); | 16 explicit CFWL_Barcode(const CFWL_App* pApp); |
17 ~CFWL_Barcode() override; | 17 ~CFWL_Barcode() override; |
18 | 18 |
19 void Initialize(); | 19 void Initialize(); |
20 | 20 |
21 // IFWL_Barcode::DataProvider | 21 // IFWL_Barcode::DataProvider |
22 BC_CHAR_ENCODING GetCharEncoding() const override; | 22 BC_CHAR_ENCODING GetCharEncoding() const override; |
23 int32_t GetModuleHeight() const override; | 23 int32_t GetModuleHeight() const override; |
24 int32_t GetModuleWidth() const override; | 24 int32_t GetModuleWidth() const override; |
25 int32_t GetDataLength() const override; | 25 int32_t GetDataLength() const override; |
26 bool GetCalChecksum() const override; | 26 bool GetCalChecksum() const override; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 BC_TEXT_LOC m_eTextLocation; | 60 BC_TEXT_LOC m_eTextLocation; |
61 int32_t m_nWideNarrowRatio; | 61 int32_t m_nWideNarrowRatio; |
62 FX_CHAR m_cStartChar; | 62 FX_CHAR m_cStartChar; |
63 FX_CHAR m_cEndChar; | 63 FX_CHAR m_cEndChar; |
64 int32_t m_nECLevel; | 64 int32_t m_nECLevel; |
65 bool m_bTruncated; | 65 bool m_bTruncated; |
66 uint32_t m_dwAttributeMask; | 66 uint32_t m_dwAttributeMask; |
67 }; | 67 }; |
68 | 68 |
69 #endif // XFA_FWL_CORE_CFWL_BARCODE_H_ | 69 #endif // XFA_FWL_CORE_CFWL_BARCODE_H_ |
OLD | NEW |