| 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_SRC_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ | 7 #ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ |
| 8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ | 8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ |
| 9 | 9 |
| 10 enum BC_TEXT_LOC; | 10 enum BC_TEXT_LOC; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 FX_BOOL SetTextLocation(BC_TEXT_LOC location); | 37 FX_BOOL SetTextLocation(BC_TEXT_LOC location); |
| 38 FX_BOOL SetWideNarrowRatio(int32_t ratio); | 38 FX_BOOL SetWideNarrowRatio(int32_t ratio); |
| 39 FX_BOOL FindChar(FX_WCHAR ch, FX_BOOL isContent); | 39 FX_BOOL FindChar(FX_WCHAR ch, FX_BOOL isContent); |
| 40 | 40 |
| 41 private: | 41 private: |
| 42 void RenderResult(const CFX_WideStringC& contents, | 42 void RenderResult(const CFX_WideStringC& contents, |
| 43 uint8_t* code, | 43 uint8_t* code, |
| 44 int32_t codeLength, | 44 int32_t codeLength, |
| 45 FX_BOOL isDevice, | 45 FX_BOOL isDevice, |
| 46 int32_t& e); | 46 int32_t& e); |
| 47 const static FX_CHAR START_END_CHARS[]; | 47 static const FX_CHAR START_END_CHARS[]; |
| 48 const static FX_CHAR CONTENT_CHARS[]; | 48 static const FX_CHAR CONTENT_CHARS[]; |
| 49 FX_CHAR m_chStart; | 49 FX_CHAR m_chStart; |
| 50 FX_CHAR m_chEnd; | 50 FX_CHAR m_chEnd; |
| 51 int32_t m_iWideNarrRatio; | 51 int32_t m_iWideNarrRatio; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 #endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ | 54 #endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ |
| OLD | NEW |