Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: xfa/fxbarcode/oned/BC_OnedEAN13Writer.h

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxbarcode/oned/BC_OnedCode39Writer.cpp ('k') | xfa/fxbarcode/oned/BC_OnedEAN13Writer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_ 7 #ifndef XFA_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_
8 #define XFA_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_ 8 #define XFA_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_
9 9
10 #include "core/fxcrt/fx_string.h" 10 #include "core/fxcrt/fx_string.h"
(...skipping 19 matching lines...) Expand all
30 int32_t& outWidth, 30 int32_t& outWidth,
31 int32_t& outHeight, 31 int32_t& outHeight,
32 int32_t hints, 32 int32_t hints,
33 int32_t& e) override; 33 int32_t& e) override;
34 uint8_t* Encode(const CFX_ByteString& contents, 34 uint8_t* Encode(const CFX_ByteString& contents,
35 int32_t& outLength, 35 int32_t& outLength,
36 int32_t& e) override; 36 int32_t& e) override;
37 void RenderResult(const CFX_WideStringC& contents, 37 void RenderResult(const CFX_WideStringC& contents,
38 uint8_t* code, 38 uint8_t* code,
39 int32_t codeLength, 39 int32_t codeLength,
40 FX_BOOL isDevice, 40 bool isDevice,
41 int32_t& e) override; 41 int32_t& e) override;
42 FX_BOOL CheckContentValidity(const CFX_WideStringC& contents) override; 42 bool CheckContentValidity(const CFX_WideStringC& contents) override;
43 CFX_WideString FilterContents(const CFX_WideStringC& contents) override; 43 CFX_WideString FilterContents(const CFX_WideStringC& contents) override;
44 44
45 int32_t CalcChecksum(const CFX_ByteString& contents); 45 int32_t CalcChecksum(const CFX_ByteString& contents);
46 46
47 protected: 47 protected:
48 void ShowChars(const CFX_WideStringC& contents, 48 void ShowChars(const CFX_WideStringC& contents,
49 CFX_DIBitmap* pOutBitmap, 49 CFX_DIBitmap* pOutBitmap,
50 CFX_RenderDevice* device, 50 CFX_RenderDevice* device,
51 const CFX_Matrix* matrix, 51 const CFX_Matrix* matrix,
52 int32_t barWidth, 52 int32_t barWidth,
53 int32_t multiple, 53 int32_t multiple,
54 int32_t& e) override; 54 int32_t& e) override;
55 55
56 private: 56 private:
57 int32_t m_codeWidth; 57 int32_t m_codeWidth;
58 }; 58 };
59 59
60 #endif // XFA_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_ 60 #endif // XFA_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/oned/BC_OnedCode39Writer.cpp ('k') | xfa/fxbarcode/oned/BC_OnedEAN13Writer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698