| 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" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 void SetTextLocation(BC_TEXT_LOC location); | 30 void SetTextLocation(BC_TEXT_LOC location); |
| 31 void SetWideNarrowRatio(int32_t ratio); | 31 void SetWideNarrowRatio(int32_t ratio); |
| 32 void SetStartChar(FX_CHAR startChar); | 32 void SetStartChar(FX_CHAR startChar); |
| 33 void SetEndChar(FX_CHAR endChar); | 33 void SetEndChar(FX_CHAR endChar); |
| 34 void SetVersion(int32_t version); | 34 void SetVersion(int32_t version); |
| 35 void SetErrorCorrectionLevel(int32_t ecLevel); | 35 void SetErrorCorrectionLevel(int32_t ecLevel); |
| 36 void SetTruncated(bool truncated); | 36 void SetTruncated(bool truncated); |
| 37 void ResetBarcodeAttributes(); | 37 void ResetBarcodeAttributes(); |
| 38 | 38 |
| 39 // IFWL_DataProvider | 39 // IFWL_DataProvider |
| 40 FWL_Error GetCaption(IFWL_Widget* pWidget, | 40 void GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) override; |
| 41 CFX_WideString& wsCaption) override; | |
| 42 | 41 |
| 43 // IFWL_BarcodeDP | 42 // IFWL_BarcodeDP |
| 44 BC_CHAR_ENCODING GetCharEncoding() const override; | 43 BC_CHAR_ENCODING GetCharEncoding() const override; |
| 45 int32_t GetModuleHeight() const override; | 44 int32_t GetModuleHeight() const override; |
| 46 int32_t GetModuleWidth() const override; | 45 int32_t GetModuleWidth() const override; |
| 47 int32_t GetDataLength() const override; | 46 int32_t GetDataLength() const override; |
| 48 bool GetCalChecksum() const override; | 47 bool GetCalChecksum() const override; |
| 49 bool GetPrintChecksum() const override; | 48 bool GetPrintChecksum() const override; |
| 50 BC_TEXT_LOC GetTextLocation() const override; | 49 BC_TEXT_LOC GetTextLocation() const override; |
| 51 int32_t GetWideNarrowRatio() const override; | 50 int32_t GetWideNarrowRatio() const override; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 67 int32_t m_nWideNarrowRatio; | 66 int32_t m_nWideNarrowRatio; |
| 68 FX_CHAR m_cStartChar; | 67 FX_CHAR m_cStartChar; |
| 69 FX_CHAR m_cEndChar; | 68 FX_CHAR m_cEndChar; |
| 70 int32_t m_nVersion; | 69 int32_t m_nVersion; |
| 71 int32_t m_nECLevel; | 70 int32_t m_nECLevel; |
| 72 bool m_bTruncated; | 71 bool m_bTruncated; |
| 73 uint32_t m_dwAttributeMask; | 72 uint32_t m_dwAttributeMask; |
| 74 }; | 73 }; |
| 75 | 74 |
| 76 #endif // XFA_FWL_CORE_CFWL_BARCODE_H_ | 75 #endif // XFA_FWL_CORE_CFWL_BARCODE_H_ |
| OLD | NEW |