| 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_BASEWIDGET_IFWL_BARCODE_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ |
| 8 #define XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ | 8 #define XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ |
| 9 | 9 |
| 10 #include "xfa/fxbarcode/include/BC_Library.h" | 10 #include "xfa/fxbarcode/include/BC_Library.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 virtual int32_t GetDataLength() = 0; | 40 virtual int32_t GetDataLength() = 0; |
| 41 virtual int32_t GetCalChecksum() = 0; | 41 virtual int32_t GetCalChecksum() = 0; |
| 42 virtual FX_BOOL GetPrintChecksum() = 0; | 42 virtual FX_BOOL GetPrintChecksum() = 0; |
| 43 virtual BC_TEXT_LOC GetTextLocation() = 0; | 43 virtual BC_TEXT_LOC GetTextLocation() = 0; |
| 44 virtual int32_t GetWideNarrowRatio() = 0; | 44 virtual int32_t GetWideNarrowRatio() = 0; |
| 45 virtual FX_CHAR GetStartChar() = 0; | 45 virtual FX_CHAR GetStartChar() = 0; |
| 46 virtual FX_CHAR GetEndChar() = 0; | 46 virtual FX_CHAR GetEndChar() = 0; |
| 47 virtual int32_t GetVersion() = 0; | 47 virtual int32_t GetVersion() = 0; |
| 48 virtual int32_t GetErrorCorrectionLevel() = 0; | 48 virtual int32_t GetErrorCorrectionLevel() = 0; |
| 49 virtual FX_BOOL GetTruncated() = 0; | 49 virtual FX_BOOL GetTruncated() = 0; |
| 50 virtual FX_DWORD GetBarcodeAttributeMask() = 0; | 50 virtual uint32_t GetBarcodeAttributeMask() = 0; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 class IFWL_Barcode : public IFWL_Edit { | 53 class IFWL_Barcode : public IFWL_Edit { |
| 54 public: | 54 public: |
| 55 static IFWL_Barcode* Create(const CFWL_WidgetImpProperties& properties); | 55 static IFWL_Barcode* Create(const CFWL_WidgetImpProperties& properties); |
| 56 void SetType(BC_TYPE type); | 56 void SetType(BC_TYPE type); |
| 57 FX_BOOL IsProtectedType(); | 57 FX_BOOL IsProtectedType(); |
| 58 | 58 |
| 59 protected: | 59 protected: |
| 60 IFWL_Barcode(); | 60 IFWL_Barcode(); |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 #endif // XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ | 63 #endif // XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ |
| OLD | NEW |