| 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_CFX_BARCODE_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_CFX_BARCODE_H_ |
| 8 #define XFA_FWL_BASEWIDGET_CFX_BARCODE_H_ | 8 #define XFA_FWL_BASEWIDGET_CFX_BARCODE_H_ |
| 9 | 9 |
| 10 #include <memory> |
| 11 |
| 10 #include "core/fxcrt/include/fx_coordinates.h" | 12 #include "core/fxcrt/include/fx_coordinates.h" |
| 11 #include "core/fxcrt/include/fx_string.h" | 13 #include "core/fxcrt/include/fx_string.h" |
| 12 #include "core/fxcrt/include/fx_system.h" | 14 #include "core/fxcrt/include/fx_system.h" |
| 13 #include "core/fxge/include/fx_dib.h" | 15 #include "core/fxge/include/fx_dib.h" |
| 14 #include "xfa/fxbarcode/include/BC_Library.h" | 16 #include "xfa/fxbarcode/include/BC_Library.h" |
| 15 | 17 |
| 16 class CBC_CodeBase; | 18 class CBC_CodeBase; |
| 17 class CFX_Font; | 19 class CFX_Font; |
| 18 class CFX_RenderDevice; | 20 class CFX_RenderDevice; |
| 19 class CFX_Matrix; | 21 class CFX_Matrix; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 45 FX_BOOL SetFontColor(FX_ARGB color); | 47 FX_BOOL SetFontColor(FX_ARGB color); |
| 46 FX_BOOL SetTextLocation(BC_TEXT_LOC location); | 48 FX_BOOL SetTextLocation(BC_TEXT_LOC location); |
| 47 FX_BOOL SetWideNarrowRatio(int32_t ratio); | 49 FX_BOOL SetWideNarrowRatio(int32_t ratio); |
| 48 FX_BOOL SetStartChar(FX_CHAR start); | 50 FX_BOOL SetStartChar(FX_CHAR start); |
| 49 FX_BOOL SetEndChar(FX_CHAR end); | 51 FX_BOOL SetEndChar(FX_CHAR end); |
| 50 FX_BOOL SetVersion(int32_t version); | 52 FX_BOOL SetVersion(int32_t version); |
| 51 FX_BOOL SetErrorCorrectionLevel(int32_t level); | 53 FX_BOOL SetErrorCorrectionLevel(int32_t level); |
| 52 FX_BOOL SetTruncated(FX_BOOL truncated); | 54 FX_BOOL SetTruncated(FX_BOOL truncated); |
| 53 | 55 |
| 54 protected: | 56 protected: |
| 55 CBC_CodeBase* m_pBCEngine; | 57 std::unique_ptr<CBC_CodeBase> m_pBCEngine; |
| 56 }; | 58 }; |
| 57 | 59 |
| 58 #endif // XFA_FWL_BASEWIDGET_CFX_BARCODE_H_ | 60 #endif // XFA_FWL_BASEWIDGET_CFX_BARCODE_H_ |
| OLD | NEW |