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_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ |
8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ |
9 | 9 |
10 #include "xfa/fwl/basewidget/ifwl_barcode.h" | 10 #include "xfa/fwl/basewidget/ifwl_barcode.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 virtual int32_t GetWideNarrowRatio() { return m_nWideNarrowRatio; } | 101 virtual int32_t GetWideNarrowRatio() { return m_nWideNarrowRatio; } |
102 FX_CHAR m_cStartChar, m_cEndChar; | 102 FX_CHAR m_cStartChar, m_cEndChar; |
103 virtual FX_CHAR GetStartChar() { return m_cStartChar; } | 103 virtual FX_CHAR GetStartChar() { return m_cStartChar; } |
104 virtual FX_CHAR GetEndChar() { return m_cEndChar; } | 104 virtual FX_CHAR GetEndChar() { return m_cEndChar; } |
105 int32_t m_nVersion; | 105 int32_t m_nVersion; |
106 virtual int32_t GetVersion() { return m_nVersion; } | 106 virtual int32_t GetVersion() { return m_nVersion; } |
107 int32_t m_nECLevel; | 107 int32_t m_nECLevel; |
108 virtual int32_t GetErrorCorrectionLevel() { return m_nECLevel; } | 108 virtual int32_t GetErrorCorrectionLevel() { return m_nECLevel; } |
109 FX_BOOL m_bTruncated; | 109 FX_BOOL m_bTruncated; |
110 virtual FX_BOOL GetTruncated() { return m_bTruncated; } | 110 virtual FX_BOOL GetTruncated() { return m_bTruncated; } |
111 FX_DWORD m_dwAttributeMask; | 111 uint32_t m_dwAttributeMask; |
112 virtual FX_DWORD GetBarcodeAttributeMask() { return m_dwAttributeMask; } | 112 virtual uint32_t GetBarcodeAttributeMask() { return m_dwAttributeMask; } |
113 | 113 |
114 public: | 114 public: |
115 CFWL_BarcodeDP() : m_dwAttributeMask(0) {} | 115 CFWL_BarcodeDP() : m_dwAttributeMask(0) {} |
116 }; | 116 }; |
117 CFWL_BarcodeDP m_barcodeData; | 117 CFWL_BarcodeDP m_barcodeData; |
118 }; | 118 }; |
119 | 119 |
120 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ | 120 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ |
OLD | NEW |