| 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_BarcodeDP { | 14 class CFWL_Barcode : public CFWL_Edit, public IFWL_BarcodeDP { |
| 15 public: | 15 public: |
| 16 explicit CFWL_Barcode(const IFWL_App* pApp); | 16 explicit CFWL_Barcode(const IFWL_App* pApp); |
| 17 ~CFWL_Barcode() override; | 17 ~CFWL_Barcode() override; |
| 18 | 18 |
| 19 void Initialize(); | 19 void Initialize(); |
| 20 | 20 |
| 21 // IFWL_DataProvider | 21 // IFWL_Widget::DataProvider |
| 22 void GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) override; | 22 void GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) override; |
| 23 | 23 |
| 24 // IFWL_BarcodeDP | 24 // IFWL_BarcodeDP |
| 25 BC_CHAR_ENCODING GetCharEncoding() const override; | 25 BC_CHAR_ENCODING GetCharEncoding() const override; |
| 26 int32_t GetModuleHeight() const override; | 26 int32_t GetModuleHeight() const override; |
| 27 int32_t GetModuleWidth() const override; | 27 int32_t GetModuleWidth() const override; |
| 28 int32_t GetDataLength() const override; | 28 int32_t GetDataLength() const override; |
| 29 bool GetCalChecksum() const override; | 29 bool GetCalChecksum() const override; |
| 30 bool GetPrintChecksum() const override; | 30 bool GetPrintChecksum() const override; |
| 31 BC_TEXT_LOC GetTextLocation() const override; | 31 BC_TEXT_LOC GetTextLocation() const override; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 BC_TEXT_LOC m_eTextLocation; | 63 BC_TEXT_LOC m_eTextLocation; |
| 64 int32_t m_nWideNarrowRatio; | 64 int32_t m_nWideNarrowRatio; |
| 65 FX_CHAR m_cStartChar; | 65 FX_CHAR m_cStartChar; |
| 66 FX_CHAR m_cEndChar; | 66 FX_CHAR m_cEndChar; |
| 67 int32_t m_nECLevel; | 67 int32_t m_nECLevel; |
| 68 bool m_bTruncated; | 68 bool m_bTruncated; |
| 69 uint32_t m_dwAttributeMask; | 69 uint32_t m_dwAttributeMask; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 #endif // XFA_FWL_CORE_CFWL_BARCODE_H_ | 72 #endif // XFA_FWL_CORE_CFWL_BARCODE_H_ |
| OLD | NEW |